2024-09-09 08:57:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
2024-09-09 08:52:07 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
|
|
* only version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
&rpm_bus {
|
|
|
|
rpm-regulator-smpa1 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "smpa";
|
|
|
|
qcom,resource-id = <1>;
|
|
|
|
qcom,regulator-type = <1>;
|
|
|
|
qcom,hpm-min-load = <100000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-s1 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_s1";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
rpm-regulator-smpa2 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "smpa";
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,resource-id = <2>;
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,regulator-type = <1>;
|
|
|
|
qcom,hpm-min-load = <100000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-s2 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_s2";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
rpm-regulator-smpa3 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "smpa";
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,resource-id = <3>;
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,regulator-type = <1>;
|
|
|
|
qcom,hpm-min-load = <100000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-s3 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_s3";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
rpm-regulator-smpa4 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
|
|
|
qcom,resource-name = "smpa";
|
|
|
|
qcom,resource-id = <4>;
|
|
|
|
qcom,regulator-type = <1>;
|
|
|
|
qcom,hpm-min-load = <100000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-s4 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_s4";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa2 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <2>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l2 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l2";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa3 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <3>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l3 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l3";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa5 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <5>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l5 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l5";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa6 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <6>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l6 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l6";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa7 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <7>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l7 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l7";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa8 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <8>;
|
|
|
|
qcom,regulator-type = <0>;
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,hpm-min-load = <10000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l8 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l8";
|
|
|
|
qcom,set = <3>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa9 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <9>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l9 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l9";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa10 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <10>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l10 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l10";
|
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa11 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <11>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l11 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l11";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa12 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <12>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l12 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l12";
|
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa13 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <13>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <5000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l13 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l13";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa14 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <14>;
|
|
|
|
qcom,regulator-type = <0>;
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,hpm-min-load = <5000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l14 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l14";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa15 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <15>;
|
|
|
|
qcom,regulator-type = <0>;
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,hpm-min-load = <5000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l15 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l15";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa16 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <16>;
|
|
|
|
qcom,regulator-type = <0>;
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,hpm-min-load = <5000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l16 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l16";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa17 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <17>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l17 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l17";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
rpm-regulator-ldoa19 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
|
|
|
qcom,resource-id = <19>;
|
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
regulator-l19 {
|
2024-09-09 08:57:42 +00:00
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l19";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
rpm-regulator-ldoa22 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,resource-id = <22>;
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,regulator-type = <0>;
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,hpm-min-load = <10000>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-l22 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l22";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
rpm-regulator-ldoa23 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,resource-name = "ldoa";
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,resource-id = <23>;
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,regulator-type = <0>;
|
|
|
|
qcom,hpm-min-load = <10000>;
|
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-l23 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "pm8950_l23";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
/* Regulator to notify APC corner to RPM */
|
|
|
|
rpm-regulator-clk0 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator-resource";
|
|
|
|
qcom,resource-name = "clk0";
|
|
|
|
qcom,resource-id = <3>;
|
|
|
|
qcom,regulator-type = <1>;
|
2024-09-09 08:52:07 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
regulator-clk0 {
|
|
|
|
compatible = "qcom,rpm-smd-regulator";
|
|
|
|
regulator-name = "rpm_apc";
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,set = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|