-
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: 328459 b: refs/heads/master c: a7ff477 h: refs/heads/master i: 328457: cc755ea 328455: 675bd7b v: v3
- Loading branch information
Maxime Ripard
authored and
Linus Walleij
committed
Sep 11, 2012
1 parent
b0b7b8c
commit 26817ac
Showing
2 changed files
with
23 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: 4485a12937c936a5973601bb9921d30a0630299d | ||
refs/heads/master: a7ff477bb7e5ec9536e8aac02e8856a4bcc595a3 |
22 changes: 22 additions & 0 deletions
22
trunk/Documentation/devicetree/bindings/gpio/gpio-74x164.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,22 @@ | ||
* Generic 8-bits shift register GPIO driver | ||
|
||
Required properties: | ||
- compatible : Should be "fairchild,74hc595" | ||
- reg : chip select number | ||
- 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 | ||
- registers-number: Number of daisy-chained shift registers | ||
|
||
Example: | ||
|
||
gpio5: gpio5@0 { | ||
compatible = "fairchild,74hc595"; | ||
reg = <0>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
registers-number = <4>; | ||
spi-max-frequency = <100000>; | ||
}; |