Skip to content

Commit 02181e6

Browse files
saprojarndb
authored andcommitted
ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
Driver moxart-mmc.c has .compatible = "moxa,moxart-mmc". But moxart .dts/.dtsi and the documentation file moxa,moxart-dma.txt contain compatible = "moxa,moxart-sdhci". Change moxart .dts/.dtsi files and moxa,moxart-dma.txt to match the driver. Replace 'sdhci' with 'mmc' in names too, since SDHCI is a different controller from FTSDC010. Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Sergei Antonov <[email protected]> Cc: Jonas Jensen <[email protected]> Link: https://lore.kernel.org/r/[email protected]' Signed-off-by: Arnd Bergmann <[email protected]>
1 parent d4f1920 commit 02181e6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Documentation/devicetree/bindings/dma/moxa,moxart-dma.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Example:
3434
Use specific request line passing from dma
3535
For example, MMC request line is 5
3636

37-
sdhci: sdhci@98e00000 {
38-
compatible = "moxa,moxart-sdhci";
37+
mmc: mmc@98e00000 {
38+
compatible = "moxa,moxart-mmc";
3939
reg = <0x98e00000 0x5C>;
4040
interrupts = <5 0>;
4141
clocks = <&clk_apb>;

arch/arm/boot/dts/moxart-uc7112lx.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
clocks = <&ref12>;
8080
};
8181

82-
&sdhci {
82+
&mmc {
8383
status = "okay";
8484
};
8585

arch/arm/boot/dts/moxart.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
clock-names = "PCLK";
9494
};
9595

96-
sdhci: sdhci@98e00000 {
97-
compatible = "moxa,moxart-sdhci";
96+
mmc: mmc@98e00000 {
97+
compatible = "moxa,moxart-mmc";
9898
reg = <0x98e00000 0x5C>;
9999
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
100100
clocks = <&clk_apb>;

0 commit comments

Comments
 (0)