MC13892 Digitizer Driver
i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
5-3
in a wait queue until the conversion is complete. Once the ADC conversion has completed, the calling
thread can be removed from the wait queue and reawakened.
Avoid the use of any polling loops or other thread delay tactics that would negatively impact processor
performance. Also, avoid doing anything that prevents hardware interrupts from being handled, because
the ADC end-of-conversion event is typically signalled by a hardware interrupt.
5.3
Source Code Structure
lists the source files for the MC13892-specific version of this driver. These are contained in the
following directories:
<ltib_dir>/rpm/BUILD/linux/drivers/mxc/pmic/mc13892/pmic_adc.c
<ltib_dir>/rpm/BUILD/linux/include/linux/pmic_adc.h
<ltib_dir>/rpm/BUILD/linux/drivers/input/touchscreen/mxc_ts.c
5.4
Menu Configuration Options
The following Linux kernel configurations are provided. To get to the configurations, use the command
./ltib -c when located in the <ltib dir>. In the screen select
Configure Kernel
, exit, and a new screen
appears.
•
Choose the MC13892 (MC13892) specific digitizer driver for the PMIC ADC. In menuconfig, this
option is available under:
Device Drivers
>
MXC Support Drivers
>
MXC PMIC Support
>
MC13892 ADC support
•
Driver for the MXC touch screen. In menuconfig, this option is available under:
Device Drivers
>
Input device support
>
Touchscreens
>
MXC touchscreen input driver
Table 5-1. MC13892 Digitizer Driver Files
File
Description
pmic_adc.c
Implementation of the MC13892 ADC client driver
pmic_adc.h
Define names of IOCTL user space interface
mxc_ts.c
Common interface to the input driver system
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...