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: 38064 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E0F42202DB for ; Mon, 29 Sep 2014 09:15:03 +0000 (UTC) Received: by mail-we0-f200.google.com with SMTP id w62sf7247148wes.7 for ; Mon, 29 Sep 2014 02:15:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ewZfRkwYWaffxD22aEW/+AytFqkCcmdngdL27VUElIk=; b=ItHsqX6rWzpWYyPQ2Y/LH8teuEix6rUIIf1zYswkZLBSq9oAzyFArXKNUZaXLy5JfJ TqmnuXL5XhJVpB7KnYwhALgJvhqfkmLsLMEf37IoTioEKUKWrdWXf7s+QL7s7xYal5oc VqmAmPGuK1KbCsaNLh+mdDZZ/268a9TGoxDjO9oURW5NTJNH1ic7vyvtrtEfY5iOfg08 7kVKW6ZpGSzZybXxEWM66dLOBAPv2m6rG3zTfYa1xejiYMrgO42X8P34XQfvW+IHSz5n ZKIudgjyZ32d36vwjhXvIR0PLcHdZncyPkGlPWR3V3saGzDJrX0XdTCp3EWrEv2/ZsyP oEWg== X-Gm-Message-State: ALoCoQk0o3jyg8u7jULAT82P7XRdz8tDfgpN8cARtVFjwhny1dL/RoeloHvdnThPl2ROgfJd4PVS X-Received: by 10.112.139.231 with SMTP id rb7mr199443lbb.14.1411982103009; Mon, 29 Sep 2014 02:15:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.50 with SMTP id t18ls559898lal.104.gmail; Mon, 29 Sep 2014 02:15:02 -0700 (PDT) X-Received: by 10.112.168.38 with SMTP id zt6mr35351218lbb.60.1411982102771; Mon, 29 Sep 2014 02:15:02 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPS id wu8si17520535lac.66.2014.09.29.02.15.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 02:15:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id f15so4033314lbj.39 for ; Mon, 29 Sep 2014 02:15:02 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr37554405lat.67.1411982102651; Mon, 29 Sep 2014 02:15:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp140234lbb; Mon, 29 Sep 2014 02:15:01 -0700 (PDT) X-Received: by 10.68.68.173 with SMTP id x13mr24952990pbt.84.1411982100906; Mon, 29 Sep 2014 02:15:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cy1si21785959pdb.248.2014.09.29.02.15.00 for ; Mon, 29 Sep 2014 02:15:00 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbaI2JO7 (ORCPT + 5 others); Mon, 29 Sep 2014 05:14:59 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:40524 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243AbaI2JO6 (ORCPT ); Mon, 29 Sep 2014 05:14:58 -0400 Received: by mail-we0-f172.google.com with SMTP id q58so3666935wes.17 for ; Mon, 29 Sep 2014 02:14:57 -0700 (PDT) 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 Cc: broonie@kernel.org, lee.jones@linaro.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arm@kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@sonymobile.com, Srinivas Kandagatla 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> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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";