mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 21:31:03 +02:00
arm64: dts: qcom: sm8550-hdk: add SPMI ADC channels and thermal nodes
Add the SPMI ADC channels on the PMK8550 SPMI5 ADC3 for the other PMICS on the system. The thermal nodes are sorted by the sensor channel to be coherent with the system thermal nodes ordering. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260721-topic-sm8x50-adc5-gen3-v6-3-a507f4a1e537@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
c50667eab2
commit
972848c369
|
|
@ -280,6 +280,92 @@ platform {
|
|||
};
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
skin-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX1_THM_100K_PU(1)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cam-flash-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX2_THM_100K_PU(1)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wlan-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX3_THM_100K_PU(1)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pa-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX4_THM_100K_PU(1)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
rear-tof-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX5_THM_100K_PU(1)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX4_THM_100K_PU(7)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wls-thermal {
|
||||
thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX6_THM_100K_PU(7)>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wcn7850-pmu {
|
||||
compatible = "qcom,wcn7850-pmu";
|
||||
|
||||
|
|
@ -1100,27 +1186,218 @@ led@3 {
|
|||
};
|
||||
};
|
||||
|
||||
&pm8550_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(1)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550b_eusb2_repeater {
|
||||
vdd18-supply = <&vreg_l15b_1p8>;
|
||||
vdd3-supply = <&vreg_l5b_3p1>;
|
||||
};
|
||||
|
||||
&pm8550b_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(7)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8550vs_c_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(2)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_d {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8550vs_d_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(3)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_e {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8550vs_e_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(4)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550vs_g {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8550vs_g_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(6)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pm8550ve_temp_alarm {
|
||||
io-channels = <&pmk8550_vadc ADC5_GEN3_DIE_TEMP(PMK8550VE_SID)>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&pmk8550_vadc {
|
||||
/* PM8550 Channel nodes */
|
||||
channel@100 {
|
||||
reg = <ADC5_GEN3_REF_GND(1)>;
|
||||
label = "pm8550_offset_ref";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@101 {
|
||||
reg = <ADC5_GEN3_1P25VREF(1)>;
|
||||
label = "pm8550_vref_1p25";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@103 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(1)>;
|
||||
label = "pm8550_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@144 {
|
||||
reg = <ADC5_GEN3_AMUX1_THM_100K_PU(1)>;
|
||||
label = "pm8550_msm_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@145 {
|
||||
reg = <ADC5_GEN3_AMUX2_THM_100K_PU(1)>;
|
||||
label = "pm8550_cam_flash_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@146 {
|
||||
reg = <ADC5_GEN3_AMUX3_THM_100K_PU(1)>;
|
||||
label = "pm8550_wlan_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@147 {
|
||||
reg = <ADC5_GEN3_AMUX4_THM_100K_PU(1)>;
|
||||
label = "pm8550_pa_therm_1";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@148 {
|
||||
reg = <ADC5_GEN3_AMUX5_THM_100K_PU(1)>;
|
||||
label = "pm8550_rear_tof_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@18e {
|
||||
reg = <ADC5_GEN3_VPH_PWR(1)>;
|
||||
label = "pm8550_vph_pwr";
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
/* PM8550VS_C Channel nodes */
|
||||
channel@203 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(2)>;
|
||||
label = "pm8550vs_c_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
/* PM8550VS_D Channel nodes */
|
||||
channel@303 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(3)>;
|
||||
label = "pm8550vs_d_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
/* PM8550VS_E Channel nodes */
|
||||
channel@403 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(4)>;
|
||||
label = "pm8550vs_e_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
/* PM8550VE Channel nodes */
|
||||
channel@503 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(PMK8550VE_SID)>;
|
||||
label = "pm8550ve_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
/* PM8550VS_G Channel nodes */
|
||||
channel@603 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(6)>;
|
||||
label = "pm8550vs_g_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
/* PM8550B Channel nodes */
|
||||
channel@700 {
|
||||
reg = <ADC5_GEN3_REF_GND(7)>;
|
||||
label = "pm8550b_offset_ref";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@701 {
|
||||
reg = <ADC5_GEN3_1P25VREF(7)>;
|
||||
label = "pm8550b_vref_1p25";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@703 {
|
||||
reg = <ADC5_GEN3_DIE_TEMP(7)>;
|
||||
label = "pm8550b_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
channel@747 {
|
||||
reg = <ADC5_GEN3_AMUX4_THM_100K_PU(7)>;
|
||||
label = "pm8550b_usb_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@749 {
|
||||
reg = <ADC5_GEN3_AMUX6_THM_100K_PU(7)>;
|
||||
label = "pm8550b_wls_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <15>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm;
|
||||
};
|
||||
|
||||
channel@78e {
|
||||
reg = <ADC5_GEN3_VPH_PWR(7)>;
|
||||
label = "pm8550b_vph_pwr";
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
channel@78f {
|
||||
reg = <ADC5_GEN3_VBAT_SNS_QBG(7)>;
|
||||
label = "pm8550b_vbat_sns_qbg";
|
||||
qcom,pre-scaling = <1 6>;
|
||||
};
|
||||
};
|
||||
|
||||
&pon_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user