]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
leds: add LED driver for Network Space v2 LEDs
authorSimon Guinot <sguinot@lacie.com>
Tue, 6 Jul 2010 14:08:46 +0000 (16:08 +0200)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 17 Jul 2010 02:02:00 +0000 (22:02 -0400)
commit11efe71f6564e59ba9acfc636ac6f423e059dc69
treedcbc12bdf746393d1ecacacf58563f982eaaf6de
parentb6a044ff5757b22572ac3f3ccd006fb052b27b77
leds: add LED driver for Network Space v2 LEDs

This patch add a LED class driver for the dual-GPIO LEDs found on the
Network Space v2 board (and parents). This include Internet Space v2,
Network Space (Max) v2 and d2 Network v2 boards.

This dual-GPIO LED is wired to a CPLD and can blink in relation with the
SATA activity. The driver expose this capability through a "sata" sysfs
attribute.

Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/mach-kirkwood/include/mach/leds-ns2.h [new file with mode: 0644]
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-ns2.c [new file with mode: 0644]