Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp195615imu; Mon, 26 Nov 2018 09:40:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/WsWYFt363c4iniCjcBpe271P11GAG/ZXRG4c8/tRJDilncQy3PMbeotXVhNSixVvAMEhmI X-Received: by 2002:a63:554b:: with SMTP id f11mr26574099pgm.37.1543254007764; Mon, 26 Nov 2018 09:40:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543254007; cv=none; d=google.com; s=arc-20160816; b=E/DCP9DX5U13d7wZSG3d0ZPhESrLhHBx7lQy1ouFl6N3XvozASXgt+srgZN7YjyICQ xJ8tkOb6GDyciKiGOGPiwTLbcHMO8utKiGczgpK5TBn3WuaJ8SFHsYq88GGKDfffqBwj X/HCKi5hTy/+gnUe8cBR+xxyY9rviN9c+O0pxq05H8Fu4Phq5rthh1R9GRE19OiCbxZc DkRr4BQAHgAbKD1n+9wG0UBLw7cUrR3VeWATLAQnvDLQFbao+dFYs2iMuROUnB1r8uVW TtcM7Mr3s4kHIE90PSrgJdYaj5WhAvhoysWPyb3SvNLJI8pLtTIvAsfqMiGrYfWkZ6bO mBeA== 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=ItZT/cVdy3Go+gbEHXeG/NlMN9vVMWvGTo+dGdK6Irs=; b=tKv16iAjQOK4s6+/ToEeT+F1eU+0PVV99uv5Rt1KDGwl8qI/cGFVWLDuDS+5i8mhM5 TxUNEA67/hJ4SnQ4YbrZ2lv3LdmomWwDN96vtBH+dcFmVzy9alJqoDNJ8hPJVZJWtXnp usa4Cl+iTvQ3LVphGzIMtBsLtUx+bOFVzpZ5G4nTtPkD/VFSYeFcLTaG+ZEWjO6jo7dV NJ4+sRDbvldC7ZmC2DXXgpT9+qs31fLM5dZK0yB/Mtli4zKfX8rdS/gQwx/o77B5lrrx FFcJz6mJofL5C86UlvJLSYwZxo/HuGGCnDjNFvll4GNjKQMi+7lAKZj5kdoVtAGL0ahM UbdQ== 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 j29si841569pgm.554.2018.11.26.09.39.13; Mon, 26 Nov 2018 09:40:07 -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 S1727218AbeK0EaR (ORCPT + 99 others); Mon, 26 Nov 2018 23:30:17 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:44733 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbeK0EaR (ORCPT ); Mon, 26 Nov 2018 23:30:17 -0500 Received: by mail-qk1-f196.google.com with SMTP id n12so12760990qkh.11; Mon, 26 Nov 2018 09:35:29 -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=ItZT/cVdy3Go+gbEHXeG/NlMN9vVMWvGTo+dGdK6Irs=; b=pF0zFB2cvSgtCt6X41G0G5koo1MyIk3zBoCyEE3Jka7lUDGAgec9MRj0svDHWGI+7V UoXO2mXE2oJv3eomNSyt09FMOdBG3XjnuyK1OhqtrQRTZ3tADEh+B5phtEp+zEx1fX5m VNemBd6Bwgs9yMKJeJlwIrQzSZv9vWIrgLBxXQYOForB0BmgMhHHIS1xWHdpHR98gs7B DfRCUJefxu4/4EykOTNMrfmrgbwoiUDj60LGT/tc/rePGgOS2OIuiep+s3doxugtO8Jr V7VLEp8BosBPw/qwzPEKbHVaExrIU1+mEwHKutWiCnpa4eZFd3RDE/RsJMJqFph9w5yt JbEQ== X-Gm-Message-State: AA+aEWYnits7kg5CguS3xJdXmSmwETTSpJqoJfSn7QyhxqY/2K/6rIxx /4LRfFId5A1IvntZ4jcri13m1VSV X-Received: by 2002:a37:7cc5:: with SMTP id x188mr24919107qkc.307.1543253728639; Mon, 26 Nov 2018 09:35:28 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id v50sm726526qtc.7.2018.11.26.09.35.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 09:35:27 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Mon, 26 Nov 2018 15:35:22 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Heiko Stuebner Cc: Otavio Salvador , devicetree@vger.kernel.org, Rob Herring , Mark Rutland Subject: [PATCH v2 3/4] ARM: dts: rockchip: Add UART DMA support for rv1108 Date: Mon, 26 Nov 2018 15:35:05 -0200 Message-Id: <20181126173506.24068-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126173506.24068-1-otavio@ossystems.com.br> References: <20181126173506.24068-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 Tested-by: Fabio Berton --- Changes in v2: - fixup commit signed-off-by - fixup commit log 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 300de8e1475b..23ac4b10d690 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -116,6 +116,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"; @@ -130,6 +132,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"; @@ -144,6 +148,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.2