From patchwork Tue Mar 17 21:51:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 6034681 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@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 0937CBF90F for ; Tue, 17 Mar 2015 21:51:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29D6D2046F for ; Tue, 17 Mar 2015 21:51:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74BCA2049D for ; Tue, 17 Mar 2015 21:51:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932406AbbCQVvd (ORCPT ); Tue, 17 Mar 2015 17:51:33 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50789 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753573AbbCQVvc (ORCPT ); Tue, 17 Mar 2015 17:51:32 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 787941408A9; Tue, 17 Mar 2015 21:51:31 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 6689F1408AD; Tue, 17 Mar 2015 21:51:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (rrcs-67-52-129-61.west.biz.rr.com [67.52.129.61]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: agross@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 418FF1408AA; Tue, 17 Mar 2015 21:51:30 +0000 (UTC) From: Andy Gross To: Kumar Gala Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Gross Subject: [PATCH 3/4] ARM: DT: msm8660: Add ADM device nodes Date: Tue, 17 Mar 2015 16:51:10 -0500 Message-Id: <1426629071-3541-4-git-send-email-agross@codeaurora.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1426629071-3541-1-git-send-email-agross@codeaurora.org> References: <1426629071-3541-1-git-send-email-agross@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP 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 This patch adds support for the ADM DMA on the MSM8660 SOC Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-msm8660.dtsi | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi index 0affd61..8043c12 100644 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi @@ -4,7 +4,9 @@ #include #include +#include #include +#include / { model = "Qualcomm MSM8660"; @@ -196,6 +198,46 @@ vmmc-supply = <&vsdcc_fixed>; }; }; + + adm_dma0: dma@18320000 { + compatible = "qcom,adm"; + reg = <0x18320000 0x100000>; + 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"; + }; + + adm_dma1: dma@18420000 { + compatible = "qcom,adm"; + reg = <0x18420000 0xE0000>; + interrupts = ; + #dma-cells = <1>; + + clocks = <&gcc ADM1_CLK>, <&gcc ADM1_PBUS_CLK>; + clock-names = "core", "iface"; + + resets = <&gcc ADM1_RESET>, + <&gcc ADM1_PBUS_RESET>, + <&gcc ADM1_C0_RESET>, + <&gcc ADM1_C1_RESET>, + <&gcc ADM1_C2_RESET>; + reset-names = "clk", "pbus", "c0", "c1", "c2"; + qcom,ee = <1>; + + status = "disabled"; + }; }; };