arm/dts: config ntc for corfuq and corfur

dts/ntc
config ntc for corfuq and corfur product

Change-Id: Ia75809ce649690ce41d6466bc3bb364c088a7e3d
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2004470
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yongbin Chen <chenyb1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
chailu1 2021-07-07 14:18:48 +08:00 • committed by panyq6
commit adfe4faf76
2 changed files with 35 additions and 30 deletions

View file

@ -15,7 +15,6 @@
//#include "corfup-touchscreen.dtsi"
//#include "corfup-fps-overlay.dtsi"
//#include "camera/holi-camera-sensor-mot-corfup-overlay.dtsi"
//#include "moto_therm_sys_temp.dtsi"
#include "holi-pm6125-moto-common-overlay.dtsi"
@ -30,6 +29,7 @@
#include "corfuq-display.dtsi"
#include "corfuq-touchscreen.dtsi"
#include "holi-audio-wcd9370-aw882xx-acf-overlay.dtsi"
#include "moto_therm_sys_temp.dtsi"
#include "corfup-charger.dtsi"
#include "camera/holi-camera-sensor-mot-corfup-overlay.dtsi"
#include "camera/holi-camera-sensor-mot-corfup-dvt1-overlay.dtsi"
@ -544,7 +544,6 @@
};
};
/*
&thermal_zones {
pa-therm0-usr {
status = "disabled";
@ -573,11 +572,15 @@
xo-therm-usr {
status = "disabled";
};
rear-cam-therm-usr {
status = "disabled";
};
pa_therm2 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM1_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_GPIO4_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -587,11 +590,12 @@
};
};
};
msm_therm {
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm_iio ADC5_AMUX_THM2_100K_PU>;
thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO1_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -602,10 +606,10 @@
};
};
pa_therm3 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM3_100K_PU>;
thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -616,10 +620,10 @@
};
};
pa_therm1 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO3_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_AMUX_THM1_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -633,7 +637,7 @@
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO4_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_AMUX_THM2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -689,7 +693,7 @@
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm_iio ADC5_GPIO2_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_GPIO3_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -714,7 +718,6 @@
};
};
};
*/
&pm8008_8 {
status = "disabled";

View file

@ -15,7 +15,6 @@
//#include "corfup-touchscreen.dtsi"
//#include "corfup-fps-overlay.dtsi"
//#include "camera/holi-camera-sensor-mot-corfup-overlay.dtsi"
//#include "moto_therm_sys_temp.dtsi"
#include "holi-pm6125-moto-common-overlay.dtsi"
@ -31,6 +30,7 @@
#include "corfuq-display.dtsi"
#include "corfuq-touchscreen.dtsi"
#include "holi-audio-wcd9370-aw882xx-acf-overlay.dtsi"
#include "moto_therm_sys_temp.dtsi"
#include "corfup-charger.dtsi"
&smb1394 {
@ -545,7 +545,6 @@
};
};
/*
&thermal_zones {
pa-therm0-usr {
status = "disabled";
@ -574,11 +573,15 @@
xo-therm-usr {
status = "disabled";
};
rear-cam-therm-usr {
status = "disabled";
};
pa_therm2 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM1_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_GPIO4_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -592,7 +595,7 @@
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm_iio ADC5_AMUX_THM2_100K_PU>;
thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO1_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -603,10 +606,10 @@
};
};
pa_therm3 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM3_100K_PU>;
thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -617,10 +620,10 @@
};
};
pa_therm1 {
polling-delay-passive = <0>;
polling-delay = <0>;
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO3_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_AMUX_THM1_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -634,7 +637,7 @@
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO4_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_AMUX_THM2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -690,7 +693,7 @@
polling-delay-passive = <5000>;
polling-delay = <20000>;
thermal-governor = "user_space";
thermal-sensors = <&pm6150l_adc_tm_iio ADC5_GPIO2_100K_PU>;
thermal-sensors = <&pm6125_adc_tm ADC5_GPIO3_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -715,7 +718,6 @@
};
};
};
*/
&pm8008_8 {
status = "disabled";