gpio-max77620.txt 687 B

12345678910111213141516171819202122232425
  1. GPIO driver for MAX77620 Power management IC from Maxim Semiconductor.
  2. Device has 8 GPIO pins which can be configured as GPIO as well as the
  3. special IO functions.
  4. Required properties:
  5. -------------------
  6. - gpio-controller : Marks the device node as a gpio controller.
  7. - #gpio-cells : Should be two. The first cell is the pin number and
  8. the second cell is used to specify the gpio polarity:
  9. 0 = active high
  10. 1 = active low
  11. For more details, please refer generic GPIO DT binding document
  12. <devicetree/bindings/gpio/gpio.txt>.
  13. Example:
  14. --------
  15. #include <dt-bindings/mfd/max77620.h>
  16. ...
  17. max77620@3c {
  18. compatible = "maxim,max77620";
  19. gpio-controller;
  20. #gpio-cells = <2>;
  21. };