Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: f8f5701bdaf9134b1f90e5044a82c66324d2073f authored by Linus Torvalds on 03 June 2012, 01:29:26 UTC
Linux 3.5-rc1
Tip revision: f8f5701
gpio-twl4030.txt
twl4030 GPIO controller bindings

Required properties:
- compatible:
  - "ti,twl4030-gpio" for twl4030 GPIO controller
- #gpio-cells : Should be two.
  - first cell is the pin number
  - second cell is used to specify optional parameters (unused)
- gpio-controller : Marks the device node as a GPIO controller.
- #interrupt-cells : Should be 2.
- interrupt-controller: Mark the device node as an interrupt controller
  The first cell is the GPIO number.
  The second cell is not used.

Example:

twl_gpio: gpio {
    compatible = "ti,twl4030-gpio";
    #gpio-cells = <2>;
    gpio-controller;
    #interrupt-cells = <2>;
    interrupt-controller;
};
back to top