- Add support for leds on the HP Jornada 6xx series
Greetings,
Patch against linux-2.6.git (synced today)
shortlog:
The HP Jornada 6xx series have simple leds thats able to produce green or red light. This patch enables the leds to be used by the kernel and/or userland.
Richard please note that this driver makes use of include/asm-sh/hd6446x.h which is a merged header not yet available. I've sent patch to paul but gotten no answer yet. If you cannot commit it for that reason, then please just look through it.
I've confirmed that this patch compiles for me (using local git-tree with header at place) and that it works as expected on jornada.
Best wishes
Kristoffer Ericson
drivers/leds/Kconfig +8 -0
@@ -100,6 +100,14 @@ config LEDS_COBALT_RAQ help This option enables support for the Cobalt Raq series LEDs. +config LEDS_HP6XX + bool "LED Support for the HP Jornada 6xx" + depends on LEDS_CLASS && SH_HP6XX + select LEDS_TRIGGERS + help + This option enables led support for the handheld + HP Jornada 620/660/680/690. + config LEDS_GPIO tristate "LED Support for GPIO connected LEDs" depends on LEDS_CLASS && GENERIC_GPIO
drivers/leds/Makefile +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o +obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o # LED Triggers obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
drivers/leds/leds-hp6xx.c new file +120 -0
120 lines not on this page · raw message
drivers/leds/Kconfig +8 -0
@@ -100,6 +100,14 @@ config LEDS_COBALT_RAQ help This option enables support for the Cobalt Raq series LEDs. +config LEDS_HP6XX + bool "LED Support for the HP Jornada 6xx" + depends on LEDS_CLASS && SH_HP6XX + select LEDS_TRIGGERS + help + This option enables led support for the handheld + HP Jornada 620/660/680/690. + config LEDS_GPIO tristate "LED Support for GPIO connected LEDs" depends on LEDS_CLASS && GENERIC_GPIO
drivers/leds/Makefile +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o +obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o # LED Triggers obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
drivers/leds/leds-hp6xx.c new file +120 -0
120 lines not on this page · raw message
Quoted 10 lines · Kristoffer Ericson
shortlog:
The HP Jornada 6xx series have simple leds thats able to produce green or red light. This patch enables the leds to be used by the kernel and/or userland.Signed-off-by Kristoffer Ericson <[email protected]>Richard please note that this driver makes use of
include/asm-sh/hd6446x.hwhich is a merged header not yet available. I've sent patch to paul but gotten no answer yet. If you cannot commit it for that reason, then please just look through it.
It shouldn't really go in until thats been merged. I couldn't see anything wrong with the driver so just let me know when that header has merged...
Cheers,
Richard