ARM: dts: msm: Add PMIC ADC5 GEN3 channels for sun
Add VADC channels provided by pmk8550 that are used by thermal clients on Sun. Also, add the corresponding thermal zone devices. Change-Id: Ia3113ff6f5c76cd7f4582808b1672d3ddecadab7 Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
@@ -108,3 +108,236 @@
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
&pm8550_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550_ADC5_GEN3_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_f_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(5)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_j_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(9)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550ve_d_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(3)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550ve_g_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(6)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550ve_i_tz {
|
||||
io-channels = <&pmk8550_vadc PM8550VX_ADC5_GEN3_DIE_TEMP(8)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pmk8550_vadc {
|
||||
pm8550_skin_therm {
|
||||
reg = <PM8550_ADC5_GEN3_AMUX_THM1_100K_PU>;
|
||||
label = "pm8550_skin_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pm8550_cam_flash_therm {
|
||||
reg = <PM8550_ADC5_GEN3_AMUX_THM2_100K_PU>;
|
||||
label = "pm8550_cam_flash_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pm8550_wlan_therm {
|
||||
reg = <PM8550_ADC5_GEN3_AMUX_THM3_100K_PU>;
|
||||
label = "pm8550_wlan_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pm8550_pa_therm1 {
|
||||
reg = <PM8550_ADC5_GEN3_AMUX_THM4_100K_PU>;
|
||||
label = "pm8550_pa_therm_1";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pm8550_rear_tof_therm {
|
||||
reg = <PM8550_ADC5_GEN3_AMUX_THM5_100K_PU>;
|
||||
label = "pm8550_rear_tof_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmk8550_xo_therm {
|
||||
reg = <PMK8550_ADC5_GEN3_AMUX_THM1_XO_THERM_100K_PU>;
|
||||
label = "pmk8550_xo_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pm8550vs_f_die_temp {
|
||||
reg = <PM8550VX_ADC5_GEN3_DIE_TEMP(5)>;
|
||||
label = "pm8550vs_f_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm8550vs_j_die_temp {
|
||||
reg = <PM8550VX_ADC5_GEN3_DIE_TEMP(9)>;
|
||||
label = "pm8550vs_j_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm8550ve_d_die_temp {
|
||||
reg = <PM8550VX_ADC5_GEN3_DIE_TEMP(3)>;
|
||||
label = "pm8550ve_d_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm8550ve_g_die_temp {
|
||||
reg = <PM8550VX_ADC5_GEN3_DIE_TEMP(6)>;
|
||||
label = "pm8550ve_g_die_temp";
|
||||
qom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm8550ve_i_die_temp {
|
||||
reg = <PM8550VX_ADC5_GEN3_DIE_TEMP(8)>;
|
||||
label = "pm8550ve_i_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
sys-therm1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX_THM1_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sys-therm2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX_THM2_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sys-therm3 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX_THM3_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sys-therm4 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX_THM4_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sys-therm5 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX_THM5_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sys-therm6 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmk8550_vadc PMK8550_ADC5_GEN3_AMUX_THM1_XO_THERM_100K_PU>;
|
||||
trips {
|
||||
active-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
active-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user