input: keyboard: introduce lm8323 driver
Subsystems (2)
PATCH 5/9 input: keyboard: introduce lm8323 driver
From: Felipe Balbi <[email protected]>
lm8323 is the keypad driver used in n810 device. This driver has been sitting in linux-omap for quite a long time, it's about time to get comments from upstream and get it merged.
[[email protected]: coding-style fixes]
Signed-off-by Felipe Balbi <[email protected]>
Reviewed-by Trilok Soni <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/input/keyboard/Kconfig | 8 drivers/input/keyboard/Makefile | 1 drivers/input/keyboard/lm8323.c | 928 ++++++++++++++++++++++++++++++ include/linux/i2c/lm8323.h | 46 + 4 files changed, 983 insertions(+)
drivers/input/keyboard/Kconfig renamed from drivers/input/keyboard/Kconfig~input-keyboard-introduce-lm8323-driver +8 -0
@@ -259,6 +259,14 @@ config KEYBOARD_OMAP To compile this driver as a module, choose M here: the module will be called omap-keypad. +config KEYBOARD_LM8323 + tristate "LM8323 keypad chip" + depends on I2C + depends on LEDS + help + If you say yes here you get support for the National Semiconductor + LM8323 keypad controller. + config KEYBOARD_PXA27x tristate "PXA27x/PXA3xx keypad support" depends on PXA27x || PXA3xx
drivers/input/keyboard/Makefile renamed from drivers/input/keyboard/Makefile~input-keyboard-introduce-lm8323-driver +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_KEYBOARD_TOSA) += tosakbd. obj-$(CONFIG_KEYBOARD_HIL) += hil_kbd.o obj-$(CONFIG_KEYBOARD_HIL_OLD) += hilkbd.o obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o +obj-$(CONFIG_KEYBOARD_LM8323) += lm8323.o obj-$(CONFIG_KEYBOARD_PXA27x) += pxa27x_keypad.o obj-$(CONFIG_KEYBOARD_PXA930_ROTARY) += pxa930_rotary.o obj-$(CONFIG_KEYBOARD_AAED2000) += aaed2000_kbd.o
drivers/input/keyboard/lm8323.c new file +928 -0
928 lines not on this page · raw message
include/linux/i2c/lm8323.h new file +46 -0
46 lines not on this page · raw message
_