devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jun Nie <jun.nie@linaro.org>
To: robh+dt@kernel.org, mark.rutland@arm.com, shawn.guo@linaro.org,
	xie.baoyou@zte.com.cn, devicetree@vger.kernel.org
Cc: ulf.hansson@linaro.org, jh80.chung@samsung.com,
	jason.liu@linaro.org, chen.chaokai@zte.com.cn,
	lai.binz@zte.com.cn, linux-mmc@vger.kernel.org,
	Jun Nie <jun.nie@linaro.org>
Subject: [PATCH v8 4/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings
Date: Thu, 22 Dec 2016 12:57:36 +0800	[thread overview]
Message-ID: <1482382657-16681-5-git-send-email-jun.nie@linaro.org> (raw)
In-Reply-To: <1482382657-16681-1-git-send-email-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         | 33 ++++++++++++++++++++++
 1 file changed, 33 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..eaade0e
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt
@@ -0,0 +1,33 @@
+* 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";
+		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


  parent reply	other threads:[~2016-12-22  4:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20161222045752epcas5p3ed15c57243cee4c65c0c2e784baf9e02@epcas5p3.samsung.com>
2016-12-22  4:57 ` [PATCH v8 0/5] Add intial support to DW MMC host on ZTE SoC Jun Nie
2016-12-22  4:57   ` [PATCH v8 1/5] Documentation: synopsys-dw-mshc: add binding for fifo quirks Jun Nie
2016-12-22 23:04     ` Rob Herring
2016-12-22  4:57   ` [PATCH v8 2/5] mmc: dw: Add fifo address property Jun Nie
2016-12-22  4:57   ` [PATCH v8 3/5] mmc: dw: Add fifo watermark alignment property Jun Nie
2016-12-22  4:57   ` Jun Nie [this message]
     [not found]     ` <1482382657-16681-5-git-send-email-jun.nie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-12-22 23:13       ` [PATCH v8 4/5] mmc: dt-bindings: add ZTE ZX296718 MMC bindings Rob Herring
     [not found]   ` <1482382657-16681-1-git-send-email-jun.nie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-12-22  4:57     ` [PATCH v8 5/5] mmc: zx: Initial support for ZX mmc controller Jun Nie
2017-01-04  8:25     ` [PATCH v8 0/5] Add intial support to DW MMC host on ZTE SoC Jaehoon Chung
     [not found]       ` <a7014d59-7071-917e-27d8-a1dffc373737-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-01-05  1:09         ` Jaehoon Chung
2016-12-26  2:24   ` Jun Nie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482382657-16681-5-git-send-email-jun.nie@linaro.org \
    --to=jun.nie@linaro.org \
    --cc=chen.chaokai@zte.com.cn \
    --cc=devicetree@vger.kernel.org \
    --cc=jason.liu@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=lai.binz@zte.com.cn \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shawn.guo@linaro.org \
    --cc=ulf.hansson@linaro.org \
    --cc=xie.baoyou@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).