]> 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>
Tue, 19 Sep 2023 10:22:36 +0000 (12:22 +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 fc38f77d12a36940dccf95a203e4b3ec5d124728..9e99fcf269dfde618e0bec617d6abd4e453ce1b2 100644 (file)
@@ -45,7 +45,7 @@
                };
 
                pmk8350_adc_tm: adc-tm@3400 {
-                       compatible = "qcom,adc-tm7";
+                       compatible = "qcom,spmi-adc-tm5-gen2";
                        reg = <0x3400>;
                        interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
                        interrupt-names = "threshold";