ARM: dts: qcom: msm8974: move regulators to board files
The vph-pwr and boost regulators (even if they are unified by design) are not a property of SoC, so move them to board files. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230928110309.1212221-33-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
4187a3f87b
commit
74eafc5f82
@ -49,6 +49,33 @@
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_uart2 {
|
||||
|
@ -60,6 +60,33 @@
|
||||
enable-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
vreg_wlan: wlan-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
|
@ -65,6 +65,33 @@
|
||||
pmsg-size = <0x80000>;
|
||||
};
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c2 {
|
||||
|
@ -2408,31 +2408,4 @@
|
||||
<GIC_PPI 1 0xf08>;
|
||||
clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
@ -57,6 +57,33 @@
|
||||
enable-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
|
||||
vcc-supply = <&pm8941_l18>;
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c2 {
|
||||
|
@ -51,6 +51,33 @@
|
||||
debounce-interval = <150>;
|
||||
};
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c1 {
|
||||
|
@ -155,7 +155,15 @@
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
/delete-node/ vreg-boost;
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c2 {
|
||||
|
@ -84,6 +84,33 @@
|
||||
pinctrl-0 = <&lcd_dcdc_en_pin_a>;
|
||||
};
|
||||
|
||||
vreg_boost: vreg-boost {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "vreg-boost";
|
||||
regulator-min-microvolt = <3150000>;
|
||||
regulator-max-microvolt = <3150000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
|
||||
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&boost_bypass_n_pin>;
|
||||
};
|
||||
|
||||
vreg_vph_pwr: vreg-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph-pwr";
|
||||
|
||||
regulator-min-microvolt = <3600000>;
|
||||
regulator-max-microvolt = <3600000>;
|
||||
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
vreg_wlan: wlan-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user