diff options
author | Fred Fan <r01011@freescale.com> | 2010-02-22 22:55:37 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:17:15 +0200 |
commit | 7af8336861b3867852950b137bd1781fd9c2d5e4 (patch) | |
tree | 827a6b79e74a6ec24f74a200a527d664b6bd5312 /arch/arm/plat-mxs | |
parent | 76309264b507e341de035685e8c0f3510c2dcc09 (diff) |
ENGR00121032 i.MX28 EVK kbd button detect support
use button detect irq to control adc irq
Signed-off-by: Fred.fan <r01011@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxs')
-rw-r--r-- | arch/arm/plat-mxs/include/mach/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxs/include/mach/device.h b/arch/arm/plat-mxs/include/mach/device.h index b424a69d256d..c5728e1a4ba9 100644 --- a/arch/arm/plat-mxs/include/mach/device.h +++ b/arch/arm/plat-mxs/include/mach/device.h @@ -71,6 +71,9 @@ struct mxskbd_keypair { struct mxs_kbd_plat_data { struct mxskbd_keypair *keypair; int channel; + unsigned int btn_enable; /* detect enable bits */ + unsigned int btn_irq_stat; /* detect irq status bits */ + unsigned int btn_irq_ctrl; /* detect irq enable bits */ }; struct mxs_touchscreen_plat_data { |