summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-06-11 21:48:16 -0400
committerChris Ball <cjb@laptop.org>2012-07-10 23:04:06 -0400
commit4efafee02ff604627234d42a3ff9f331e3605c9d (patch)
treea82b8546aaac5e090c99c15b2f93a8170b8871b0 /Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt
parent45a6b32e24003d9749d8c6d1c83dfb64d6994ca7 (diff)
downloadtalos-op-linux-4efafee02ff604627234d42a3ff9f331e3605c9d.tar.gz
talos-op-linux-4efafee02ff604627234d42a3ff9f331e3605c9d.zip
mmc: dt: Deduplicate binding docs by referencing mmc.txt
Now that we have common bindings for MMC, rewrite the individual bindings to inherit from mmc.txt and describe their differences. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt')
-rw-r--r--Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt
index d64aea5a4203..0e5e2ec4001d 100644
--- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt
+++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt
@@ -1,8 +1,9 @@
MMC/SD/SDIO slot directly connected to a SPI bus
+This file documents differences between the core properties described
+by mmc.txt and the properties used by the mmc_spi driver.
+
Required properties:
-- compatible : should be "mmc-spi-slot".
-- reg : should specify SPI address (chip-select number).
- spi-max-frequency : maximum frequency for this device (Hz).
- voltage-ranges : two cells are required, first cell specifies minimum
slot voltage (mV), second cell specifies maximum slot voltage (mV).
@@ -11,8 +12,7 @@ Required properties:
Optional properties:
- gpios : may specify GPIOs in this order: Card-Detect GPIO,
Write-Protect GPIO. Note that this does not follow the
- binding from mmc.txt, for historic reasons.
-- interrupts : the interrupt of a card detect interrupt.
+ binding from mmc.txt, for historical reasons.
- interrupt-parent : the phandle for the interrupt controller that
services interrupts for this device.
OpenPOWER on IntegriCloud