What driver is used for lradc keypad on the imx23-evk board?
Quote from "i.MX23 EVK 10.05 Linux Reference Manual"
"2.3.7 Keypad
The keypad driver interfaces Linux to the keypad ladder connected to the i.MX23 LRADC controller."
I can find drivers for a matrix keypad or a lradc touch screen, but not a lradc keypad.
Am I missing something obvious?
The "i.MX23 EVK 10.05 Linux Reference Manual" reference these drivers:
mxc_keyb.c
mxc_keyb.h
mxs-kbd.c
These are not in the linux-fslc. Is there a generic driver now?
Hardware / Software:
linux-fslc 4.x
imx23-evk (I am using a custom board, but it shares much with the imx23-evk board)
LRADC0
What would be a good starting place to make my keypad work?
I found this at:
device tree example here:
thank you
Justin Chaise
these drivers are included in i.MX23 EVK Linux 2.6.31 BSP:
Board Support Packages (6)
Linux 2.6.31 Source Code Files 2010.05 Release (REV 2010.05)
In principle the mainline version of mxs-lradc should work in combination with adc_keypad.
There is only one thing, i don't know if the mxs-lradc is able to sample multiple iio channel at the same time (i assume your keypad has more than 1 button).
Unfortunately the generic adc key driver wasn't accepted yet. I didn't find any comments about V2 :-(
Yes, just pinged the author if he plans to submit a v2.