summaryrefslogtreecommitdiff
path: root/qcom/sdxbaagha-pmic-overlay.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/sdxbaagha-pmic-overlay.dtsi')
-rwxr-xr-xqcom/sdxbaagha-pmic-overlay.dtsi33
1 files changed, 19 insertions, 14 deletions
diff --git a/qcom/sdxbaagha-pmic-overlay.dtsi b/qcom/sdxbaagha-pmic-overlay.dtsi
index 1a54923c..801e0405 100755
--- a/qcom/sdxbaagha-pmic-overlay.dtsi
+++ b/qcom/sdxbaagha-pmic-overlay.dtsi
@@ -23,11 +23,13 @@
};
&qupv3_se4_i2c {
- smb23x-lbc@24 {
+ status = "ok";
+ smb23x-lbc@12 {
compatible = "qcom,smb231-lbc";
- reg = <0x24>;
- interrupt-parent = <&pmx35_gpios>;
- interrupts = <&pmx35_gpios 7 IRQ_TYPE_LEVEL_LOW>;
+ reg = <0x12>;
+ interrupt-parent = <&spmi_bus>;
+ interrupts = <0x0 0x8E 0x0 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-names = "smb23x_stat_irq";
pinctrl-names = "default";
pinctrl-0 = <&smb_int_default>;
#io-channel-cells = <1>;
@@ -55,7 +57,7 @@
&soc {
pmic-pon-log {
compatible = "qcom,pmic-pon-log";
- nvmem = <&pmx35_sdam_2>;
+ nvmem = <&pmx35_sdam_5>;
nvmem-names = "pon_log";
};
};
@@ -115,8 +117,13 @@
};
+&pmx35_tz {
+ io-channels = <&pmx35_vadc PMX35_ADC5_GEN3_DIE_TEMP>;
+ io-channel-names = "thermal";
+};
+
&thermal_zones {
- sys-therm-0 {
+ sys-therm-1 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM1_100K_PU>;
@@ -135,10 +142,10 @@
};
};
- sys-therm-1 {
+ sys-therm-2 {
polling-delay-passive = <0>;
polling-delay = <0>;
- thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM3_100K_PU>;
+ thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM2_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -154,10 +161,10 @@
};
};
- sys-therm-2 {
+ sys-therm-3 {
polling-delay-passive = <0>;
polling-delay = <0>;
- thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM5_100K_PU>;
+ thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM3_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -173,12 +180,10 @@
};
};
- sys-therm-3 {
+ xo-therm {
polling-delay-passive = <0>;
polling-delay = <0>;
- thermal-governor = "user_space";
- thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM2_100K_PU>;
- wake-capable-sensor;
+ thermal-sensors = <&pmx35_vadc PMX35_ADC5_GEN3_AMUX_THM5_100K_PU>;
trips {
active-config0 {
temperature = <125000>;