From patchwork Wed Jan 4 13:34:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 89850 Delivered-To: patch@linaro.org Received: by 10.182.224.138 with SMTP id rc10csp217073obc; Wed, 4 Jan 2017 05:40:24 -0800 (PST) X-Received: by 10.98.96.135 with SMTP id u129mr61759320pfb.141.1483537224534; Wed, 04 Jan 2017 05:40:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si72398117pgc.285.2017.01.04.05.40.24; Wed, 04 Jan 2017 05:40:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753328AbdADNkU (ORCPT + 7 others); Wed, 4 Jan 2017 08:40:20 -0500 Received: from mail-wj0-f173.google.com ([209.85.210.173]:32990 "EHLO mail-wj0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030650AbdADNeb (ORCPT ); Wed, 4 Jan 2017 08:34:31 -0500 Received: by mail-wj0-f173.google.com with SMTP id tq7so232261371wjb.0 for ; Wed, 04 Jan 2017 05:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=800fBdjV3axB3k4iwl2IQARovEHervGEiphd85z2NAs=; b=XljqTCNWVJrVxFPe2STKkX6agzqkaJJz/+0mDuIXif5GofGMRcgpve0lZyLq3XETUf gMuXz06HeUSI5mRrHEUrR1Qs7Q+Iav0JoX65p+7VZvr+Tjcglp/3Jg4xw5aJ5SFmYOKW 3f1RjMnMx8GA4/wVAb45eYl5ceZ3XrCpWYriE= 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; bh=800fBdjV3axB3k4iwl2IQARovEHervGEiphd85z2NAs=; b=qJdSKlQYzzhovrtQx3xtAjMLofvxlXBY5MVB/hJ56OerSBIESDLH2yxr5ZRTFyfbga AffBMIsWmiSStEOfw7TF3HktVY4HdAnGo34+EANjcXAXGQ4Hp/E4cNK9kx0cb/3a8Pnf 61RyaB77x61OJLPOgcbM3dkrDsfHNSevDQ9P1boi7nrUICeeDyixebzckyyl5/A+2oAn s101KJt3aIY0rGCP4aijLjZPcj33U/32sPTodVgtXTTI2S0oLHYyKD+20s0uI0CVf+io Da8Z+UYzASLwjflnJHJ2oKFmKTdZCfRPTtczig4DAGLjSNU4I9854+tGa9sbS3n+q1zE 0Hmw== X-Gm-Message-State: AIkVDXKhKEEyTigZ27ngn9vZnIyNVGJqCO3XhR7J5xqx5yLyrIiJEwI3TDkDR5BcDCjL8r/j X-Received: by 10.194.122.202 with SMTP id lu10mr5878505wjb.2.1483536870236; Wed, 04 Jan 2017 05:34:30 -0800 (PST) Received: from localhost.localdomain (host-2-98-102-117.as13285.net. [2.98.102.117]) by smtp.gmail.com with ESMTPSA id z9sm45824864wjf.17.2017.01.04.05.34.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jan 2017 05:34:29 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross Cc: David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Ivan T. Ivanov" Subject: [PATCH 4/4] ARM: dts: apq8064: Add ADM configuration node Date: Wed, 4 Jan 2017 13:34:14 +0000 Message-Id: <1483536854-21389-4-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483536854-21389-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1483536854-21389-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: "Ivan T. Ivanov" Add Application Data Mover (DMA) device node. Connect GSBI6 UARTDM RX and TX channels to it. Signed-off-by: Ivan T. Ivanov --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 4 ++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) -- 2.10.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 881ce70..eec67cd 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -234,6 +234,10 @@ }; }; + adm: dma@18320000 { + status = "okay"; + }; + sata_phy0: phy@1b400000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index e68a8a1..8a7c325 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -564,6 +564,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; + syscon-tcsr = <&tcsr>; gsbi6_serial: serial@16540000 { compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; @@ -572,6 +573,13 @@ interrupts = <0 156 0x0>; clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>; clock-names = "core", "iface"; + + qcom,rx-crci = <11>; + qcom,tx-crci = <6>; + + dmas = <&adm 6>, <&adm 7>; + dma-names = "rx", "tx"; + status = "disabled"; }; @@ -1059,6 +1067,26 @@ }; }; + adm: dma@18320000 { + compatible = "qcom,adm"; + reg = <0x18320000 0xE0000>; + interrupts = ; + #dma-cells = <1>; + + clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>; + clock-names = "core", "iface"; + + resets = <&gcc ADM0_RESET>, + <&gcc ADM0_PBUS_RESET>, + <&gcc ADM0_C0_RESET>, + <&gcc ADM0_C1_RESET>, + <&gcc ADM0_C2_RESET>; + reset-names = "clk", "pbus", "c0", "c1", "c2"; + qcom,ee = <1>; + + status = "disabled"; + }; + tcsr: syscon@1a400000 { compatible = "qcom,tcsr-apq8064", "syscon"; reg = <0x1a400000 0x100>;