ene-kb3930.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ENE KB3930 Embedded Controller
  7. description: |
  8. This binding describes the ENE KB3930 Embedded Controller attached to an
  9. I2C bus.
  10. maintainers:
  11. - Lubomir Rintel <lkundrak@v3.sk>
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. - dell,wyse-ariel-ec # Dell Wyse Ariel board (3020)
  17. - const: ene,kb3930
  18. reg:
  19. maxItems: 1
  20. off-gpios:
  21. description: GPIO used with the shutdown protocol on Ariel
  22. maxItems: 2
  23. system-power-controller: true
  24. required:
  25. - compatible
  26. - reg
  27. additionalProperties: false
  28. examples:
  29. - |
  30. #include <dt-bindings/gpio/gpio.h>
  31. i2c {
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. embedded-controller@58 {
  35. compatible = "dell,wyse-ariel-ec", "ene,kb3930";
  36. reg = <0x58>;
  37. system-power-controller;
  38. off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
  39. <&gpio 127 GPIO_ACTIVE_HIGH>;
  40. };
  41. };
  42. ...