Merge remote-tracking branch 'spi/for-5.9' into spi-linus
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mmc / mmc-pwrseq-sd8787.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Marvell SD8787 power sequence provider binding
8
9 maintainers:
10   - Ulf Hansson <ulf.hansson@linaro.org>
11
12 properties:
13   compatible:
14     const: mmc-pwrseq-sd8787
15
16   powerdown-gpios:
17     minItems: 1
18     description:
19       contains a power down GPIO specifier with the default active state
20
21   reset-gpios:
22     minItems: 1
23     description:
24       contains a reset GPIO specifier with the default active state
25
26 required:
27   - compatible
28   - powerdown-gpios
29   - reset-gpios
30
31 examples:
32   - |
33     #include <dt-bindings/gpio/gpio.h>
34     wifi_pwrseq: wifi_pwrseq {
35       compatible = "mmc-pwrseq-sd8787";
36       powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
37       reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
38     };
39 ...