Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Marvell SD8787 power sequence provider binding
0008 
0009 maintainers:
0010   - Ulf Hansson <ulf.hansson@linaro.org>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - mmc-pwrseq-sd8787
0016       - mmc-pwrseq-wilc1000
0017 
0018   powerdown-gpios:
0019     minItems: 1
0020     description:
0021       contains a power down GPIO specifier with the default active state
0022 
0023   reset-gpios:
0024     minItems: 1
0025     description:
0026       contains a reset GPIO specifier with the default active state
0027 
0028 required:
0029   - compatible
0030   - powerdown-gpios
0031   - reset-gpios
0032 
0033 additionalProperties: false
0034 
0035 examples:
0036   - |
0037     #include <dt-bindings/gpio/gpio.h>
0038     wifi_pwrseq: wifi_pwrseq {
0039       compatible = "mmc-pwrseq-sd8787";
0040       powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
0041       reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
0042     };
0043 ...