Merge tag 'ceph-for-4.9-rc1' of git://github.com/ceph/ceph-client
[cascardo/linux.git] / Documentation / devicetree / bindings / gpio / gpio-axp209.txt
1 AXP209 GPIO controller
2
3 This driver follows the usual GPIO bindings found in
4 Documentation/devicetree/bindings/gpio/gpio.txt
5
6 Required properties:
7 - compatible: Should be "x-powers,axp209-gpio"
8 - #gpio-cells: Should be two. The first cell is the pin number and the
9   second is the GPIO flags.
10 - gpio-controller: Marks the device node as a GPIO controller.
11
12 This node must be a subnode of the axp20x PMIC, documented in
13 Documentation/devicetree/bindings/mfd/axp20x.txt
14
15 Example:
16
17 axp209: pmic@34 {
18         compatible = "x-powers,axp209";
19         reg = <0x34>;
20         interrupt-parent = <&nmi_intc>;
21         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
22         interrupt-controller;
23         #interrupt-cells = <1>;
24
25         axp_gpio: gpio {
26                 compatible = "x-powers,axp209-gpio";
27                 gpio-controller;
28                 #gpio-cells = <2>;
29         };
30 };