diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-07-09 11:07:33 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-07-10 03:11:32 -0400 |
commit | 434936c3486c2b5a9d2011da633baa3096684b50 (patch) | |
tree | 03e2a39682393790b9ee9d6d555fd7baedc42a11 /Documentation | |
parent | f52d9c4f459bdab128b1b033f26fb52d3418e0f5 (diff) |
mmc: sdhci-st: ST Microelectronics SDHCI binding documentation.
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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/sdhci-st.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-st.txt b/Documentation/devicetree/bindings/mmc/sdhci-st.txt new file mode 100644 index 000000000000..7527db447a35 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-st.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | * STMicroelectronics sdhci-st MMC/SD controller | ||
2 | |||
3 | This file documents the differences between the core properties in | ||
4 | Documentation/devicetree/bindings/mmc/mmc.txt and the properties | ||
5 | used by the sdhci-st driver. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible : Must be "st,sdhci" | ||
9 | - clock-names : Should be "mmc" | ||
10 | See: Documentation/devicetree/bindings/resource-names.txt | ||
11 | - clocks : Phandle of the clock used by the sdhci controler | ||
12 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
13 | |||
14 | Optional properties: | ||
15 | - non-removable: non-removable slot | ||
16 | See: Documentation/devicetree/bindings/mmc/mmc.txt | ||
17 | - bus-width: Number of data lines | ||
18 | See: Documentation/devicetree/bindings/mmc/mmc.txt | ||
19 | |||
20 | Example: | ||
21 | |||
22 | mmc0: sdhci@fe81e000 { | ||
23 | compatible = "st,sdhci"; | ||
24 | status = "disabled"; | ||
25 | reg = <0xfe81e000 0x1000>; | ||
26 | interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>; | ||
27 | interrupt-names = "mmcirq"; | ||
28 | pinctrl-names = "default"; | ||
29 | pinctrl-0 = <&pinctrl_mmc0>; | ||
30 | clock-names = "mmc"; | ||
31 | clocks = <&clk_s_a1_ls 1>; | ||
32 | bus-width = <8> | ||
33 | }; | ||