Merge tag 'for-linus-4.8-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / gpio / gpio-max77620.txt
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 };