mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
arm64/dts:miami ntc config
miami: ntc bringup Change-Id: I777ada48c9919fc250d76288384f2e2546607f7a Signed-off-by: Jiacheng Ou <oujc1@motorola.com> Reviewed-on: https://gerrit.mot.com/2235699 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
f20c73e827
commit
e0e4908332
1 changed files with 56 additions and 30 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include "discrete_charging_miami.dtsi"
|
||||
#include "discrete-rt-pd-manger.dtsi"
|
||||
#include "blair-miami-audio-overlay.dtsi"
|
||||
#include "moto_therm_sys_temp.dtsi"
|
||||
|
||||
&wcd937x_codec {
|
||||
cdc-vdd-rxtx-supply = <&L9A>;
|
||||
|
|
@ -360,6 +361,47 @@
|
|||
};
|
||||
};
|
||||
|
||||
&pmr735a_gpios {
|
||||
camera_therm {
|
||||
camera_therm_default:camera_therm_default {
|
||||
pins = "gpio3";
|
||||
bias-high-impedance;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pmr735a_vadc {
|
||||
status = "ok"
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&camera_therm_default>;
|
||||
|
||||
pmr735a_camera_therm {
|
||||
reg = <ADC7_GPIO3_100K_PU>;
|
||||
label = "pmr735a_camera_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pmr735a_4{
|
||||
pmr735a_adc_tm_iio: adc_tm@3400 {
|
||||
compatible = "qcom,adc-tm5-iio";
|
||||
reg = <0x3400>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
io-channels = <&pmr735a_vadc ADC7_GPIO3_100K_PU>;
|
||||
|
||||
pmr735a_camera_therm {
|
||||
reg = <ADC7_GPIO3_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
sdm-skin-therm-usr {
|
||||
status = "disabled";
|
||||
|
|
@ -382,36 +424,6 @@
|
|||
xo-therm-usr {
|
||||
status = "disabled";
|
||||
};
|
||||
chg_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM2_100K_PU>;
|
||||
wake-capable-sensor;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb_conn_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM4_100K_PU>;
|
||||
wake-capable-sensor;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
msm_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
|
|
@ -427,8 +439,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
rfc_camera_therm {
|
||||
chg_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
|
|
@ -443,22 +454,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
cam_flash_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
thermal-sensors = <&pm6125_adc_tm ADC5_GPIO3_100K_PU>;
|
||||
wake-capable-sensor;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pa_therm1 {
|
||||
pa_therm2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
|
|
@ -473,7 +469,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
pa_therm2 {
|
||||
pa_therm1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
|
|
@ -502,6 +498,36 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
thermal-sensors = <&pmr735a_adc_tm_iio ADC7_GPIO3_100K_PU>;
|
||||
wake-capable-sensor;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xo_therm {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "user_space";
|
||||
thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM1_100K_PU>;
|
||||
wake-capable-sensor;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gcc {
|
||||
|
|
|
|||
Loading…
Reference in a new issue