Skip to content

Commit

Permalink
ARM: dts: qcom: Fix sdhci node names - use 'mmc@'
Browse files Browse the repository at this point in the history
Since the Qualcomm sdhci-msm device-tree binding has been converted
to yaml format, 'make dtbs_check' reports issues with
inconsistent 'sdhci@' convention used for specifying the
sdhci nodes. The generic mmc bindings expect 'mmc@' format
instead.

Fix the same.

Cc: Bjorn Andersson <[email protected]>
Cc: Rob Herring <[email protected]>
Signed-off-by: Bhupesh Sharma <[email protected]>
[bjorn: Extracted from combined arm64 patch]
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
bhupesh-sharma authored and andersson committed Jul 3, 2022
1 parent fe5651c commit 2477d81
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/qcom-apq8084.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
status = "disabled";
};

sdhci@f9824900 {
mmc@f9824900 {
compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand All @@ -432,7 +432,7 @@
status = "disabled";
};

sdhci@f98a4900 {
mmc@f98a4900 {
compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-ipq4019.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
status = "disabled";
};

sdhci: sdhci@7824900 {
sdhci: mmc@7824900 {
compatible = "qcom,sdhci-msm-v4";
reg = <0x7824900 0x11c>, <0x7824000 0x800>;
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/qcom-msm8226.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
reg = <0xf9011000 0x1000>;
};

sdhc_1: sdhci@f9824900 {
sdhc_1: mmc@f9824900 {
compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand All @@ -150,7 +150,7 @@
status = "disabled";
};

sdhc_2: sdhci@f98a4900 {
sdhc_2: mmc@f98a4900 {
compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand All @@ -166,7 +166,7 @@
status = "disabled";
};

sdhc_3: sdhci@f9864900 {
sdhc_3: mmc@f9864900 {
compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/qcom-msm8974.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
};

sdhc_1: sdhci@f9824900 {
sdhc_1: mmc@f9824900 {
compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand All @@ -453,7 +453,7 @@
status = "disabled";
};

sdhc_3: sdhci@f9864900 {
sdhc_3: mmc@f9864900 {
compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand All @@ -472,7 +472,7 @@
status = "disabled";
};

sdhc_2: sdhci@f98a4900 {
sdhc_2: mmc@f98a4900 {
compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
reg-names = "hc_mem", "core_mem";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-sdx55.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
reg = <0x01fc0000 0x1000>;
};

sdhc_1: sdhci@8804000 {
sdhc_1: mmc@8804000 {
compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5";
reg = <0x08804000 0x1000>;
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-sdx65.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
};
};

sdhc_1: sdhci@8804000 {
sdhc_1: mmc@8804000 {
compatible = "qcom,sdx65-sdhci", "qcom,sdhci-msm-v5";
reg = <0x08804000 0x1000>;
reg-names = "hc_mem";
Expand Down

0 comments on commit 2477d81

Please sign in to comment.