]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: qcom: apq8064: correct XOADC register address
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 28 Sep 2023 11:02:35 +0000 (14:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 22:52:36 +0000 (14:52 -0800)
[ Upstream commit 554557542e709e190eff8a598f0cde02647d533a ]

The XOADC is present at the address 0x197 rather than just 197. It
doesn't change a lot (since the driver hardcodes all register
addresses), but the DT should present correct address anyway.

Fixes: c4b70883ee33 ("ARM: dts: add XOADC and IIO HWMON to APQ8064")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-3-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index 0e830476fefd251a0525a3149dbf9e2ce2fc3126..d70f071fd83046d697a51a7cb0dba7fa878cd572 100644 (file)
 
                                xoadc: xoadc@197 {
                                        compatible = "qcom,pm8921-adc";
-                                       reg = <197>;
+                                       reg = <0x197>;
                                        interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
                                        #address-cells = <2>;
                                        #size-cells = <0>;