From patchwork Tue Jun 16 17:19:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 6619171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CD9D8C0020 for ; Tue, 16 Jun 2015 17:21:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D61DA207F7 for ; Tue, 16 Jun 2015 17:21:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 081E3207F5 for ; Tue, 16 Jun 2015 17:21:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4uWe-000300-EB; Tue, 16 Jun 2015 17:19:52 +0000 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4uWb-0002wj-Q5; Tue, 16 Jun 2015 17:19:50 +0000 Received: by wicnd19 with SMTP id nd19so4760201wic.1; Tue, 16 Jun 2015 10:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=XYM/+qgf3l4dVFzIeoDIWr3fSNqZz1kxmt164PmL3Y8=; b=ECTnIg5FCqA1CSsPeDBk1klWwszdkllaXv0GpUjPBC1zXQxO+8l2uijzHpWF5SwdpL 4SdJV8M7nc+o0PkHmoMGszPa+oxcfQlBZKTxtkRMSKEww1Dg+Fu6oGqtoOQuV2+htGx8 SiyGFOi3BAQKpxb8Gk9TfVkGizszIvQaHbz2geiJvCrknAIx2QvHXF+/Bcb9k5gXfeHz gUb0r8WZw+JJfyNQpxOpWB8PZMzdAg3GMb1vVeV50NI+xRMoz0hXnslREkb6Bi4VbH79 JIcqYiUvgFKEESlI3b3gla+RO9I/pQ8BIsCyalTLGqmJpNHP2cmZk88o+30tRf+Sc5s2 hbLQ== X-Received: by 10.180.86.168 with SMTP id q8mr43974300wiz.80.1434475167897; Tue, 16 Jun 2015 10:19:27 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-36-47.w92-149.abo.wanadoo.fr. [92.149.107.47]) by mx.google.com with ESMTPSA id ej5sm2608664wjd.22.2015.06.16.10.19.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Jun 2015 10:19:27 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH] ARM: dts: rockchip: Add DMA tx and rx channels in UART interfaces for RK3288 SoCs Date: Tue, 16 Jun 2015 17:19:26 +0000 Message-Id: <1434475166-30338-1-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150616_101950_008349_3FE123D6 X-CRM114-Status: UNSURE ( 6.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This enable DMA capability for the corresponding UART interfaces, also it removes warning "ttyS%d - Failed to request dma" from kernel logs. Signed-off-by: Romain Perier --- Changes since v1 ("[PATCH] ARM: dts: rockchip: Add dmac_bus rx and tx for uart2"): - Add DMA tx and rx channels for all UART interfaces - Rename commit summary arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 22316d0..1996452 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -359,6 +359,8 @@ clock-names = "baudclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer>; + dmas = <&dmac_peri 1>, <&dmac_peri 2>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -372,6 +374,8 @@ clock-names = "baudclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart1_xfer>; + dmas = <&dmac_peri 3>, <&dmac_peri 4>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -385,6 +389,8 @@ clock-names = "baudclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart2_xfer>; + dmas = <&dmac_bus_s 4>, <&dmac_bus_s 5>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -398,6 +404,8 @@ clock-names = "baudclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart3_xfer>; + dmas = <&dmac_peri 7>, <&dmac_peri 8>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -411,6 +419,8 @@ clock-names = "baudclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart4_xfer>; + dmas = <&dmac_peri 9>, <&dmac_peri 10>; + dma-names = "tx", "rx"; status = "disabled"; };