]> git.baikalelectronics.ru Git - kernel.git/commit
Input: qt2160 - add support for LEDs
authorJavier Martin <javier.martin@vista-silicon.com>
Sat, 5 Jan 2013 00:36:46 +0000 (16:36 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 5 Jan 2013 00:57:09 +0000 (16:57 -0800)
commite71119006fddcd860df3ac1058c03971360bca89
treec45030e8023e9486e31270d80e80dbd684cd4f2a
parent64b3c85032ff5d3ff41fc7d1481670c7eadfc0ae
Input: qt2160 - add support for LEDs

Outputs x8..x0 of the qt2160 can have leds attached to it.
This patch handles those outputs using the generic LED
framework.

The PWM controls available in the chip are used to achieve
different levels of brightness.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/qt2160.c