]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: msm8976: correct MMC unit address
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 19 Apr 2023 21:18:45 +0000 (23:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:37 +0000 (19:39 +0200)
[ Upstream commit 80284797a4cb8ceae71e3c403bafc6648263a060 ]

Match unit-address to reg entry to fix dtbs W=1 warnings:

  Warning (simple_bus_reg): /soc@0/mmc@7824000: simple-bus unit address format error, expected "7824900"
  Warning (simple_bus_reg): /soc@0/mmc@7864000: simple-bus unit address format error, expected "7864900"
  Warning (simple_bus_reg): /soc@0/mmc@7a24000: simple-bus unit address format error, expected "7a24900"

Fixes: 0484d3ce0902 ("arm64: dts: qcom: Add DTS for MSM8976 and MSM8956 SoCs")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230419211856.79332-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/msm8976.dtsi

index e55baafd9efd062f5274435465966218a26ef1dc..e1617b9a73df2bd930256c546361a33f72ed97a6 100644 (file)
                        cell-index = <0>;
                };
 
-               sdhc_1: mmc@7824000 {
+               sdhc_1: mmc@7824900 {
                        compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4";
                        reg = <0x07824900 0x500>, <0x07824000 0x800>;
                        reg-names = "hc", "core";
                        status = "disabled";
                };
 
-               sdhc_2: mmc@7864000 {
+               sdhc_2: mmc@7864900 {
                        compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4";
                        reg = <0x07864900 0x11c>, <0x07864000 0x800>;
                        reg-names = "hc", "core";
                        #reset-cells = <1>;
                };
 
-               sdhc_3: mmc@7a24000 {
+               sdhc_3: mmc@7a24900 {
                        compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4";
                        reg = <0x07a24900 0x11c>, <0x07a24000 0x800>;
                        reg-names = "hc", "core";