xref: /linux/Documentation/devicetree/bindings/gpio/gpio-max77620.txt (revision f26e8817b235d8764363bffcc9cbfc61867371f2)
1*f7267793SLaxman DewanganGPIO driver for MAX77620 Power management IC from Maxim Semiconductor.
2*f7267793SLaxman Dewangan
3*f7267793SLaxman DewanganDevice has 8 GPIO pins which can be configured as GPIO as well as the
4*f7267793SLaxman Dewanganspecial IO functions.
5*f7267793SLaxman Dewangan
6*f7267793SLaxman DewanganRequired properties:
7*f7267793SLaxman Dewangan-------------------
8*f7267793SLaxman Dewangan- gpio-controller : 	Marks the device node as a gpio controller.
9*f7267793SLaxman Dewangan- #gpio-cells : 	Should be two.  The first cell is the pin number and
10*f7267793SLaxman Dewangan			the second cell is used to specify the gpio polarity:
11*f7267793SLaxman Dewangan				0 = active high
12*f7267793SLaxman Dewangan				1 = active low
13*f7267793SLaxman DewanganFor more details, please refer generic GPIO DT binding document
14*f7267793SLaxman Dewangan<devicetree/bindings/gpio/gpio.txt>.
15*f7267793SLaxman Dewangan
16*f7267793SLaxman DewanganExample:
17*f7267793SLaxman Dewangan--------
18*f7267793SLaxman Dewangan#include <dt-bindings/mfd/max77620.h>
19*f7267793SLaxman Dewangan...
20*f7267793SLaxman Dewanganmax77620@3c {
21*f7267793SLaxman Dewangan	compatible = "maxim,max77620";
22*f7267793SLaxman Dewangan
23*f7267793SLaxman Dewangan	gpio-controller;
24*f7267793SLaxman Dewangan	#gpio-cells = <2>;
25*f7267793SLaxman Dewangan};
26