From patchwork Sun Nov 25 21:19:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33CE21591 for ; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2235B298A2 for ; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16B1A298AC; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B22CF298A2 for ; Sun, 25 Nov 2018 21:22:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OoW2pPtB4DS0gWBiBvYZpG525h4spH3XoIISXMy9WVM=; b=kaM9W/eBNfah6C sayTCTNLmBtMJsDsm3sp89M5TMik1OcqZTtJxqEyB2ysxMs+O5c41wVJqU0THZn4Zx5mzRme/lqAx cLyFzxZfg8vRRYmmLhDdoAwIg0sGx4i5pCP+w3PRV14qK75vt+8MfixpluxE0EID49zp8VxfhhYdP p4U4/RD52TGTMiNxQD4fxToFTbVsk7wPGJMtw4L18jL93QbBKtXuZtFuUfsVQIekUZnd1CQgAAJDJ E0J9wqt7HuGtDNQgtEPNG9z4KC49uUeguhttFy9xdB4iYlClsaWD9GoII1qJtT0kTYv2h6HGcDj8b QxudXnKeb/eb1e5aa8XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qr-0006V8-TT; Sun, 25 Nov 2018 21:22:01 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pR-00053H-B4; Sun, 25 Nov 2018 21:20:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0I+uWKN4GS3+l65NpqS0JmEUsO4byaMbcY6AlhK07H0=; b=eVpu3JW1cEM0niw/dDf1f9gq86 yygnG9TrvwqVVlqYD0aDVhe5rBAD161eiNVlI/Yd+7NXaPZsU7ZSZd0BdBZlzTQ9uJmSJxR9J5vd3 MrcUEFgiynYpH7zap9/aFGZTzlG4xS0CjLyCjPXXQ15rbPqqOso5I5AQCFVCod/cT3kpCMYgM08FX aDXt9sLLD5zv5G31OR2aTKj5gR+LgULnqAzSsxA1mA5Vtu1Ud2GP7a/4E330F1Akcah1xADI4dkB0 n7kEybBgnCKYVJhUAjFulZ4ZI0GEumKRmDD/4KeasE7uGCQ+Uxs4WUtBpb5/j2L9n+GoVOUJLHRj7 zL/iOwpw==; Received: from mail-qt1-f196.google.com ([209.85.160.196]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pP-00028G-0T; Sun, 25 Nov 2018 21:20:31 +0000 Received: by mail-qt1-f196.google.com with SMTP id y20so15473893qtm.13; Sun, 25 Nov 2018 13:20:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=0I+uWKN4GS3+l65NpqS0JmEUsO4byaMbcY6AlhK07H0=; b=S5SxajN11nt/9yOn7NKAx2UiXy5YOZWIqqibO5iE8iJn3zx0hIXxWCXvAJpia65SYY j2friCFYAsQZ9LygZz++bQk7Zbud4VYhLIaODQw91+tNp10vS3SrRizMdz86ejwmVU5X hJ2zZDfqS7G1GUVUXciBe8qvBf6wsbI9CwubUBremyhhgVG3moPWd1L45yW6F9jBWE58 v5SM6eA8sOmXanTmtpKwbFx0kCzv3L2IQg2rSQEkUWh6zGFJnM+PrjOQgwaddDOp8YPm sVWGuuUw8Pe9IilNz2FY8KDZLKoXCsYte6VOA0jz5hoKYiII+z/JmDT21btQjnEsewdo ozoA== X-Gm-Message-State: AGRZ1gIa21p/R+nf/nEJRAD4FkHkAMCgI2y8b0zj7XCPx+lV55oVsorb FES2dka/5Dgj9IprvxuyOJg= X-Google-Smtp-Source: AFSGD/VyrfXG1zCyouLtc+1trJ7a4jJe26htoOZVOqbegObwHN0OYxggUWdpxqj9LnAD001l+l+ulA== X-Received: by 2002:aed:3fb1:: with SMTP id s46mr22756161qth.208.1543180820330; Sun, 25 Nov 2018 13:20:20 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id v32sm32303696qta.37.2018.11.25.13.20.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:19 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:13 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 10/13] ARM: dts: rv1108: Add UART DMA support Date: Sun, 25 Nov 2018 19:19:04 -0200 Message-Id: <20181125211907.9895-10-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_162031_064084_8D087BC6 X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index ce5509c4657b..7ef6d965871c 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -114,6 +114,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 6>, <&pdma 7>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; clock-names = "baudclk", "apb_pclk"; @@ -128,6 +130,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 4>, <&pdma 5>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; clock-names = "baudclk", "apb_pclk"; @@ -142,6 +146,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 2>, <&pdma 3>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; clock-names = "baudclk", "apb_pclk";