diff mbox

[v6,1/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings

Message ID 1479450555-19047-2-git-send-email-jun.nie@linaro.org
State Superseded
Headers show

Commit Message

Jun Nie Nov. 18, 2016, 6:29 a.m. UTC
Document the device-tree binding of ZTE MMC host on
ZX296718 SoC.

Signed-off-by: Jun Nie <jun.nie@linaro.org>

---
 .../devicetree/bindings/mmc/zx-dw-mshc.txt         | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Jun Nie Nov. 21, 2016, 1:26 a.m. UTC | #1
2016-11-18 14:29 GMT+08:00 Jun Nie <jun.nie@linaro.org>:
> Document the device-tree binding of ZTE MMC host on

> ZX296718 SoC.

>

> Signed-off-by: Jun Nie <jun.nie@linaro.org>

> ---

>  .../devicetree/bindings/mmc/zx-dw-mshc.txt         | 35 ++++++++++++++++++++++

>  1 file changed, 35 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

>

> diff --git a/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

> new file mode 100644

> index 0000000..c175c4b

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

> @@ -0,0 +1,35 @@

> +* ZTE specific extensions to the Synopsys Designware Mobile Storage

> +  Host Controller

> +

> +The Synopsys designware mobile storage host controller is used to interface

> +a SoC with storage medium such as eMMC or SD/MMC cards. This file documents

> +differences between the core Synopsys dw mshc controller properties described

> +by synopsys-dw-mshc.txt and the properties used by the ZTE specific

> +extensions to the Synopsys Designware Mobile Storage Host Controller.

> +

> +Required Properties:

> +

> +* compatible: should be

> +       - "zte,zx296718-dw-mshc": for ZX SoCs

> +

> +Example:

> +

> +       mmc1: mmc@1110000 {

> +               compatible = "zte,zx296718-dw-mshc";

> +               #address-cells = <1>;

> +               #size-cells = <0>;

> +               reg = <0x01110000 0x1000>;

> +               interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;

> +               fifo-depth = <32>;

> +               data-addr = <0x200>;

> +               fifo-watermark-aligned;

> +               bus-width = <4>;

> +               clock-frequency = <50000000>;

> +               clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;

> +               clock-names = "biu", "ciu";

> +               num-slots = <1>;

> +               max-frequency = <50000000>;

> +               cap-sdio-irq;

> +               cap-sd-highspeed;

> +               status = "disabled";

> +       };

> --

> 1.9.1

>


Add DT maintainer to review and act. Thank you!

Jun
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rob Herring Dec. 1, 2016, 1:45 p.m. UTC | #2
On Wed, Nov 30, 2016 at 7:34 PM, Jun Nie <jun.nie@linaro.org> wrote:
> 2016-11-24 10:17 GMT+08:00 Jun Nie <jun.nie@linaro.org>:

>> 2016-11-18 14:29 GMT+08:00 Jun Nie <jun.nie@linaro.org>:

>>> Document the device-tree binding of ZTE MMC host on

>>> ZX296718 SoC.

>>>

>>> Signed-off-by: Jun Nie <jun.nie@linaro.org>

>>> ---

>>>  .../devicetree/bindings/mmc/zx-dw-mshc.txt         | 35 ++++++++++++++++++++++

>>>  1 file changed, 35 insertions(+)

>>>  create mode 100644 Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

>>>

>>> diff --git a/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

>>> new file mode 100644

>>> index 0000000..c175c4b

>>> --- /dev/null

>>> +++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt

>>> @@ -0,0 +1,35 @@

>>> +* ZTE specific extensions to the Synopsys Designware Mobile Storage

>>> +  Host Controller

>>> +

>>> +The Synopsys designware mobile storage host controller is used to interface

>>> +a SoC with storage medium such as eMMC or SD/MMC cards. This file documents

>>> +differences between the core Synopsys dw mshc controller properties described

>>> +by synopsys-dw-mshc.txt and the properties used by the ZTE specific

>>> +extensions to the Synopsys Designware Mobile Storage Host Controller.

>>> +

>>> +Required Properties:

>>> +

>>> +* compatible: should be

>>> +       - "zte,zx296718-dw-mshc": for ZX SoCs

>>> +

>>> +Example:

>>> +

>>> +       mmc1: mmc@1110000 {

>>> +               compatible = "zte,zx296718-dw-mshc";

>>> +               #address-cells = <1>;

>>> +               #size-cells = <0>;

>>> +               reg = <0x01110000 0x1000>;

>>> +               interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;

>>> +               fifo-depth = <32>;

>>> +               data-addr = <0x200>;

>>> +               fifo-watermark-aligned;

>>> +               bus-width = <4>;

>>> +               clock-frequency = <50000000>;

>>> +               clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;

>>> +               clock-names = "biu", "ciu";

>>> +               num-slots = <1>;

>>> +               max-frequency = <50000000>;

>>> +               cap-sdio-irq;

>>> +               cap-sd-highspeed;

>>> +               status = "disabled";

>>> +       };

>>> --

>>> 1.9.1

>>>

>>

>> Hi Rob & Mark,

>>

>> Could you help review and act this patch if you think it is OK? Thank you!

>>

>> Jun

>

> Hi Rob & Mark,

>

> Could you help comment or act on this patch? Thank you!


Resend the patch to the DT list so patchwork will pick it up if you
want it reviewed.

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt
new file mode 100644
index 0000000..c175c4b
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt
@@ -0,0 +1,35 @@ 
+* ZTE specific extensions to the Synopsys Designware Mobile Storage
+  Host Controller
+
+The Synopsys designware mobile storage host controller is used to interface
+a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
+differences between the core Synopsys dw mshc controller properties described
+by synopsys-dw-mshc.txt and the properties used by the ZTE specific
+extensions to the Synopsys Designware Mobile Storage Host Controller.
+
+Required Properties:
+
+* compatible: should be
+	- "zte,zx296718-dw-mshc": for ZX SoCs
+
+Example:
+
+	mmc1: mmc@1110000 {
+		compatible = "zte,zx296718-dw-mshc";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x01110000 0x1000>;
+		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+		fifo-depth = <32>;
+		data-addr = <0x200>;
+		fifo-watermark-aligned;
+		bus-width = <4>;
+		clock-frequency = <50000000>;
+		clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;
+		clock-names = "biu", "ciu";
+		num-slots = <1>;
+		max-frequency = <50000000>;
+		cap-sdio-irq;
+		cap-sd-highspeed;
+		status = "disabled";
+	};