mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: msm: Add ADC5 GEN3 TM channels for sdxpinn
Add VADC channels provided by pmk8550 that are used by thermal clients on sdxpinn. Change-Id: Ie2781dd11e1f9b50fb0ab3b9f02b769c4e3e41dd
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc5-gen3-pm7550ba.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-adc5-gen3-pmx75.h>
|
||||
|
||||
#include "pmk8550.dtsi"
|
||||
#include "pmx75.dtsi"
|
||||
@@ -49,3 +51,128 @@
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&pmk8550_vadc {
|
||||
/delete-node/ pm8550_offset_ref;
|
||||
/delete-node/ pm8550_vref_1p25;
|
||||
/delete-node/ pm8550_die_temp;
|
||||
/delete-node/ pm8550_vph_pwr;
|
||||
|
||||
/delete-node/ pm8550b_offset_ref;
|
||||
/delete-node/ pm8550b_vref_1p25;
|
||||
/delete-node/ pm8550b_die_temp;
|
||||
/delete-node/ pm8550b_lite_die_temp;
|
||||
/delete-node/ pm8550b_vph_pwr;
|
||||
/delete-node/ pm8550b_vbat_sns_qbg;
|
||||
|
||||
/delete-node/ pm8550vs_c_die_temp;
|
||||
/delete-node/ pm8550vs_d_die_temp;
|
||||
/delete-node/ pm8550vs_e_die_temp;
|
||||
/delete-node/ pm8550vs_g_die_temp;
|
||||
|
||||
/delete-node/ pm8550ve_die_temp;
|
||||
|
||||
/* PM8550BA Channel nodes */
|
||||
pm7550ba_offset_ref {
|
||||
reg = <PM7550BA_ADC5_GEN3_OFFSET_REF>;
|
||||
label = "pm7550ba_offset_ref";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm7550ba_vref_1p25 {
|
||||
reg = <PM7550BA_ADC5_GEN3_1P25VREF>;
|
||||
label = "pm7550ba_vref_1p25";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm7550ba_die_temp {
|
||||
reg = <PM7550BA_ADC5_GEN3_DIE_TEMP>;
|
||||
label = "pm7550ba_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pm7550ba_vph_pwr {
|
||||
reg = <PM7550BA_ADC5_GEN3_VPH_PWR>;
|
||||
label = "pm7550ba_vph_pwr";
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
/* PMX75 Channel nodes */
|
||||
pmx75_offset_ref {
|
||||
reg = <PMX75_ADC5_GEN3_OFFSET_REF>;
|
||||
label = "pmx75_offset_ref";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pmx75_vref_1p25 {
|
||||
reg = <PMX75_ADC5_GEN3_1P25VREF>;
|
||||
label = "pmx75_vref_1p135";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pmx75_die_temp {
|
||||
reg = <PMX75_ADC5_GEN3_DIE_TEMP>;
|
||||
label = "pmx75_die_temp";
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pmx75_vph_pwr {
|
||||
reg = <PMX75_ADC5_GEN3_VPH_PWR>;
|
||||
label = "pmx75_vph_pwr";
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
pmx75_pa_therm1 {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM1_100K_PU>;
|
||||
label = "pmx75_pa_therm1";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmx75_pa_therm2 {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM2_100K_PU>;
|
||||
label = "pmx75_pa_therm2";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmx75_sdx_case_therm {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM3_100K_PU>;
|
||||
label = "pmx75_sdx_case_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmx75_ambient_therm {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM4_100K_PU>;
|
||||
label = "pmx75_ambient_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmx75_qtm_therm {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM5_100K_PU>;
|
||||
label = "pmx75_qtm_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
|
||||
pmx75_sdr_skin_therm {
|
||||
reg = <PMX75_ADC5_GEN3_AMUX_THM6_100K_PU>;
|
||||
label = "pmx75_sdr_skin_therm";
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,adc-tm-type = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user