devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, chris@printf.net,
	ulf.hansson@linaro.org, maxime.coquelin@st.com,
	patrice.chotard@st.com, srinivas.kandagatla@gmail.com
Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org,
	linux-mmc@vger.kernel.org, kernel@stlinux.com,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: [PATCH v3 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation.
Date: Wed,  4 Jun 2014 17:30:16 +0100	[thread overview]
Message-ID: <1401899424-1365-3-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org>

This patch adds the device tree binding documentation for the ST
SDHCI driver. It documents the differences between the core properties
described by mmc.txt and the properties used by the sdhci-st driver.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
---
 Documentation/devicetree/bindings/mmc/sdhci-st.txt | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-st.txt

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-st.txt b/Documentation/devicetree/bindings/mmc/sdhci-st.txt
new file mode 100644
index 0000000..7527db4
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-st.txt
@@ -0,0 +1,33 @@
+* STMicroelectronics sdhci-st MMC/SD controller
+
+This file documents the differences between the core properties in
+Documentation/devicetree/bindings/mmc/mmc.txt and the properties
+used by the sdhci-st driver.
+
+Required properties:
+- compatible :  Must be "st,sdhci"
+- clock-names : Should be "mmc"
+                See: Documentation/devicetree/bindings/resource-names.txt
+- clocks :      Phandle of the clock used by the sdhci controler
+                See: Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Optional properties:
+- non-removable: non-removable slot
+                 See: Documentation/devicetree/bindings/mmc/mmc.txt
+- bus-width: Number of data lines
+                 See: Documentation/devicetree/bindings/mmc/mmc.txt
+
+Example:
+
+mmc0: sdhci@fe81e000 {
+	compatible	= "st,sdhci";
+	status		= "disabled";
+	reg		= <0xfe81e000 0x1000>;
+	interrupts	= <GIC_SPI 127 IRQ_TYPE_NONE>;
+	interrupt-names	= "mmcirq";
+	pinctrl-names	= "default";
+	pinctrl-0	= <&pinctrl_mmc0>;
+	clock-names	= "mmc";
+	clocks		= <&clk_s_a1_ls 1>;
+	bus-width       = <8>
+};
-- 
1.9.1

  parent reply	other threads:[~2014-06-04 16:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 16:30 [PATCH v3 00/10] Add SDHCI support for ST Microelectronics SoCs Peter Griffin
2014-06-04 16:30 ` [PATCH v3 01/10] mmc: sdhci-st: Intial support for ST SDHCI controller Peter Griffin
2014-07-09 12:18   ` Ulf Hansson
2014-07-09 12:59     ` Peter Griffin
2014-06-04 16:30 ` Peter Griffin [this message]
     [not found]   ` <1401899424-1365-3-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-09 12:19     ` [PATCH v3 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation Ulf Hansson
2014-06-04 16:30 ` [PATCH v3 03/10] ARM: STi: DT: Add sdhci pins for stih416 Peter Griffin
2014-06-04 16:30 ` [PATCH v3 04/10] ARM: STi: DT: Add sdhci controller " Peter Griffin
2014-06-04 16:30 ` [PATCH v3 05/10] ARM: STi: DT: Add sdhci pin configuration for stih415 Peter Griffin
2014-06-04 16:30 ` [PATCH v3 06/10] ARM: STi: DT: Add sdhci controller " Peter Griffin
2014-06-04 16:30 ` [PATCH v3 07/10] ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs Peter Griffin
2014-06-04 16:30 ` [PATCH v3 08/10] ARM: STi: DT: Enable second sdhci controller for stih416 b2020 boards Peter Griffin
2014-06-04 16:30 ` [PATCH v3 09/10] ARM: update multi_v7_defconfig for STI Peter Griffin
2014-06-05 13:08   ` Lee Jones
     [not found]   ` <1401899424-1365-10-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-06-23 10:53     ` Maxime Coquelin
2014-06-04 16:30 ` [PATCH v3 10/10] MAINTAINERS: Add sdhci-st file to ARCH/STI architecture Peter Griffin
2014-06-05 14:26   ` Lee Jones
2014-06-23 10:54   ` Maxime Coquelin
2014-07-22 12:13     ` [STLinux Kernel] " Maxime Coquelin
2014-07-22 16:00       ` Olof Johansson
2014-07-22 16:15         ` Maxime Coquelin

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=1401899424-1365-3-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=chris@printf.net \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@stlinux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=maxime.coquelin@st.com \
    --cc=patrice.chotard@st.com \
    --cc=peppe.cavallaro@st.com \
    --cc=srinivas.kandagatla@gmail.com \
    --cc=ulf.hansson@linaro.org \
    /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).