162306a36Sopenharmony_ciGPIO driver for MAX77620 Power management IC from Maxim Semiconductor. 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciDevice has 8 GPIO pins which can be configured as GPIO as well as the 462306a36Sopenharmony_cispecial IO functions. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciRequired properties: 762306a36Sopenharmony_ci------------------- 862306a36Sopenharmony_ci- gpio-controller : Marks the device node as a gpio controller. 962306a36Sopenharmony_ci- #gpio-cells : Should be two. The first cell is the pin number and 1062306a36Sopenharmony_ci the second cell is used to specify the gpio polarity: 1162306a36Sopenharmony_ci 0 = active high 1262306a36Sopenharmony_ci 1 = active low 1362306a36Sopenharmony_ciFor more details, please refer generic GPIO DT binding document 1462306a36Sopenharmony_ci<devicetree/bindings/gpio/gpio.txt>. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciExample: 1762306a36Sopenharmony_ci-------- 1862306a36Sopenharmony_ci#include <dt-bindings/mfd/max77620.h> 1962306a36Sopenharmony_ci... 2062306a36Sopenharmony_cimax77620@3c { 2162306a36Sopenharmony_ci compatible = "maxim,max77620"; 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci gpio-controller; 2462306a36Sopenharmony_ci #gpio-cells = <2>; 2562306a36Sopenharmony_ci}; 26