From patchwork Fri Apr 10 12:33:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47028 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3525621416 for ; Fri, 10 Apr 2015 12:34:44 +0000 (UTC) Received: by pdbqd1 with SMTP id qd1sf26786422pdb.1 for ; Fri, 10 Apr 2015 05:34:43 -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=lIwArp9z/3GqQs89z5kb9/pi2vQwKZT9gVzNc8QwkG0=; b=hXc9M6Y3eC8o/4vgKvxll17fxG6YHl6nz9KOC3OFZ9hlhWnPsHE7X5PEYD26AgZp6t sIyeJaYHQH+2f/VlNayBsxvDejk3cv5sqDFxiLnYMrgtbiGbP9WT/uQENU4FoiBwByHQ YzX9wdWKyLzcib+TRMX7hjFOfR2uykWSSUBkA4Y5RBtOPrNoCwlVc3qYmnjFHmC0EVA5 7CMnpdy9FPBDdl1u64mZFEa/mUpQPpX8OHmtdD3t0i9Jt9Pw9BOeKobjr1QDPiNjb//n jQsLLAVYDYpItV3Jz8/24YxnM60cpHdr85uJDvAM1ubPa6Cp3DlHcabofpe5tLee9wot 0JEg== X-Gm-Message-State: ALoCoQkqVdI6bMta6S1RoamEytjgt8Cez0Jjrv3ER/0g5DUUocwtJ5UueXYLJMdvm1uwaSgVVYYc X-Received: by 10.66.218.163 with SMTP id ph3mr1455259pac.46.1428669283582; Fri, 10 Apr 2015 05:34:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.18 with SMTP id s18ls1628816qgd.65.gmail; Fri, 10 Apr 2015 05:34:43 -0700 (PDT) X-Received: by 10.140.83.202 with SMTP id j68mr1360546qgd.18.1428669283486; Fri, 10 Apr 2015 05:34:43 -0700 (PDT) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com. [209.85.220.182]) by mx.google.com with ESMTPS id ft7si1635846qcb.30.2015.04.10.05.34.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 05:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by qkgx75 with SMTP id x75so28251236qkg.1 for ; Fri, 10 Apr 2015 05:34:43 -0700 (PDT) X-Received: by 10.140.151.200 with SMTP id 191mr1395602qhx.95.1428669283326; Fri, 10 Apr 2015 05:34:43 -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.96.155.231 with SMTP id vz7csp984227qdb; Fri, 10 Apr 2015 05:34:42 -0700 (PDT) X-Received: by 10.68.232.135 with SMTP id to7mr2367708pbc.54.1428669282136; Fri, 10 Apr 2015 05:34:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ke5si2721403pab.238.2015.04.10.05.34.41; Fri, 10 Apr 2015 05:34:42 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932638AbbDJMe2 (ORCPT + 27 others); Fri, 10 Apr 2015 08:34:28 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:38144 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbbDJMeV (ORCPT ); Fri, 10 Apr 2015 08:34:21 -0400 Received: by wiun10 with SMTP id n10so24519588wiu.1 for ; Fri, 10 Apr 2015 05:34:20 -0700 (PDT) X-Received: by 10.180.10.102 with SMTP id h6mr4379106wib.37.1428669239503; Fri, 10 Apr 2015 05:33:59 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-247-151.as13285.net. [78.145.247.151]) by mx.google.com with ESMTPSA id e18sm2765841wjz.27.2015.04.10.05.33.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 05:33:58 -0700 (PDT) From: Srinivas Kandagatla To: galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: bjorn.andersson@sonymobile.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 01/12] ARM: dts: apq8064: add RPM regulators support Date: Fri, 10 Apr 2015 13:33:53 +0100 Message-Id: <1428669233-10820-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.220.182 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 6c15112..19629c9 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -276,6 +276,30 @@ #reset-cells = <1>; }; + l2cc: clock-controller@2011000 { + compatible = "syscon"; + reg = <0x2011000 0x1000>; + }; + + rpm@108000 { + compatible = "qcom,rpm-apq8064"; + reg = <0x108000 0x1000>; + qcom,ipc = <&l2cc 0x8 2>; + + interrupts = , + , + ; + interrupt-names = "ack", "err", "wakeup"; + + regulators { + compatible = "qcom,rpm-pm8921-regulators"; + + pm8921_hdmi_switch: hdmi-switch { + bias-pull-down; + }; + }; + }; + /* Temporary fixed regulator */ vsdcc_fixed: vsdcc-regulator { compatible = "regulator-fixed";