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