Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1174544ybh; Sat, 14 Mar 2020 20:07:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtacTa++8Zmwb+z5XeJtH4bSNXBPMg+hqluRuMDYOlclLAF6GCqSmsxr/zpsMMawxELYAma X-Received: by 2002:aca:c552:: with SMTP id v79mr12413418oif.156.1584241638038; Sat, 14 Mar 2020 20:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584241638; cv=none; d=google.com; s=arc-20160816; b=jdJYpQ3zq/XP1Tr1gRXfGZja9AjuKOGlLYIaPMdSm4GseV6NCfJnGPkgT9SkzkoOOM PfpJjjFg84y64UCsNY4GEtiA5SygWelQpGe1YlMEc8M9PQFBnQtzaKrIlPZH5Lr/8GBu cCacA/PvDv4SXtIrodaWLWCozGkZocXtlcUFPNeQZCdFMqZCeufQ4/HEi2j+gl4UxsBj gbjkIQcXpnUGzxX9/YOcMBEkTOxbXO8McRlk7IrRzwOu02StS7oZfr6G1kw3gDKAzZlF YfZauRnaZMAsyrhFGhf+9rlKXZnpPw02DuYjYttVS6FMbHgqzDPIZ+oP00U0NByH3ox0 E79Q== 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=ZmkAjWonBu+mv88mlJQqG4PvI7ad/7yCzpC32SqJgW4=; b=wnjsbVzSy2jclVa0Kra9jb4ITc10BzvF1/35PnhLo/UIBe12xLgFHqeKtFx+4LinoW PVzErnDKkQ7/b/VhDdB9CiC39KzTrHtBOSC7EvKZPXtVzkO/sLPFs4z21TNqEr+Ja5UB 7bOhDGwxojAoOtAuL8wSVkYUy8QZc7Ps4DU8SxMefqIzikCiCbWHRQfC8ZmwU4vNJY+0 Voclh8/saVDgOjWGUPeMgizSdIvGzG5+bAVb1aotuSgkfgnfM+sxpARsKoY9KNdO9oex 40CqsfLeLeARq5Rwx1QYGba4APOYUhMDWq+nNJ9LN7fRQCMLmgylR+eGQfG4vhknIxeS ZwCg== 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 s199si7399361oih.169.2020.03.14.20.07.05; Sat, 14 Mar 2020 20:07:18 -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 S1726566AbgCODGo (ORCPT + 99 others); Sat, 14 Mar 2020 23:06:44 -0400 Received: from www1102.sakura.ne.jp ([219.94.129.142]:19957 "EHLO www1102.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbgCODGo (ORCPT ); Sat, 14 Mar 2020 23:06:44 -0400 X-Greylist: delayed 3598 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Mar 2020 23:06:43 EDT Received: from fsav405.sakura.ne.jp (fsav405.sakura.ne.jp [133.242.250.104]) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 02EENc8g044943; Sat, 14 Mar 2020 23:23:38 +0900 (JST) (envelope-from katsuhiro@katsuster.net) Received: from www1102.sakura.ne.jp (219.94.129.142) by fsav405.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav405.sakura.ne.jp); Sat, 14 Mar 2020 23:23:38 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav405.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 02EENYJY044932 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Mar 2020 23:23:37 +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 of TinkerBoard Date: Sat, 14 Mar 2020 23:23:27 +0900 Message-Id: <20200314142327.25568-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 TinkerBoard. 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-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"; }; -- 2.25.1