未验证 提交 02181e68 编写于 作者: S Sergei Antonov 提交者: Arnd Bergmann

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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NSergei Antonov <saproj@gmail.com>
Cc: Jonas Jensen <jonas.jensen@gmail.com>
Link: https://lore.kernel.org/r/20220907175341.1477383-1-saproj@gmail.com'
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 d4f1920d
...@@ -34,8 +34,8 @@ Example: ...@@ -34,8 +34,8 @@ Example:
Use specific request line passing from dma Use specific request line passing from dma
For example, MMC request line is 5 For example, MMC request line is 5
sdhci: sdhci@98e00000 { mmc: mmc@98e00000 {
compatible = "moxa,moxart-sdhci"; compatible = "moxa,moxart-mmc";
reg = <0x98e00000 0x5C>; reg = <0x98e00000 0x5C>;
interrupts = <5 0>; interrupts = <5 0>;
clocks = <&clk_apb>; clocks = <&clk_apb>;
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
clocks = <&ref12>; clocks = <&ref12>;
}; };
&sdhci { &mmc {
status = "okay"; status = "okay";
}; };
......
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
clock-names = "PCLK"; clock-names = "PCLK";
}; };
sdhci: sdhci@98e00000 { mmc: mmc@98e00000 {
compatible = "moxa,moxart-sdhci"; compatible = "moxa,moxart-mmc";
reg = <0x98e00000 0x5C>; reg = <0x98e00000 0x5C>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_apb>; clocks = <&clk_apb>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册