Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4944922imu; Sun, 25 Nov 2018 13:22:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/WrcY+5nW+/6iaAtqK40YGuj5oBbkhPbFTDJmsNCyFQSUqrOgjdj7/jlqQWYd4i7D7n8j7M X-Received: by 2002:a17:902:6b85:: with SMTP id p5-v6mr10310619plk.94.1543180970570; Sun, 25 Nov 2018 13:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543180970; cv=none; d=google.com; s=arc-20160816; b=vX4g4gVlO5LuKGPnx9tPadcrjbZ8c4LG/plVbLINA3oDENBem0ljAox89O7ES+vUKy j97TXVcVQ6omuybShY6PmeJFaY0c1+/20FyyDKC9FX7o5VvElB/sElesG848bURbBTTL vGp5qSPweHlV+LIn9OyGEUUZtldd0Fsqep22v+UYKYOeiBy29x9uAcnzxNrHEIENBcHF i5DvPWNIuRN6bnvvUOi66YjzVmWDETYuN0E+YGplO40wPGDwYSqtV6MtbPxhgKMEYuZe HQCiIxWTg+dL8wv2HmgQYu2hOybMhYdOhO+CZHd1+yTSw0EFrYUjosJBebCq5Lqj8YkJ YGUg== 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:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=0I+uWKN4GS3+l65NpqS0JmEUsO4byaMbcY6AlhK07H0=; b=vA6G2Lhs0LvLP+MzznoRoKZ/hXofrFbLKUAKFriXbPtsp299tCAVV3OxBIlmk4kquZ BZ0M6POpRugdbqVS1ac7DntCuV6GkoJjP7nneWmnIg47CmEcvzSTNtenz2obtuJSx7eK 5SKleLzoSLOJW7aaKgoolucjAE8ga9T5Ocn0zFwXomDlFlb7J/JZu+pAEH7TRu3WZbEz nmH61oTyPKBd4mS2SMK+kfQCZNYlDX0NFeYklMaYME1UY5VPBy2Q8QdeqOrde5c43axi VVWBW3poDSepFLQDiPKvYnsuVTufRbPhUvgxqFvECBf//OkETiWFjWKhaElX6WMb/jP6 2NPQ== 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 a19si52004123pgj.429.2018.11.25.13.22.35; Sun, 25 Nov 2018 13:22:50 -0800 (PST) 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 S1726400AbeKZIMU (ORCPT + 99 others); Mon, 26 Nov 2018 03:12:20 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:45242 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbeKZIMU (ORCPT ); Mon, 26 Nov 2018 03:12:20 -0500 Received: by mail-qt1-f193.google.com with SMTP id e5so15495729qtr.12; Sun, 25 Nov 2018 13:20:21 -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=ryGLxBRoxPZ/Jra5QLQLDVlFQ2BkRRUKNr8qzLf63uRAUe6lcQSz+TOYf/OuBW44bU WGqz/9hwDZsb9RX+oALXhdTSSwLWDUojGvs8fmgicH5keOvwjwgHq0r14yXXROMpn+Av QyST4Y9NuRWLxWHt01p0kMulMPwch623ztsfZuc+ZMcqk9342DI8irv1LoH2i0rrDeGR yvTmC+kTZnE1Dgd8PyyRgXFxGQ14/exaxVWH0cV1eGAWEkcON5WBhp/KTluL/JkP0dNF dzSha2wRMy5S1+yZNWJsjVhjYLWA5pcLfghh8g8DVFELBBvoOtU84Vito/9MIF5XZx2X 65xA== X-Gm-Message-State: AGRZ1gJp2HVhGucR3Gzhq0II8gCuoXh/S5hWHNFgmo7Gk6mHM1X5d+Hm Nm25w8PEBJ72lDdcm3VAD4wR3aZT 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 Cc: Otavio Salvador , Fabio Berton , devicetree@vger.kernel.org, Heiko Stuebner , Rob Herring , Mark Rutland 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. Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; -- 2.19.1