Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57882134 authored by Prasadarao Durvasula's avatar Prasadarao Durvasula Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add qcom regulator-hw-type DT property



Add "qcom,regulator-hw-type" device tree property
to identify the right mode values for PMIC4.
Also rename the mdm9607-rpm-regulator.dtsi file to
pm8019-rpm-regulator.dtsi to align with the current
kernel naming convention.

Change-Id: I7ce5e1d443e255596cf1328240ee38afd1413d8e
Signed-off-by: default avatarSuresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent 81d75655
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
 * GNU General Public License for more details.
 */

&rpm_bus {
&rpm_requests {
	rpm-regulator-smpa2 {
		status = "okay";
		mdm9607_s2: regulator-s2 {
+1 −1
Original line number Diff line number Diff line
@@ -1821,7 +1821,7 @@
	};
};

#include "mdm9607-rpm-regulator.dtsi"
#include "pm8019-rpm-regulator.dtsi"
#include "pm8019.dtsi"
#include "mdm9607-regulator.dtsi"

+15 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
 * GNU General Public License for more details.
 */

&rpm_bus {
&rpm_requests {
	rpm-regulator-smpa1 {
		qcom,resource-name = "smpa";
		qcom,resource-id = <1>;
@@ -80,6 +80,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <1>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -96,6 +97,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <2>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <5000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -112,6 +114,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <3>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -128,6 +131,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <4>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <5000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -144,6 +148,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <5>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -160,6 +165,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <6>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -176,6 +182,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <7>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -192,6 +199,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <8>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -208,6 +216,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <9>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -224,6 +233,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <10>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -240,6 +250,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <11>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -256,6 +267,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <12>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -272,6 +284,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <13>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";
@@ -288,6 +301,7 @@
		qcom,resource-name = "ldoa";
		qcom,resource-id = <14>;
		qcom,regulator-type = <0>;
		qcom,regulator-hw-type = "pmic4-ldo";
		qcom,hpm-min-load = <10000>;
		compatible = "qcom,rpm-smd-regulator-resource";
		status = "disabled";