diff mbox series

[linux,dev-5.15,v1,1/2] dt-bindings: mmc: npcm: NPCM binding documentation

Message ID 20220802141625.238907-2-tmaimon77@gmail.com
State New
Headers show
Series mmc: add SDHCI driver for NPCM SoCs | expand

Commit Message

Tomer Maimon Aug. 2, 2022, 2:16 p.m. UTC
This patch adds the device tree binding documentation for the NPCM BMC
SoC SDHCI driver.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
 .../devicetree/bindings/mmc/sdhci-npcm.txt    | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt b/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
new file mode 100644
index 000000000000..c7c2ba6b537a
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
@@ -0,0 +1,22 @@ 
+* NPCM SDHCI Controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci-npcm driver.
+
+Required properties:
+- compatible  : "nuvoton,npcm750-sdhci" for the NPCM7XX BMC.
+				"nuvoton,npcm845-sdhci" for the NPCM8XX BMC.
+
+Example:
+
+		sdhci0: sdhci@f0842000 {
+			compatible = "nuvoton,npcm750-sdhci";
+			status = "disabled";
+			reg = <0xf0842000 0x200>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clocks =  <&clk NPCM7XX_CLK_MMC>;
+			clock-names = "clk_mmc";
+			pinctrl-names = "default";
+			pinctrl-0 = <&mmc8_pins
+				     &mmc_pins>;
+		};