Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1432489ybh; Sun, 15 Mar 2020 02:52:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvI45use9utUFLsKggTjPZWUBi2mdy/4HfDUmAaqjSH8+hwQreM3k11r9ECDcsnw2TK44mk X-Received: by 2002:aca:4cc9:: with SMTP id z192mr13410448oia.134.1584265922958; Sun, 15 Mar 2020 02:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584265922; cv=none; d=google.com; s=arc-20160816; b=vdPlDHbQwOkAeStFjF5X/7Nhmmd3EjGexVUF40fnceHzN0DMAN1p9awf7WZH1hTft9 kzHm8am4mUUqkgO2wWM7WKPmSFDoi4aDRBRlAx8Aqj5u2XfrFp9Y7QIuf7cG6JD92RkA MaKgHuAEoEnCb2u+FmvYR7W8fLhFPNEzn7e8zXSjaPQcz8xUe2WbcM4ceOwDxcYEnzWX FFruu6WxV84NaDsQn3ft/xchekdMXQmpateZj43ZN7aCvW1Hg5U8ThWfRG72lPFcAyRF 3G/PhlQpz6shz7FXolFv18rdH/QxSczCvMDPyFw3zd/k+A24DdDFPi12gIBMV2Hs2mTa XU1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/ctNHOZ2REGM+nfrkc8gfKXruAybYvk6K3rw3y57saI=; b=cvvCBx7a9O0NyWSHi1s/d2GUADibtb8Nquptve9zWBisQcx44VvCrD5/mvogrfLzjk UpAsA5TY5Ef8Okg63YNOMVBhOrRMPEhywaq636/uO2fy4s7hH+vFyWA+niSopu1Jmwr2 EFplWBYJ7ikhgFduawNlEW48mqQ7Oak216iZX6sJ/Pgeip1k0bEN2u3slI4NsGTwAVj1 KrhwVY0lGWteEv9DJwhl+cpfvAjqVOqZsCRT541957R3XFKcEOzbFI90CvPO+JVUMfmr UeRMmR0hy49fKR4YJxcnYmaeDxTCqtUIxEMt4eApfV2fhbk7JzOTNz6DQjc/+XdbXVAP jBVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b110si241348otc.69.2020.03.15.02.51.50; Sun, 15 Mar 2020 02:52:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728172AbgCOJv3 (ORCPT + 99 others); Sun, 15 Mar 2020 05:51:29 -0400 Received: from www1102.sakura.ne.jp ([219.94.129.142]:63561 "EHLO www1102.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728108AbgCOJv3 (ORCPT ); Sun, 15 Mar 2020 05:51:29 -0400 Received: from fsav302.sakura.ne.jp (fsav302.sakura.ne.jp [153.120.85.133]) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 02F9pKNh006446; Sun, 15 Mar 2020 18:51:20 +0900 (JST) (envelope-from katsuhiro@katsuster.net) Received: from www1102.sakura.ne.jp (219.94.129.142) by fsav302.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav302.sakura.ne.jp); Sun, 15 Mar 2020 18:51:19 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav302.sakura.ne.jp) Received: from localhost.localdomain (121.252.232.153.ap.dti.ne.jp [153.232.252.121]) (authenticated bits=0) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 02F9pHI8006433 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Mar 2020 18:51:19 +0900 (JST) (envelope-from katsuhiro@katsuster.net) From: Katsuhiro Suzuki To: Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH] ARM: dts: rockchip: use DMA channels for UARTs for RK3288 Date: Sun, 15 Mar 2020 18:51:15 +0900 Message-Id: <20200315095115.10106-1-katsuhiro@katsuster.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enables to use DMAC for all UARTs that are connected to dmac_peri core for Rochchip RK3288. Only uart2 is connected different DMAC (dmac_bus_s) so keep current settings on this patch. Signed-off-by: Katsuhiro Suzuki --- arch/arm/boot/dts/rk3288.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 8bcb4a51682e..e9f8a44f5f2a 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -420,6 +420,8 @@ uart0: serial@ff180000 { reg-io-width = <4>; clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac_peri 1>, <&dmac_peri 2>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer>; status = "disabled"; @@ -433,6 +435,8 @@ uart1: serial@ff190000 { reg-io-width = <4>; clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac_peri 3>, <&dmac_peri 4>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&uart1_xfer>; status = "disabled"; @@ -459,6 +463,8 @@ uart3: serial@ff1b0000 { reg-io-width = <4>; clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac_peri 7>, <&dmac_peri 8>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&uart3_xfer>; status = "disabled"; @@ -472,6 +478,8 @@ uart4: serial@ff1c0000 { reg-io-width = <4>; clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>; clock-names = "baudclk", "apb_pclk"; + dmas = <&dmac_peri 9>, <&dmac_peri 10>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&uart4_xfer>; status = "disabled"; -- 2.25.1