mmc-pwrseq-sd8787.yaml 920 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. title: Marvell SD8787 power sequence provider
  7. maintainers:
  8. - Ulf Hansson <ulf.hansson@linaro.org>
  9. properties:
  10. compatible:
  11. enum:
  12. - mmc-pwrseq-sd8787
  13. - mmc-pwrseq-wilc1000
  14. powerdown-gpios:
  15. minItems: 1
  16. description:
  17. contains a power down GPIO specifier with the default active state
  18. reset-gpios:
  19. minItems: 1
  20. description:
  21. contains a reset GPIO specifier with the default active state
  22. required:
  23. - compatible
  24. - powerdown-gpios
  25. - reset-gpios
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/gpio/gpio.h>
  30. pwrseq {
  31. compatible = "mmc-pwrseq-sd8787";
  32. powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
  33. reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>;
  34. };
  35. ...