Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: aae4e7a8bc44722fe70d58920a36916b1043195e authored by Linus Torvalds on 07 August 2017, 01:44:49 UTC
Linux 4.13-rc4
Tip revision: aae4e7a
gpio-max77620.txt
GPIO driver for MAX77620 Power management IC from Maxim Semiconductor.

Device has 8 GPIO pins which can be configured as GPIO as well as the
special IO functions.

Required properties:
-------------------
- gpio-controller : 	Marks the device node as a gpio controller.
- #gpio-cells : 	Should be two.  The first cell is the pin number and
			the second cell is used to specify the gpio polarity:
				0 = active high
				1 = active low
For more details, please refer generic GPIO DT binding document
<devicetree/bindings/gpio/gpio.txt>.

Example:
--------
#include <dt-bindings/mfd/max77620.h>
...
max77620@3c {
	compatible = "maxim,max77620";

	gpio-controller;
	#gpio-cells = <2>;
};
back to top