From patchwork Mon Sep 29 09:14:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 4994781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4773F9F1D4 for ; Mon, 29 Sep 2014 09:18:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7766220266 for ; Mon, 29 Sep 2014 09:18:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 347FA201FA for ; Mon, 29 Sep 2014 09:18:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYX3D-0002tu-R5; Mon, 29 Sep 2014 09:15:23 +0000 Received: from mail-we0-f179.google.com ([74.125.82.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYX3A-0001RQ-82 for linux-arm-kernel@lists.infradead.org; Mon, 29 Sep 2014 09:15:21 +0000 Received: by mail-we0-f179.google.com with SMTP id u56so4759907wes.10 for ; Mon, 29 Sep 2014 02:14:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sJX+dZNbSoa11lVppYAJcEi6YLdc4ozE8PYSb78ip/Y=; b=j+8m3oZ+f3e0O1xm/99lJRIA7I5v2vtt1OC3VPQlTZ+Ei5o4zaZTLRsMEieSg6IsRV jeub+kaGLBVE9qLYEls4JQi085P8PQeQW8iRLhzbo0u2N99GxoQor6QLC0154j6OqfkQ Dt+B81ZvA6fwc2UImPGF0uTLhscgeDKIEgwQ7JHLg32eb1f6aiOJVQj1Aro1OKSqTA1A 739F63puyr6KI2bOaNt5HgEAsmGApyu31oQPNocDwhlxFeoF3lKgpAl1VUp6R7SY2hTZ r+KoBz9LfuSrGNBz4RfzNuZg7syI9+vGKUvqDkBq7DgmfhSWl8JgAx90OkJF78/dL3dI SsKQ== X-Gm-Message-State: ALoCoQnSgaOrALELkGsZx9bTgXOszRlXlP0+62tW2qh3rDekWWQq92SX4mwmE6g3v0d2iiLDk1r6 X-Received: by 10.180.187.83 with SMTP id fq19mr63412005wic.59.1411982097423; Mon, 29 Sep 2014 02:14:57 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-99-232-3.as13285.net. [2.99.232.3]) by mx.google.com with ESMTPSA id et1sm15042993wjd.11.2014.09.29.02.14.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Sep 2014 02:14:56 -0700 (PDT) From: Srinivas Kandagatla To: Kumar Gala , devicetree@vger.kernel.org Subject: [PATCH 1/4] ARM: DT: apq8064: add rpm support Date: Mon, 29 Sep 2014 10:14:52 +0100 Message-Id: <1411982092-7922-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411982044-7873-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1411982044-7873-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140929_021520_445763_EB0E9121 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland , Russell King , arm@kernel.org, Pawel Moll , Ian Campbell , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , broonie@kernel.org, Srinivas Kandagatla , bjorn.andersson@sonymobile.com, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds rpm node to apq8064 dt as rpm would be used by other devices for regulator support. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index b3154c0..9c2c8e6 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -3,6 +3,7 @@ #include "skeleton.dtsi" #include #include +#include #include #include @@ -246,6 +247,24 @@ #reset-cells = <1>; }; + apcs: syscon@2011000 { + compatible = "syscon"; + reg = <0x2011000 0x1000>; + }; + + rpm@108000 { + compatible = "qcom,rpm-apq8064"; + reg = <0x108000 0x1000>; + qcom,ipc = <&apcs 0x8 2>; + + interrupts = <0 19 0>, <0 21 0>, <0 22 0>; + interrupt-names = "ack", "err", "wakeup"; + + #address-cells = <1>; + #size-cells = <0>; + + }; + /* Temporary fixed regulator */ vsdcc_fixed: vsdcc-regulator { compatible = "regulator-fixed";