arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 7 Jul 2023 12:30:24 +0000 (15:30 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:51:48 +0000 (21:51 -0700)
The commit b2de43136058 ("arm64: dts: qcom: pmk8350: Add peripherals for
pmk8350") for the ADC TM (thermal monitoring device) have used the
compatible string from the vendor kernel ("qcom,adc-tm7"). Use the
proper compatible string that is defined in the upstream kernel
("qcom,spmi-adc-tm5-gen2").

Fixes: b2de43136058 ("arm64: dts: qcom: pmk8350: Add peripherals for pmk8350")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230707123027.1510723-6-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pmk8350.dtsi

index bc6297e7253e2bb8602402a5aab1f1aeb6120135..1eb74017062d638e8804fc4e7696295126e05e9a 100644 (file)
@@ -59,7 +59,7 @@
                };
 
                pmk8350_adc_tm: adc-tm@3400 {
-                       compatible = "qcom,adc-tm7";
+                       compatible = "qcom,spmi-adc-tm5-gen2";
                        reg = <0x3400>;
                        interrupts = <PMK8350_SID 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
                        #address-cells = <1>;