^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Marvell SD8787 power sequence provider binding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Ulf Hansson <ulf.hansson@linaro.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) const: mmc-pwrseq-sd8787
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) powerdown-gpios:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) contains a power down GPIO specifier with the default active state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) reset-gpios:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) contains a reset GPIO specifier with the default active state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - powerdown-gpios
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - reset-gpios
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #include <dt-bindings/gpio/gpio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) wifi_pwrseq: wifi_pwrseq {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) compatible = "mmc-pwrseq-sd8787";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) ...