-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 328467 b: refs/heads/master c: 5e969a4 h: refs/heads/master i: 328465: 67131ad 328463: 2055462 v: v3
- Loading branch information
Thierry Reding
authored and
Linus Walleij
committed
Sep 18, 2012
1 parent
328282b
commit 578aec6
Showing
5 changed files
with
654 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: d724f1c9c3c7dee420b8d778ee53207ef3c17120 | ||
refs/heads/master: 5e969a401a0126806cc2a358800b5b52d6c0a246 |
30 changes: 30 additions & 0 deletions
30
trunk/Documentation/devicetree/bindings/gpio/gpio-adnp.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Avionic Design N-bit GPIO expander bindings | ||
|
||
Required properties: | ||
- compatible: should be "ad,gpio-adnp" | ||
- reg: The I2C slave address for this device. | ||
- interrupt-parent: phandle of the parent interrupt controller. | ||
- interrupts: Interrupt specifier for the controllers interrupt. | ||
- #gpio-cells: Should be 2. The first cell is the GPIO number and the | ||
second cell is used to specify optional parameters: | ||
- bit 0: polarity (0: normal, 1: inverted) | ||
- gpio-controller: Marks the device as a GPIO controller | ||
- nr-gpios: The number of pins supported by the controller. | ||
|
||
Example: | ||
|
||
gpioext: gpio-controller@41 { | ||
compatible = "ad,gpio-adnp"; | ||
reg = <0x41>; | ||
|
||
interrupt-parent = <&gpio>; | ||
interrupts = <160 1>; | ||
|
||
gpio-controller; | ||
#gpio-cells = <2>; | ||
|
||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
|
||
nr-gpios = <64>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.