diff options
author | Florian Muller <mullerf@google.com> | 2021-10-14 18:27:53 -0700 |
---|---|---|
committer | Florian Muller <mullerf@google.com> | 2021-10-19 09:21:10 -0700 |
commit | 377531e6f8d3d47923b89bc1071b965821ac2629 (patch) | |
tree | 1777d4e2d359d662213643d18b943258376511a1 | |
parent | 6bcfaab6c794d431cda1eb9c4dcd01330efaa82a (diff) | |
download | devicetree-377531e6f8d3d47923b89bc1071b965821ac2629.tar.gz |
r11: disable power rails controller by modem
Test: Manual
Bug: 201737830
Signed-off-by: Florian Muller <mullerf@google.com>
Change-Id: I48b90199d18b037294a987610ff8cc86789c71b2
-rw-r--r-- | r11_btwifi_power.dtsi | 35 | ||||
-rw-r--r-- | r11_common.dtsi | 1 | ||||
-rw-r--r-- | r11_evt11_btwifi_overlay.dts | 2 | ||||
-rw-r--r-- | r11_evt11_overlay.dts | 1 | ||||
-rw-r--r-- | r11_evt1_btwifi_overlay.dts | 2 | ||||
-rw-r--r-- | r11_evt1_overlay.dts | 1 | ||||
-rw-r--r-- | r11_proto1_btwifi_overlay.dts | 2 | ||||
-rw-r--r-- | r11_proto1_overlay.dts | 4 |
8 files changed, 47 insertions, 1 deletions
diff --git a/r11_btwifi_power.dtsi b/r11_btwifi_power.dtsi new file mode 100644 index 0000000..c621811 --- /dev/null +++ b/r11_btwifi_power.dtsi @@ -0,0 +1,35 @@ +/* +* Device Tree config for power railes controlled by CP and FEM_RF - BTWIFI SKU +*/ + +/* Disable power railes controlled by CP and FEM_RF */ +®ulators { + buck4_reg: BUCK4 { + regulator-name = "vdd_buck4"; + regulator-initial-mode = <0>; + }; + + ldo11_reg: LDO11 { + regulator-name = "vdd_ldo11"; + regulator-initial-mode = <0>; + }; + + ldo12_reg: LDO12 { + regulator-name = "vdd_ldo12"; + regulator-initial-mode = <0>; + }; + + ldo13_reg: LDO13 { + regulator-name = "vdd_ldo13"; + regulator-initial-mode = <0>; + }; + + ldo14_reg: LDO14 { + regulator-name = "vdd_ldo14"; + regulator-initial-mode = <0>; + }; +}; + +&ldo16_reg { + regulator-initial-mode = <0>; +}; diff --git a/r11_common.dtsi b/r11_common.dtsi index 40c84a4..03e6bcc 100644 --- a/r11_common.dtsi +++ b/r11_common.dtsi @@ -378,7 +378,6 @@ regulator-name = "vdd_ldo16"; regulator-min-microvolt = <2450000>; regulator-max-microvolt = <2450000>; - regulator-always-on; regulator-ramp-delay = <12000>; regulator-initial-mode = <3>; }; diff --git a/r11_evt11_btwifi_overlay.dts b/r11_evt11_btwifi_overlay.dts index 2228f56..f2e8e5a 100644 --- a/r11_evt11_btwifi_overlay.dts +++ b/r11_evt11_btwifi_overlay.dts @@ -20,6 +20,8 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/exynos9110.h> +#include "r11_btwifi_power.dtsi" + #include "r11_evt1_battery.dtsi" #include "r11_evt1_sound.dtsi" #include "r11_evt1_speaker.dtsi" diff --git a/r11_evt11_overlay.dts b/r11_evt11_overlay.dts index e8132ef..696b261 100644 --- a/r11_evt11_overlay.dts +++ b/r11_evt11_overlay.dts @@ -68,6 +68,7 @@ }; &ldo16_reg { + regulator-always-on; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; }; diff --git a/r11_evt1_btwifi_overlay.dts b/r11_evt1_btwifi_overlay.dts index 0ebfe62..f182c23 100644 --- a/r11_evt1_btwifi_overlay.dts +++ b/r11_evt1_btwifi_overlay.dts @@ -20,6 +20,8 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/exynos9110.h> +#include "r11_btwifi_power.dtsi" + #include "r11_evt1_battery.dtsi" #include "r11_evt1_sound.dtsi" #include "r11_evt1_speaker.dtsi" diff --git a/r11_evt1_overlay.dts b/r11_evt1_overlay.dts index 89f104a..c0b45da 100644 --- a/r11_evt1_overlay.dts +++ b/r11_evt1_overlay.dts @@ -67,6 +67,7 @@ }; &ldo16_reg { + regulator-always-on; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; }; diff --git a/r11_proto1_btwifi_overlay.dts b/r11_proto1_btwifi_overlay.dts index 579f13c..966f245 100644 --- a/r11_proto1_btwifi_overlay.dts +++ b/r11_proto1_btwifi_overlay.dts @@ -20,6 +20,8 @@ #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/exynos9110.h> +#include "r11_btwifi_power.dtsi" + #include "r11_proto1_battery.dtsi" #include "r11_proto1_sound.dtsi" #include "r11_proto1_speaker.dtsi" diff --git a/r11_proto1_overlay.dts b/r11_proto1_overlay.dts index 9b4afb9..4cbbabe 100644 --- a/r11_proto1_overlay.dts +++ b/r11_proto1_overlay.dts @@ -65,3 +65,7 @@ &ese_spi4 { status = "ok"; }; + +&ldo16_reg { + regulator-always-on; +}; |