From patchwork Fri Jun 26 21:50:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 6683471 Return-Path: X-Original-To: patchwork-linux-arm@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 EF2ACC05AC for ; Fri, 26 Jun 2015 21:53:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A9B720609 for ; Fri, 26 Jun 2015 21:53:32 +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 593CB205F7 for ; Fri, 26 Jun 2015 21:53:31 +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 1Z8bX6-0003cH-Ni; Fri, 26 Jun 2015 21:51:36 +0000 Received: from mail-pd0-f173.google.com ([209.85.192.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z8bWZ-0003Pc-CG for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2015 21:51:04 +0000 Received: by pdbci14 with SMTP id ci14so81728399pdb.2 for ; Fri, 26 Jun 2015 14:50:42 -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=KhTgCipNp+V/+MLK68MZs+qXgUPTfOK/dME1ZngfQDk=; b=KZSQwQ6Yo1eI/fSOzgu+ED/xKtD3jqMsFKKnL1juBF0/3sko8qO+59W+hNI53Axjwi rhI3Fl2AlL2JdCqdfLVfUOq1Pl3WpZwdSL1aNzGv7t5IvjOaVE2/+Qj+7Hl3w2/NQul4 AF6XKVnOwoRBmrGYYMdk7ZrWGUPXI7r2ACw3PSBQrvDiUrjzCCKte9LU/K5YjQIBk4kP 2kpAjGKwNw3RUF5Ji+gWSI3iOoAKXrOaTNCgjjJmGQDmuLBTyE58C73H8FsYG292uMnh d5iJ2fPGHGjyWNy2A8FbHFyTXH1WQz1DYC/b/1Y/RW2qYn36Gmw2hh3t/D2x6Ii5rv3U Tecg== X-Gm-Message-State: ALoCoQkzdk1EHH5OTBEggvsh8gpyB9VdSLU9eu41wXLWNuhLhj7Pi3h86w1McA22nl4Simq6QYUU X-Received: by 10.66.131.110 with SMTP id ol14mr7423196pab.0.1435355442229; Fri, 26 Jun 2015 14:50:42 -0700 (PDT) Received: from localhost.localdomain ([67.220.165.122]) by mx.google.com with ESMTPSA id f1sm34393935pdp.24.2015.06.26.14.50.40 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jun 2015 14:50:41 -0700 (PDT) From: bjorn@kryo.se X-Google-Original-From: bjorn.andersson@sonymobile.com To: Andy Gross Subject: [PATCH v2 10/11] ARM: dts: msm8974: Add smd, rpm and regulator nodes Date: Fri, 26 Jun 2015 14:50:18 -0700 Message-Id: <1435355419-23602-11-git-send-email-bjorn.andersson@sonymobile.com> X-Mailer: git-send-email 1.9.3 (Apple Git-50) In-Reply-To: <1435355419-23602-1-git-send-email-bjorn.andersson@sonymobile.com> References: <1435355419-23602-1-git-send-email-bjorn.andersson@sonymobile.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150626_145103_510669_75DE1191 X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: -2.6 (--) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , 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=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 From: Bjorn Andersson Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d7c99b8..65f5496 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -114,6 +114,11 @@ <0xf9002000 0x1000>; }; + apcs: syscon@f9011000 { + compatible = "syscon"; + reg = <0xf9011000 0x1000>; + }; + timer@f9020000 { #address-cells = <1>; #size-cells = <1>; @@ -334,4 +339,73 @@ #interrupt-cells = <4>; }; }; + + smd { + compatible = "qcom,smd"; + + rpm { + interrupts = <0 168 1>; + qcom,ipc = <&apcs 8 0>; + qcom,smd-edge = <15>; + + rpm_requests { + compatible = "qcom,rpm-msm8974"; + qcom,smd-channels = "rpm_requests"; + + pm8841-regulators { + compatible = "qcom,rpm-pm8841-regulators"; + + pm8841_s1: s1 {}; + pm8841_s2: s2 {}; + pm8841_s3: s3 {}; + pm8841_s4: s4 {}; + pm8841_s5: s5 {}; + pm8841_s6: s6 {}; + pm8841_s7: s7 {}; + pm8841_s8: s8 {}; + }; + + pm8941-regulators { + compatible = "qcom,rpm-pm8941-regulators"; + + pm8941_s1: s1 {}; + pm8941_s2: s2 {}; + pm8941_s3: s3 {}; + pm8941_5v: s4 {}; + + pm8941_l1: l1 {}; + pm8941_l2: l2 {}; + pm8941_l3: l3 {}; + pm8941_l4: l4 {}; + pm8941_l5: l5 {}; + pm8941_l6: l6 {}; + pm8941_l7: l7 {}; + pm8941_l8: l8 {}; + pm8941_l9: l9 {}; + pm8941_l10: l10 {}; + pm8941_l11: l11 {}; + pm8941_l12: l12 {}; + pm8941_l13: l13 {}; + pm8941_l14: l14 {}; + pm8941_l15: l15 {}; + pm8941_l16: l16 {}; + pm8941_l17: l17 {}; + pm8941_l18: l18 {}; + pm8941_l19: l19 {}; + pm8941_l20: l20 {}; + pm8941_l21: l21 {}; + pm8941_l22: l22 {}; + pm8941_l23: l23 {}; + pm8941_l24: l24 {}; + + pm8941_lvs1: lvs1 {}; + pm8941_lvs2: lvs2 {}; + pm8941_lvs3: lvs3 {}; + + pm8941_5vs1: 5vs1 {}; + pm8941_5vs2: 5vs2 {}; + }; + }; + }; + }; };