Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mmc / mmc-pwrseq-simple.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Simple MMC power sequence provider binding
8
9 maintainers:
10   - Ulf Hansson <ulf.hansson@linaro.org>
11
12 description:
13   The purpose of the simple MMC power sequence provider is to supports a set
14   of common properties between various SOC designs. It thus enables us to use
15   the same provider for several SOC designs.
16
17 properties:
18   compatible:
19     const: mmc-pwrseq-simple
20
21   reset-gpios:
22     minItems: 1
23     description:
24       contains a list of GPIO specifiers. The reset GPIOs are asserted
25       at initialization and prior we start the power up procedure of the card.
26       They will be de-asserted right after the power has been provided to the
27       card.
28
29   clocks:
30     minItems: 1
31     description: Handle for the entry in clock-names.
32
33   clock-names:
34     items:
35       - const: ext_clock
36     description: External clock provided to the card.
37
38   post-power-on-delay-ms:
39     description:
40       Delay in ms after powering the card and de-asserting the
41       reset-gpios (if any).
42     $ref: /schemas/types.yaml#/definitions/uint32
43
44   power-off-delay-us:
45     description:
46       Delay in us after asserting the reset-gpios (if any)
47       during power off of the card.
48     $ref: /schemas/types.yaml#/definitions/uint32
49
50 required:
51   - compatible
52
53 examples:
54   - |
55     #include <dt-bindings/gpio/gpio.h>
56     sdhci0_pwrseq {
57       compatible = "mmc-pwrseq-simple";
58       reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
59       clocks = <&clk_32768_ck>;
60       clock-names = "ext_clock";
61     };
62 ...