diff --git a/bindings/thermal/qcom-spmi-adc-tm5.yaml b/bindings/thermal/qcom-spmi-adc-tm5.yaml index 3ea8c0c1..dbcdf7ae 100644 --- a/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -10,7 +10,9 @@ maintainers: properties: compatible: - const: qcom,spmi-adc-tm5 + enum: + - qcom,spmi-adc-tm5 + - qcom,spmi-adc-tm5-iio reg: maxItems: 1 diff --git a/qcom/bengal-thermal.dtsi b/qcom/bengal-thermal.dtsi index a077b521..023d19e1 100644 --- a/qcom/bengal-thermal.dtsi +++ b/qcom/bengal-thermal.dtsi @@ -988,7 +988,7 @@ camera-therm { polling-delay-passive = <0>; polling-delay = <0>; - thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO1_100K_PU>; + thermal-sensors = <&pm6125_adc_tm_iio 0>; trips { active-config0 { temperature = <125000>; @@ -1001,7 +1001,7 @@ emmc-ufs-therm { polling-delay-passive = <0>; polling-delay = <0>; - thermal-sensors = <&pm6125_adc_tm_iio ADC5_GPIO2_100K_PU>; + thermal-sensors = <&pm6125_adc_tm_iio 1>; trips { active-config0 { temperature = <125000>; diff --git a/qcom/khaje.dtsi b/qcom/khaje.dtsi index 75d3365e..7194fd82 100644 --- a/qcom/khaje.dtsi +++ b/qcom/khaje.dtsi @@ -4151,24 +4151,20 @@ tpdm_turing_llm: tpdm@8861000 { &spmi_bus { qcom,pm6125@0 { pm6125_adc_tm_iio: adc_tm@3400 { - compatible = "qcom,adc-tm5-iio"; - reg = <0x3400 0x100>; + compatible = "qcom,spmi-adc-tm5-iio"; + reg = <0x3400>; #thermal-sensor-cells = <1>; #address-cells = <1>; #size-cells = <0>; - io-channels = <&pm6125_vadc ADC5_GPIO1_100K_PU>, - <&pm6125_vadc ADC5_GPIO2_100K_PU>; camera_flash_therm { - reg = ; - qcom,ratiometric; - qcom,hw-settle-time = <200>; + reg = <0>; + io-channels = <&pm6125_vadc ADC5_GPIO1_100K_PU>; }; emmc_ufs_therm { - reg = ; - qcom,ratiometric; - qcom,hw-settle-time = <200>; + reg = <1>; + io-channels = <&pm6125_vadc ADC5_GPIO2_100K_PU>; }; }; };