staging: nvec: add LED support
This patch adds support for LEDs connect to a nvec. A single brightness property is exported to sysfs. LEDs are selected via bitfields in the brightness value. Also the blinking behavior is selected through this method. Vendors may use different values for different HW designs. Signed-off-by: NIlya Petrov <ilya.muromec@gmail.com> Signed-off-by: NMarc Dietrich <marvin24@gmx.de> [jak@jak-linux.org: Fixed checkpatch warnings] Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
drivers/staging/nvec/nvec_leds.c
0 → 100644
想要评论请 注册 或 登录