Skip to contentSkip to conversation

MTX1 LED driver

PATCH Applied Florian Fainelli 2 participants 2 messages Mar 2, 2007 – Mar 3, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/7 MTX1 LED driver

This patch adds support for controlling the LEDS on the MTX-1 board. It registers the power(green) and status(red) LEDs.

drivers/leds/Kconfig +7 -0
diff -urN linux-2.6.19.2/drivers/leds/Kconfig linux-2.6.19.2.new/drivers/leds/Kconfig
@@ -76,6 +76,13 @@
 	  This option enables support for the Soekris net4801 and net4826 error
 	  LED.
 
+config LEDS_MTX1
+	tristate "LED Support for MTX-1 boards"
+	depends on LEDS_CLASS && MIPS_MTX1
+	help
+	  This option enables support for the MTX-1 power and status LED.
+
+
 comment "LED Triggers"
 
 config LEDS_TRIGGERS
drivers/leds/Makefile +1 -0
diff -urN linux-2.6.19.2/drivers/leds/Makefile linux-2.6.19.2.new/drivers/leds/Makefile
@@ -13,6 +13,7 @@
 obj-$(CONFIG_LEDS_S3C24XX)		+= leds-s3c24xx.o
 obj-$(CONFIG_LEDS_AMS_DELTA)		+= leds-ams-delta.o
 obj-$(CONFIG_LEDS_NET48XX)		+= leds-net48xx.o
+obj-$(CONFIG_LEDS_MTX1)			+= leds-mtx1.o
 
 # LED Triggers
 obj-$(CONFIG_LEDS_TRIGGER_TIMER)	+= ledtrig-timer.o
drivers/leds/leds-mtx1.c +116 -0

116 lines not on this page · raw message

#1 lore raw

On Fri, Mar 02, 2007 at 10:08:11PM +0100, Florian Fainelli wrote:

The blinkenlight subsystem is maintained by:

LED SUBSYSTEM

P:      Richard Purdie
M:      [email protected]
S:      Maintained

Ralf