1 GPIO driver for MAX77620 Power management IC f 1 GPIO driver for MAX77620 Power management IC from Maxim Semiconductor. 2 2 3 Device has 8 GPIO pins which can be configured 3 Device has 8 GPIO pins which can be configured as GPIO as well as the 4 special IO functions. 4 special IO functions. 5 5 6 Required properties: 6 Required properties: 7 ------------------- 7 ------------------- 8 - gpio-controller : Marks the device node 8 - gpio-controller : Marks the device node as a gpio controller. 9 - #gpio-cells : Should be two. The fi 9 - #gpio-cells : Should be two. The first cell is the pin number and 10 the second cell is use 10 the second cell is used to specify the gpio polarity: 11 0 = active hig 11 0 = active high 12 1 = active low 12 1 = active low 13 For more details, please refer generic GPIO DT 13 For more details, please refer generic GPIO DT binding document 14 <devicetree/bindings/gpio/gpio.txt>. 14 <devicetree/bindings/gpio/gpio.txt>. 15 15 16 Example: 16 Example: 17 -------- 17 -------- 18 #include <dt-bindings/mfd/max77620.h> 18 #include <dt-bindings/mfd/max77620.h> 19 ... 19 ... 20 max77620@3c { 20 max77620@3c { 21 compatible = "maxim,max77620"; 21 compatible = "maxim,max77620"; 22 22 23 gpio-controller; 23 gpio-controller; 24 #gpio-cells = <2>; 24 #gpio-cells = <2>; 25 }; 25 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.