What driver is used for lradc keypad on the imx23-evk board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What driver is used for lradc keypad on the imx23-evk board?

838 Views
jchaise
Contributor I

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:

generic adc key pad driver

device tree example here:

adc device tree example

thank you

Justin Chaise

Labels (2)
0 Kudos
3 Replies

519 Views
igorpadykov
NXP Employee
NXP Employee

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)

http://www.freescale.com/products/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.m...

0 Kudos

519 Views
lategoodbye
Senior Contributor I

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 :-(

0 Kudos

519 Views
fabio_estevam
NXP Employee
NXP Employee

Yes, just pinged the author if he plans to submit a v2.

0 Kudos