Merge tag 'cris-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[cascardo/linux.git] / Documentation / devicetree / bindings / mmc / mmc-pwrseq-simple.txt
1 * The simple MMC power sequence provider
2
3 The purpose of the simple MMC power sequence provider is to supports a set of
4 common properties between various SOC designs. It thus enables us to use the
5 same provider for several SOC designs.
6
7 Required properties:
8 - compatible : contains "mmc-pwrseq-simple".
9
10 Optional properties:
11 - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are asserted
12         at initialization and prior we start the power up procedure of the card.
13         They will be de-asserted right after the power has been provided to the
14         card.
15 - clocks : Must contain an entry for the entry in clock-names.
16   See ../clocks/clock-bindings.txt for details.
17 - clock-names : Must include the following entry:
18   "ext_clock" (External clock provided to the card).
19 - post-power-on-delay-ms : Delay in ms after powering the card and
20         de-asserting the reset-gpios (if any)
21
22 Example:
23
24         sdhci0_pwrseq {
25                 compatible = "mmc-pwrseq-simple";
26                 reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
27                 clocks = <&clk_32768_ck>;
28                 clock-names = "ext_clock";
29         }