Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
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 trunk/Documentation/devicetree/bindings/gpio/gpio-74x164.txt
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>;
};

0 comments on commit 26817ac

Please sign in to comment.