]> 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:42:38 +0000 (09:42 +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 f0d256d99e62eaae6e94e41b4c9b0e4ce9a8d26a..29cfb6fca9bf744d8d7ad5dec8759e72ec173451 100644 (file)
@@ -44,7 +44,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>;
                        #address-cells = <1>;