]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:11 +0000 (09:48 +0200)
[ Upstream commit 435a73d7377ceb29c1a22d2711dd85c831b40c45 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/pmk8350.dtsi

index f26fb7d32faf2e7e29ed1787c60d974e62dbd957..767ab7f2846085bec0cca9b5bcc108c32b2ca88d 100644 (file)
@@ -49,7 +49,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>;