Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1221104

[PATCH 11/11] arm: dts: Add RPM SMD regulator support on MSM8974

From Andy Gross <agross@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH 11/11] arm: dts: Add RPM SMD regulator support on MSM8974
Date 2015-09-08 23:40 +0200
Message-ID <q6yMr-85m-41@gated-at.bofh.it> (permalink)
References <q6yMp-85m-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds all the nodes required to support the PM8841 and PM8941
PMIC regulators present on MSM8974 platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 arch/arm/boot/dts/qcom-msm8974.dtsi |   75 +++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
index d7c99b8..f0a41b5 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,74 @@
 			#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_lvs4: lvs4 {};
+
+					pm8941_5vs1: 5vs1 {};
+					pm8941_5vs2: 5vs2 {};
+				};
+			};
+		};
+	};
 };
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/11] Add RPM/SMD Support for QCOM platforms Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 05/11] arm64: dts: Add PM8916 support on MSM8916 Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 06/11] regulator: qcom-smd: Add PM8916 support Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
    Re: [PATCH 06/11] regulator: qcom-smd: Add PM8916 support Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-09-09 00:40 +0200
  [PATCH 08/11] arm: dts: Add RPM/SMD support on APQ8084 Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 09/11] arm: dts: Add support for PMA8084 on APQ8084 Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 07/11] arm: dts: Add APQ8084 SMEM nodes Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 01/11] soc: qcom: documentation: Update SMD/RPM Docs Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 11/11] arm: dts: Add RPM SMD regulator support on MSM8974 Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
    Re: [PATCH 11/11] arm: dts: Add RPM SMD regulator support on MSM8974 Andy Gross <agross@codeaurora.org> - 2015-09-09 21:10 +0200
  [PATCH 06/11] regulators: qcom-smd: Add PM8916 support Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
    Re: [PATCH 06/11] regulators: qcom-smd: Add PM8916 support Andy Gross <agross@codeaurora.org> - 2015-09-09 21:10 +0200
  [PATCH 04/11] arm64: dts: qcom: Add RPM/SMD support on MSM8916 Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200
  [PATCH 03/11] arm64: dts: qcom: Add MSM8916 SMEM nodes Andy Gross <agross@codeaurora.org> - 2015-09-08 23:40 +0200

csiph-web