]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
LaCie/common: add support for the CPLD GPIO bus
authorSimon Guinot <simon.guinot@sequanux.org>
Tue, 18 Jun 2013 13:14:49 +0000 (15:14 +0200)
committerPrafulla Wadaskar <prafulla@marvell.com>
Thu, 20 Jun 2013 08:31:23 +0000 (14:01 +0530)
commitd5cc3f524193d6e7ab980b5962bec72576e61551
treee309f796f8e300fcbfee8568153ccfd3194b8320
parent2af4d0f49f80a52d50191f0ec451944b1853113e
LaCie/common: add support for the CPLD GPIO bus

This patch adds support for the CPLD GPIO bus found on some LaCie boards
(as the 2Big/5Big Network v2 and the 2Big NAS). This parallel GPIO bus
exposes two registers (address and data). Each of this register is made
up of several dedicated GPIOs. An extra GPIO is used to notify the CPLD
that the registers have been updated.

Mostly this bus is used to configure the LEDs on LaCie boards.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
board/LaCie/common/cpld-gpio-bus.c [new file with mode: 0644]
board/LaCie/common/cpld-gpio-bus.h [new file with mode: 0644]