summaryrefslogtreecommitdiff
path: root/drivers/parport/daisy.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-09-10 22:35:39 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-09-11 23:49:32 +0200
commit20bc4d5d565159eb2b942bf4b7fae86fba94e32c (patch)
tree863f5b79177c3e0bbb3b35268edb190d8acfe8fb /drivers/parport/daisy.c
parenta7ff477bb7e5ec9536e8aac02e8856a4bcc595a3 (diff)
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/parport/daisy.c')
0 files changed, 0 insertions, 0 deletions