mmc: DT: sdhci-brcmstb: Bindings document for common sdhci-brcmstb
authorJaedon Shin <jaedon.shin@gmail.com>
Fri, 9 Sep 2016 02:08:39 +0000 (11:08 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:27 +0000 (21:31 +0200)
Changes to the DT binding document to separate the BCM7425 and the
BCM7445.

A compatible string "brcm,bcm7425-sdhci" was representing the BCM7425
SDHCI host controller with all BRCMSTB SoCs including the BCM7445. Now
it should be separated because vary a bit in initialize each host
controller.

- Renames the DT binding document to common name.
- Adds a compatible string "brcm,bcm7445-sdhci" that is representing the
  BCM7445 with thereafter 28nm generation ARM based SoCs.

Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt [deleted file]
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt
deleted file mode 100644 (file)
index 8284717..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-* BROADCOM BRCMSTB/BMIPS SDHCI Controller
-
-This file documents differences between the core properties in mmc.txt
-and the properties used by the sdhci-brcmstb driver.
-
-NOTE: The driver disables all UHS speed modes by default and depends
-on Device Tree properties to enable them for SoC/Board combinations
-that support them.
-
-Required properties:
-- compatible: "brcm,bcm7425-sdhci"
-
-Refer to clocks/clock-bindings.txt for generic clock consumer properties.
-
-Example:
-
-       sdhci@f03e0100 {
-               compatible = "brcm,bcm7425-sdhci";
-               reg = <0xf03e0000 0x100>;
-               interrupts = <0x0 0x26 0x0>;
-               sdhci,auto-cmd12;
-               clocks = <&sw_sdio>;
-               sd-uhs-sdr50;
-               sd-uhs-ddr50;
-       };
-
-       sdhci@f03e0300 {
-               non-removable;
-               bus-width = <0x8>;
-               compatible = "brcm,bcm7425-sdhci";
-               reg = <0xf03e0200 0x100>;
-               interrupts = <0x0 0x27 0x0>;
-               sdhci,auto-cmd12;
-               clocks = <sw_sdio>;
-               mmc-hs200-1_8v;
-       };
diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.txt b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.txt
new file mode 100644 (file)
index 0000000..733b64a
--- /dev/null
@@ -0,0 +1,38 @@
+* BROADCOM BRCMSTB/BMIPS SDHCI Controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci-brcmstb driver.
+
+NOTE: The driver disables all UHS speed modes by default and depends
+on Device Tree properties to enable them for SoC/Board combinations
+that support them.
+
+Required properties:
+- compatible: should be one of the following
+  - "brcm,bcm7425-sdhci"
+  - "brcm,bcm7445-sdhci"
+
+Refer to clocks/clock-bindings.txt for generic clock consumer properties.
+
+Example:
+
+       sdhci@f03e0100 {
+               compatible = "brcm,bcm7425-sdhci";
+               reg = <0xf03e0000 0x100>;
+               interrupts = <0x0 0x26 0x0>;
+               sdhci,auto-cmd12;
+               clocks = <&sw_sdio>;
+               sd-uhs-sdr50;
+               sd-uhs-ddr50;
+       };
+
+       sdhci@f03e0300 {
+               non-removable;
+               bus-width = <0x8>;
+               compatible = "brcm,bcm7425-sdhci";
+               reg = <0xf03e0200 0x100>;
+               interrupts = <0x0 0x27 0x0>;
+               sdhci,auto-cmd12;
+               clocks = <sw_sdio>;
+               mmc-hs200-1_8v;
+       };