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: 9496841 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 171F6606DE for ; Wed, 4 Jan 2017 13:40:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C02327EED for ; Wed, 4 Jan 2017 13:40:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 008F027F89; Wed, 4 Jan 2017 13:40:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 324D227F88 for ; Wed, 4 Jan 2017 13:40:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965248AbdADNkW (ORCPT ); Wed, 4 Jan 2017 08:40:22 -0500 Received: from mail-wj0-f173.google.com ([209.85.210.173]:35011 "EHLO mail-wj0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030649AbdADNeb (ORCPT ); Wed, 4 Jan 2017 08:34:31 -0500 Received: by mail-wj0-f173.google.com with SMTP id i20so10179145wjn.2 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=tJl1t9Biubrjw7afaTvQgB31/GnK5Bc3qlXGgqySk1DVFlbgns5lek20tJK5BJojUD RgLY8GD7MyP+x6SynDbMfA7mcRtRIIi6KyyQXWscZMEjJjnyT2SdXUEHbbAA70kloUbM zNUZtSHJn9QucSl18jqJuNkXiLaZHfRXwDr127UJcA+CXxPkzyZcsxnGURVDaKeMhcUr inYrYbjpviQL1ewzHKSnJmxhSBBHIh7fiVeQnYIcjV+vtKT0bSHiXGoEBfvud+yb0MJ2 27qv+cJjIsWzTP2/o6D/pF1Qu9GS1dfc+jBHrd98zbwPdRpMEkdZhQUDNK4WGpqsq8kO 4c5g== X-Gm-Message-State: AIkVDXKFzGZ8DpecnvvZlq2kkOXiXufUZ8kA7BoskvTUYkllZHNKVQmN4u+hZhZ5q6toyBqL 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: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;