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