dtsi:thermal ntc dtsi init
Thermal ntc dtsi init at Guam/Gaump Change-Id: I06275e2e437eb7895ee3a698590b2c54cbf913cb Signed-off-by: xuwei9 <xuwei9@lenovo.com> Reviewed-on: https://gerrit.mot.com/1515656 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
ae78e14173
commit
266e98b697
3 files changed
+112
No files matched your search
@@ -18,6 +18,8 @@
|
|||||||
#include "bengal-guam-touchscreen-overlay.dtsi"
|
#include "bengal-guam-touchscreen-overlay.dtsi"
|
||||||
#include "camera/bengal-camera-sensor-mot-guam-overlay.dtsi"
|
#include "camera/bengal-camera-sensor-mot-guam-overlay.dtsi"
|
||||||
#include "bengal-guam-fps.dtsi"
|
#include "bengal-guam-fps.dtsi"
|
||||||
|
#include "bengal-guam-moto-thermal.dtsi"
|
||||||
|
|
||||||
&qupv3_se4_2uart {
|
&qupv3_se4_2uart {
|
||||||
status = "ok"
|
status = "ok"
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,109 @@
|
|||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/iio/qcom,spmi-vadc.h>
|
||||||
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
sys_temp_support {
|
||||||
|
compatible = "mmi,sys-temp";
|
||||||
|
mmi,temperature-names = "front_temp",
|
||||||
|
"back_temp";
|
||||||
|
status = "ok"
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&thermal_zones {
|
||||||
|
camera-therm-usr {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
camera_therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-governor = "user_space";
|
||||||
|
thermal-sensors = <&pm6125_adc_tm_iio ADC_GPIO1_PU2>;
|
||||||
|
wake-capable-sensor;
|
||||||
|
trips {
|
||||||
|
active-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
xo-therm-usr {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
xo_therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-governor = "user_space";
|
||||||
|
thermal-sensors = <&pm6125_adc_tm ADC_XO_THERM_PU2>;
|
||||||
|
wake-capable-sensor;
|
||||||
|
trips {
|
||||||
|
active-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pa-therm0-usr {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
pa_therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-governor = "user_space";
|
||||||
|
thermal-sensors = <&pm6125_adc_tm ADC_AMUX_THM1_PU2>;
|
||||||
|
wake-capable-sensor;
|
||||||
|
trips {
|
||||||
|
active-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
quiet-therm-usr {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
msm-therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-governor = "user_space";
|
||||||
|
thermal-sensors = <&pm6125_adc_tm ADC_AMUX_THM2_PU2>;
|
||||||
|
wake-capable-sensor;
|
||||||
|
trips {
|
||||||
|
active-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
chg-skin-therm-usr {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
chg_therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-governor = "user_space";
|
||||||
|
thermal-sensors = <&pmi632_adc_tm ADC_GPIO2_PU2>;
|
||||||
|
wake-capable-sensor;
|
||||||
|
trips {
|
||||||
|
active-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
#include "bengal-guam-audio-overlay.dtsi"
|
#include "bengal-guam-audio-overlay.dtsi"
|
||||||
#include "bengal-guam-touchscreen-overlay.dtsi"
|
#include "bengal-guam-touchscreen-overlay.dtsi"
|
||||||
#include "camera/bengal-camera-sensor-mot-guamp-overlay.dtsi"
|
#include "camera/bengal-camera-sensor-mot-guamp-overlay.dtsi"
|
||||||
|
#include "bengal-guam-moto-thermal.dtsi"
|
||||||
|
|
||||||
&qupv3_se4_2uart {
|
&qupv3_se4_2uart {
|
||||||
status = "ok"
|
status = "ok"
|
||||||
|
|||||||
Reference in new issue
Block a user