Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
26 lines
687 B
Plaintext
26 lines
687 B
Plaintext
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>;
|
|
};
|