Back to home page

OSCL-LXR

 
 

    


0001 GPIO driver for MAX77620 Power management IC from Maxim Semiconductor.
0002 
0003 Device has 8 GPIO pins which can be configured as GPIO as well as the
0004 special IO functions.
0005 
0006 Required properties:
0007 -------------------
0008 - gpio-controller :     Marks the device node as a gpio controller.
0009 - #gpio-cells :         Should be two.  The first cell is the pin number and
0010                         the second cell is used to specify the gpio polarity:
0011                                 0 = active high
0012                                 1 = active low
0013 For more details, please refer generic GPIO DT binding document
0014 <devicetree/bindings/gpio/gpio.txt>.
0015 
0016 Example:
0017 --------
0018 #include <dt-bindings/mfd/max77620.h>
0019 ...
0020 max77620@3c {
0021         compatible = "maxim,max77620";
0022 
0023         gpio-controller;
0024         #gpio-cells = <2>;
0025 };