Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1165648ybh; Sat, 14 Mar 2020 19:53:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs/7thh3r+s+BQynZ2LtB9C8aZ8keeeD2x0KWxWNsPVKIyklh+Ts9QAydNYrlajJWBA68/j X-Received: by 2002:a9d:19e9:: with SMTP id k96mr17504606otk.68.1584240830915; Sat, 14 Mar 2020 19:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584240830; cv=none; d=google.com; s=arc-20160816; b=Y2SzcSZF6RyBksCKDgZRFFO3TbJ6TMH4r2FUnCH4C6qlOLpISB7VQEn+5tdS5DZrG1 lC3xou1YUEzJiXPBmP784z7nh6+V87JYyBSxuxSWbBYeMaEkw8mhAH7/sy49MTJpCnMK rrA6pLst7eYW8i2gzhdxq63HskTu5FZ51m+ql/ROkJ88tjq3dkt0fIAXsepub3Rq0J2u dXD+x62K4+GWr2xuOIaFcZObHiNgEj+nOi7kOijhR++IhG/jnH25G3jGfHtCr3Xvpeqi +dse4hPUADx2ScDoGbizvHYag27hc31lnQXclv22lwxBd/j1cWeOgPs2QH8EX/CJ/TmC LP+Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eMSc+l/zaeiTxELOOPcfMlQwXpclHqlICqmhTYhUP1A=; b=h81NIp2fQ+FLacXtsvFAlcE3f6FUD6RXkKDYAYvvFk1kb2lHZJh5pekFp/emJOoOi7 CNZ6fZlK15qpDRPVlk5DXVVAjQYPEIzFfZeefifAGleTOPk23Um/BpVwogYJZ4ashfCV 1f6tuEEhED+3Zls8dUOy+Hfyw9Gg8hNDwy9IwvcyFzKm3z9wwF3EXbyriVVYCzXBPT9z IAw1DoaxfryzCL49FzKhryC+keAdGx5VzCHWnHcMyNWRGpPKgj3r2HCb4C/7M5VVlyXL J3UhT2exjJmatKX0mnM/n4/fpJAo2jcnOpcLOvp8FLoy2vbx8wtQBUAhJ6XPdV9YrfcT Z6MA== 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 k15si5189803otn.6.2020.03.14.19.53.37; Sat, 14 Mar 2020 19:53:50 -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 S1727458AbgCOCxO convert rfc822-to-8bit (ORCPT + 99 others); Sat, 14 Mar 2020 22:53:14 -0400 Received: from gloria.sntech.de ([185.11.138.130]:38138 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgCOCxO (ORCPT ); Sat, 14 Mar 2020 22:53:14 -0400 Received: from ip5f5a5d2f.dynamic.kabel-deutschland.de ([95.90.93.47] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jD8Pn-0001Qn-3r; Sat, 14 Mar 2020 16:09:27 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Katsuhiro Suzuki Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: rockchip: use DMA channels for UARTs of TinkerBoard Date: Sat, 14 Mar 2020 16:09:26 +0100 Message-ID: <2930126.sCcUyySgUU@diego> In-Reply-To: <20200314142327.25568-1-katsuhiro@katsuster.net> References: <20200314142327.25568-1-katsuhiro@katsuster.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Samstag, 14. M?rz 2020, 15:23:27 CET schrieb Katsuhiro Suzuki: > This patch enables to use DMAC for all UARTs that are connected to > dmac_peri core for TinkerBoard. > > Only uart2 is connected different DMAC (dmac_bus_s) so keep current > settings on this patch. This belongs in rk3288.dtsi, as this is definitly not board-specific, as the dma-uart connection is done inside the soc. At least on arm64 (rk3328, px30, probably more) we already have the uart dmas in the core dtsi without any problems. Is there any reason why you only did add it to the tinker board only? Heiko > Signed-off-by: Katsuhiro Suzuki > --- > arch/arm/boot/dts/rk3288-tinker.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3288-tinker.dtsi b/arch/arm/boot/dts/rk3288-tinker.dtsi > index 312582c1bd37..6efabeaf3c6d 100644 > --- a/arch/arm/boot/dts/rk3288-tinker.dtsi > +++ b/arch/arm/boot/dts/rk3288-tinker.dtsi > @@ -491,10 +491,14 @@ &tsadc { > }; > > &uart0 { > + dmas = <&dmac_peri 1>, <&dmac_peri 2>; > + dma-names = "tx", "rx"; > status = "okay"; > }; > > &uart1 { > + dmas = <&dmac_peri 3>, <&dmac_peri 4>; > + dma-names = "tx", "rx"; > status = "okay"; > }; > > @@ -503,10 +507,14 @@ &uart2 { > }; > > &uart3 { > + dmas = <&dmac_peri 7>, <&dmac_peri 8>; > + dma-names = "tx", "rx"; > status = "okay"; > }; > > &uart4 { > + dmas = <&dmac_peri 9>, <&dmac_peri 10>; > + dma-names = "tx", "rx"; > status = "okay"; > }; > >