diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-09-10 22:35:39 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-11 23:49:32 +0200 |
commit | 20bc4d5d565159eb2b942bf4b7fae86fba94e32c (patch) | |
tree | 863f5b79177c3e0bbb3b35268edb190d8acfe8fb /drivers/hid/hid-a4tech.c | |
parent | a7ff477bb7e5ec9536e8aac02e8856a4bcc595a3 (diff) | |
download | blackbird-op-linux-20bc4d5d565159eb2b942bf4b7fae86fba94e32c.tar.gz blackbird-op-linux-20bc4d5d565159eb2b942bf4b7fae86fba94e32c.zip |
gpio: 74x164: Add support for the daisy-chaining
The shift registers have an output pin that, when enabled, propagates
the values of its internal register to the pins. If another value comes
to the register while the output pin is disabled, this new value will
makae the older shift into the next register in the chain.
This patch adds support for daisy-chaining the registers, using the
regular SPI chip select mechanism to manage the output pin, and the
registers-number dt property to set the number of chained registers.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/hid/hid-a4tech.c')
0 files changed, 0 insertions, 0 deletions