aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-07-15 18:45:11 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-07-26 05:38:19 -0400
commitb4c27763d749ab3a4dddfcfd44dc5af15bb91a0e (patch)
treed802d4373e1b9fd65571f28e8d427628bcd35819 /Documentation
parent6b91f2d42ad5506f21f83e25ffd56f27981825a7 (diff)
mmc: sh_mmcif: Document DT bindings
The sh-mmcif driver implements DT support but the bindings are not documented. Document them. Cc: devicetree@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mmc/renesas,mmcif.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt b/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
new file mode 100644
index 000000000000..299081f94abd
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt
@@ -0,0 +1,32 @@
1* Renesas Multi Media Card Interface (MMCIF) Controller
2
3This file documents differences between the core properties in mmc.txt
4and the properties used by the MMCIF device.
5
6
7Required properties:
8
9- compatible: must contain one of the following
10 - "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs
11 - "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs
12 - "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs
13 - "renesas,sh-mmcif" for the generic MMCIF
14
15- clocks: reference to the functional clock
16
17- dmas: reference to the DMA channels, one per channel name listed in the
18 dma-names property.
19- dma-names: must contain "tx" for the transmit DMA channel and "rx" for the
20 receive DMA channel.
21
22
23Example: R8A7790 (R-Car H2) MMCIF0
24
25 mmcif0: mmc@ee200000 {
26 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
27 reg = <0 0xee200000 0 0x80>;
28 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
29 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
30 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
31 dma-names = "tx", "rx";
32 };