| /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
| * |
| * 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. |
| */ |
| |
| #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
| |
| /* Stub regulators */ |
| / { |
| |
| /* |
| * RPMh does not provide support for PM8998 S4 because it is always-on |
| * at 1.8 V in auto mode. Therefore, use a stub regulator for S4. |
| */ |
| pm8998_s4: regulator-pm8998-s4 { |
| compatible = "qcom,stub-regulator"; |
| regulator-name = "pm8998_s4"; |
| qcom,hpm-min-load = <100000>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| &soc { |
| /* CPR controller regulators */ |
| apc0_cpr: cprh-ctrl@17dc0000 { |
| compatible = "qcom,cprh-sdm845-v1-kbss-regulator"; |
| reg = <0x17dc0000 0x4000>, |
| <0x00784000 0x1000>, |
| <0x17840000 0x1000>; |
| reg-names = "cpr_ctrl", "fuse_base", "saw"; |
| clocks = <&clock_gcc GCC_CPUSS_RBCPR_CLK>; |
| clock-names = "core_clk"; |
| qcom,cpr-ctrl-name = "apc0"; |
| qcom,cpr-controller-id = <0>; |
| |
| qcom,cpr-sensor-time = <1000>; |
| qcom,cpr-loop-time = <5000000>; |
| qcom,cpr-idle-cycles = <15>; |
| qcom,cpr-up-down-delay-time = <3000>; |
| qcom,cpr-step-quot-init-min = <11>; |
| qcom,cpr-step-quot-init-max = <12>; |
| qcom,cpr-count-mode = <0>; /* All at once */ |
| qcom,cpr-count-repeat = <1>; |
| qcom,cpr-down-error-step-limit = <1>; |
| qcom,cpr-up-error-step-limit = <1>; |
| qcom,cpr-corner-switch-delay-time = <1042>; |
| qcom,cpr-voltage-settling-time = <1760>; |
| |
| qcom,voltage-step = <4000>; |
| qcom,voltage-base = <352000>; |
| qcom,cpr-saw-use-unit-mV; |
| |
| qcom,saw-avs-ctrl = <0x101C031>; |
| qcom,saw-avs-limit = <0x3A00000>; |
| |
| qcom,cpr-panic-reg-addr-list = |
| <0x17dc3a84 0x17dc3a88 0x17840c18>; |
| qcom,cpr-panic-reg-name-list = |
| "APSS_SILVER_CPRH_STATUS_0", |
| "APSS_SILVER_CPRH_STATUS_1", |
| "SILVER_SAW4_PMIC_STS"; |
| |
| thread@1 { |
| qcom,cpr-thread-id = <1>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <2>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc0_pwrcl_vreg: regulator { |
| regulator-name = "apc0_pwrcl_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <17>; |
| |
| qcom,cpr-fuse-corners = <3>; |
| qcom,cpr-fuse-combos = <8>; |
| qcom,cpr-speed-bins = <1>; |
| qcom,cpr-speed-bin-corners = <17>; |
| qcom,cpr-corners = <17>; |
| |
| qcom,cpr-corner-fmax-map = <6 12 17>; |
| |
| qcom,cpr-voltage-ceiling = |
| <688000 688000 688000 688000 688000 |
| 688000 756000 756000 756000 812000 |
| 812000 812000 872000 872000 872000 |
| 872000 928000>; |
| |
| qcom,cpr-voltage-floor = |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 584000 |
| 584000 584000 632000 632000 632000 |
| 632000 672000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000>; |
| |
| qcom,corner-frequencies = |
| <300000000 422400000 499200000 |
| 576000000 652800000 748800000 |
| 825600000 902400000 979200000 |
| 1056000000 1132800000 1209600000 |
| 1286400000 1363200000 1440000000 |
| 1516800000 1593600000>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| <100000 100000 100000>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| }; |
| }; |
| |
| thread@0 { |
| qcom,cpr-thread-id = <0>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <2>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc0_l3_vreg: regulator { |
| regulator-name = "apc0_l3_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <9>; |
| |
| qcom,cpr-fuse-corners = <3>; |
| qcom,cpr-fuse-combos = <8>; |
| qcom,cpr-speed-bins = <1>; |
| qcom,cpr-speed-bin-corners = <9>; |
| qcom,cpr-corners = <9>; |
| |
| qcom,cpr-corner-fmax-map = <4 7 9>; |
| |
| qcom,cpr-voltage-ceiling = |
| <688000 688000 688000 688000 756000 |
| 812000 812000 872000 928000>; |
| |
| qcom,cpr-voltage-floor = |
| <568000 568000 568000 568000 568000 |
| 584000 584000 632000 672000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000>; |
| |
| qcom,corner-frequencies = |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| <100000 100000 100000>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| }; |
| }; |
| }; |
| |
| apc1_cpr: cprh-ctrl@17db0000 { |
| compatible = "qcom,cprh-sdm845-kbss-regulator"; |
| reg = <0x17db0000 0x4000>, |
| <0x00784000 0x1000>, |
| <0x17830000 0x1000>; |
| reg-names = "cpr_ctrl", "fuse_base", "saw"; |
| clocks = <&clock_gcc GCC_CPUSS_RBCPR_CLK>; |
| clock-names = "core_clk"; |
| qcom,cpr-ctrl-name = "apc1"; |
| qcom,cpr-controller-id = <1>; |
| |
| qcom,cpr-sensor-time = <1000>; |
| qcom,cpr-loop-time = <5000000>; |
| qcom,cpr-idle-cycles = <15>; |
| qcom,cpr-up-down-delay-time = <3000>; |
| qcom,cpr-step-quot-init-min = <9>; |
| qcom,cpr-step-quot-init-max = <14>; |
| qcom,cpr-count-mode = <0>; /* All at once */ |
| qcom,cpr-count-repeat = <1>; |
| qcom,cpr-down-error-step-limit = <1>; |
| qcom,cpr-up-error-step-limit = <1>; |
| qcom,cpr-corner-switch-delay-time = <1042>; |
| qcom,cpr-voltage-settling-time = <1760>; |
| |
| qcom,apm-threshold-voltage = <800000>; |
| qcom,apm-crossover-voltage = <880000>; |
| qcom,mem-acc-threshold-voltage = <852000>; |
| qcom,mem-acc-crossover-voltage = <852000>; |
| |
| qcom,voltage-step = <4000>; |
| qcom,voltage-base = <352000>; |
| qcom,cpr-saw-use-unit-mV; |
| |
| qcom,saw-avs-ctrl = <0x101C031>; |
| qcom,saw-avs-limit = <0x4200000>; |
| |
| qcom,cpr-panic-reg-addr-list = |
| <0x17db3a84 0x17830c18>; |
| qcom,cpr-panic-reg-name-list = |
| "APSS_GOLD_CPRH_STATUS_0", "GOLD_SAW4_PMIC_STS"; |
| |
| thread@0 { |
| qcom,cpr-thread-id = <0>; |
| qcom,cpr-consecutive-up = <0>; |
| qcom,cpr-consecutive-down = <2>; |
| qcom,cpr-up-threshold = <2>; |
| qcom,cpr-down-threshold = <2>; |
| |
| apc1_perfcl_vreg: regulator { |
| regulator-name = "apc1_perfcl_corner"; |
| regulator-min-microvolt = <1>; |
| regulator-max-microvolt = <24>; |
| |
| qcom,cpr-fuse-corners = <3>; |
| qcom,cpr-fuse-combos = <8>; |
| qcom,cpr-speed-bins = <1>; |
| qcom,cpr-speed-bin-corners = <22>; |
| qcom,cpr-corners = <22>; |
| |
| qcom,cpr-corner-fmax-map = |
| <10 17 22>; |
| |
| qcom,cpr-voltage-ceiling = |
| <756000 756000 756000 756000 756000 |
| 756000 756000 756000 756000 756000 |
| 812000 812000 828000 828000 828000 |
| 828000 828000 884000 952000 952000 |
| 1056000 1056000>; |
| |
| qcom,cpr-voltage-floor = |
| <568000 568000 568000 568000 568000 |
| 568000 568000 568000 568000 568000 |
| 584000 584000 632000 632000 632000 |
| 632000 632000 672000 712000 712000 |
| 772000 772000>; |
| |
| qcom,cpr-floor-to-ceiling-max-range = |
| <32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 32000 32000 32000 |
| 32000 32000 40000 40000 40000 |
| 40000 40000>; |
| |
| qcom,corner-frequencies = |
| <300000000 422400000 499200000 |
| 576000000 652800000 729600000 |
| 806400000 883200000 960000000 |
| 1036800000 1113600000 1190400000 |
| 1267200000 1344000000 1420800000 |
| 1497600000 1574400000 1651200000 |
| 1728000000 1804800000 1881600000 |
| 1958400000>; |
| |
| qcom,cpr-open-loop-voltage-fuse-adjustment = |
| <100000 100000 100000>; |
| |
| qcom,allow-voltage-interpolation; |
| qcom,allow-quotient-interpolation; |
| qcom,cpr-scaled-open-loop-voltage-as-ceiling; |
| }; |
| }; |
| }; |
| |
| /* RPMh regulators: */ |
| |
| /* PM8998 S1 = VDD_EBI supply */ |
| rpmh-regulator-ebilvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ebi.lvl"; |
| pm8998_s1_level: regulator-s1 { |
| regulator-name = "pm8998_s1_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa2"; |
| pm8998_s2: regulator-s2 { |
| regulator-name = "pm8998_s2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1100000>; |
| regulator-max-microvolt = <1100000>; |
| qcom,init-voltage = <1100000>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa3"; |
| pm8998_s3: regulator-s3 { |
| regulator-name = "pm8998_s3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1352000>; |
| regulator-max-microvolt = <1352000>; |
| qcom,init-voltage = <1352000>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa5 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa5"; |
| pm8998_s5: regulator-s5 { |
| regulator-name = "pm8998_s5"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1904000>; |
| regulator-max-microvolt = <2040000>; |
| qcom,init-voltage = <1904000>; |
| }; |
| }; |
| |
| /* PM8998 S6 = VDD_MX supply */ |
| rpmh-regulator-mxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "mx.lvl"; |
| pm8998_s6_level: regulator-s6-level { |
| regulator-name = "pm8998_s6_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| |
| pm8998_s6_level_ao: regulator-s6-level-ao { |
| regulator-name = "pm8998_s6_level_ao"; |
| qcom,set = <RPMH_REGULATOR_SET_ACTIVE>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-smpa7 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpa7"; |
| pm8998_s7: regulator-s7 { |
| regulator-name = "pm8998_s7"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <900000>; |
| regulator-max-microvolt = <1028000>; |
| qcom,init-voltage = <900000>; |
| }; |
| }; |
| |
| /* PM8998 S9 + S8 = VDD_CX supply */ |
| rpmh-regulator-cxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "cx.lvl"; |
| pm8998_s9_level-parent-supply = <&pm8998_s6_level>; |
| pm8998_s9_level_ao-parent-supply = <&pm8998_s6_level_ao>; |
| pm8998_s9_level: regulator-s9-level { |
| regulator-name = "pm8998_s9_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| qcom,min-dropout-voltage-level = <(-1)>; |
| }; |
| |
| pm8998_s9_level_ao: regulator-s9-level-ao { |
| regulator-name = "pm8998_s9_level_ao"; |
| qcom,set = <RPMH_REGULATOR_SET_ACTIVE>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| qcom,min-dropout-voltage-level = <(-1)>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa1"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l1: regulator-l1 { |
| regulator-name = "pm8998_l1"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <880000>; |
| regulator-max-microvolt = <880000>; |
| qcom,init-voltage = <880000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa2"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 30000>; |
| pm8998_l2: regulator-l2 { |
| regulator-name = "pm8998_l2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1200000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa3"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l3: regulator-l3 { |
| regulator-name = "pm8998_l3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1000000>; |
| regulator-max-microvolt = <1000000>; |
| qcom,init-voltage = <1000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| /* PM8998 L4 = VDD_SSC_MX supply */ |
| rpmh-regulator-lmxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "lmx.lvl"; |
| pm8998_l4_level: regulator-l4-level { |
| regulator-name = "pm8998_l4_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa5 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa5"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l5: regulator-l5 { |
| regulator-name = "pm8998_l5"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <800000>; |
| regulator-max-microvolt = <800000>; |
| qcom,init-voltage = <800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa6 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa6"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l6: regulator-l6 { |
| regulator-name = "pm8998_l6"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1856000>; |
| regulator-max-microvolt = <1856000>; |
| qcom,init-voltage = <1856000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa7 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa7"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l7: regulator-l7 { |
| regulator-name = "pm8998_l7"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa8 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa8"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l8: regulator-l8 { |
| regulator-name = "pm8998_l8"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1200000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa9 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa9"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l9: regulator-l9 { |
| regulator-name = "pm8998_l9"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1808000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <1808000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa10 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa10"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l10: regulator-l10 { |
| regulator-name = "pm8998_l10"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1808000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <1808000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa11 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa11"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l11: regulator-l11 { |
| regulator-name = "pm8998_l11"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1000000>; |
| regulator-max-microvolt = <1000000>; |
| qcom,init-voltage = <1000000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa12 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa12"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l12: regulator-l12 { |
| regulator-name = "pm8998_l12"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa13 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa13"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l13: regulator-l13 { |
| regulator-name = "pm8998_l13"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1808000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <1808000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa14 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa14"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l14: regulator-l14 { |
| regulator-name = "pm8998_l14"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa15 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa15"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l15: regulator-l15 { |
| regulator-name = "pm8998_l15"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| qcom,init-voltage = <1800000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa16 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa16"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l16: regulator-l16 { |
| regulator-name = "pm8998_l16"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2704000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa17 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa17"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l17: regulator-l17 { |
| regulator-name = "pm8998_l17"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1304000>; |
| regulator-max-microvolt = <1304000>; |
| qcom,init-voltage = <1304000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa18 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa18"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l18: regulator-l18 { |
| regulator-name = "pm8998_l18"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2704000>; |
| regulator-max-microvolt = <2704000>; |
| qcom,init-voltage = <2704000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa19 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa19"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l19: regulator-l19 { |
| regulator-name = "pm8998_l19"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3008000>; |
| regulator-max-microvolt = <3008000>; |
| qcom,init-voltage = <3008000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa20 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa20"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l20: regulator-l20 { |
| regulator-name = "pm8998_l20"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2960000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <2960000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa21 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa21"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l21: regulator-l21 { |
| regulator-name = "pm8998_l21"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2960000>; |
| regulator-max-microvolt = <2960000>; |
| qcom,init-voltage = <2960000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa22 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa22"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l22: regulator-l22 { |
| regulator-name = "pm8998_l22"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <2864000>; |
| regulator-max-microvolt = <2864000>; |
| qcom,init-voltage = <2864000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa23 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa23"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l23: regulator-l23 { |
| regulator-name = "pm8998_l23"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3312000>; |
| regulator-max-microvolt = <3312000>; |
| qcom,init-voltage = <3312000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa24 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa24"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 10000>; |
| pm8998_l24-parent-supply = <&pm8998_l12>; |
| pm8998_l24: regulator-l24 { |
| regulator-name = "pm8998_l24"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3088000>; |
| regulator-max-microvolt = <3088000>; |
| qcom,init-voltage = <3088000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa25 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa25"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l25: regulator-l25 { |
| regulator-name = "pm8998_l25"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3104000>; |
| regulator-max-microvolt = <3104000>; |
| qcom,init-voltage = <3104000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa26 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa26"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l26: regulator-l26 { |
| regulator-name = "pm8998_l26"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1200000>; |
| regulator-max-microvolt = <1200000>; |
| qcom,init-voltage = <1200000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| /* PM8998 L27 = VDD_SSC_CX supply */ |
| rpmh-regulator-lcxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "lcx.lvl"; |
| pm8998_l27_level: regulator-l27-level { |
| regulator-name = "pm8998_l27_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-ldoa28 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "ldoa28"; |
| qcom,supported-modes = |
| <RPMH_REGULATOR_MODE_LDO_LPM |
| RPMH_REGULATOR_MODE_LDO_HPM>; |
| qcom,mode-threshold-currents = <0 1>; |
| pm8998_l28: regulator-l28 { |
| regulator-name = "pm8998_l28"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3008000>; |
| regulator-max-microvolt = <3008000>; |
| qcom,init-voltage = <3008000>; |
| qcom,init-mode = <RPMH_REGULATOR_MODE_LDO_LPM>; |
| }; |
| }; |
| |
| rpmh-regulator-vsa1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "vsa1"; |
| pm8998_lvs1: regulator-lvs1 { |
| regulator-name = "pm8998_lvs1"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| rpmh-regulator-vsa2 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "vsa2"; |
| pm8998_lvs2: regulator-lvs2 { |
| regulator-name = "pm8998_lvs2"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| }; |
| }; |
| |
| rpmh-regulator-bobb1 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "bobb1"; |
| pmi8998_bob: regulator-bob { |
| regulator-name = "pmi8998_bob"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <3312000>; |
| regulator-max-microvolt = <3600000>; |
| qcom,init-voltage = <3312000>; |
| }; |
| }; |
| |
| /* PM8005 S1 + S4 = 2 phase VDD_GFX supply */ |
| rpmh-regulator-gfxlvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "gfx.lvl"; |
| pm8005_s1_level: regulator-s1-level { |
| regulator-name = "pm8005_s1_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| /* PM8005 S2 = VDD_MODEM supply */ |
| rpmh-regulator-msslvl { |
| compatible = "qcom,rpmh-arc-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "mss.lvl"; |
| pm8005_s2_level: regulator-s2-level { |
| regulator-name = "pm8005_s2_level"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <RPMH_REGULATOR_LEVEL_OFF>; |
| regulator-max-microvolt = <RPMH_REGULATOR_LEVEL_MAX>; |
| }; |
| }; |
| |
| rpmh-regulator-smpc3 { |
| compatible = "qcom,rpmh-vrm-regulator"; |
| mboxes = <&apps_rsc 0>; |
| qcom,resource-name = "smpc3"; |
| pm8005_s3: regulator-s3 { |
| regulator-name = "pm8005_s3"; |
| qcom,set = <RPMH_REGULATOR_SET_ALL>; |
| regulator-min-microvolt = <600000>; |
| regulator-max-microvolt = <600000>; |
| qcom,init-voltage = <600000>; |
| }; |
| }; |
| }; |