mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
a7ff477bb7
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
23 lines
602 B
Plaintext
23 lines
602 B
Plaintext
* 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>;
|
|
};
|