summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-12-08 15:26:13 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-28 12:32:01 +0100
commit0e6d633274db7b4db14a1194163b4d31d37b261f (patch)
treeec616c4afbc8c96b4aa664ed8d062a52ba33d0ee /Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt
parent3aa8793f751d4cfcaca886e75ab30dfb00cf1d88 (diff)
mmc: pwrseq: Document DT bindings for the simple MMC power sequence
To support SOCs which specifies specific MMC power sequences, document some MMC DT bindings to be able to describe these hardwares. Let's also document bindings for a simple MMC power sequence provider, which purpose is to support a set of common properties between various SOCs. In this initial step, let's also document a top level description of the MMC power sequence and describe the compatible string used for the simple MMC power sequence provider. The simple MMC power sequence provider will initially support a reset GPIO. From several earlier posted patches, it's clear that such hardware exists. Especially some WLAN chips which are attached to an SDIO interface may use a GPIO reset. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt')
-rw-r--r--Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt
new file mode 100644
index 000000000000..da333d9ed94c
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt
@@ -0,0 +1,20 @@
+* The simple MMC power sequence provider
+
+The purpose of the simple MMC power sequence provider is to supports a set of
+common properties between various SOC designs. It thus enables us to use the
+same provider for several SOC designs.
+
+Required properties:
+- compatible : contains "mmc-pwrseq-simple".
+
+Optional properties:
+- reset-gpios : contains a GPIO specifier. The reset GPIO is asserted at
+ initialization and prior we start the power up procedure of the card. It
+ will be de-asserted right after the power has been provided to the card.
+
+Example:
+
+ sdhci0_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpio1 12 0>;
+ }