Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

imx_adc_ts.c File Reference

Detailed Description

Driver for the Freescale Semiconductor i.MX ADC touchscreen.

This touchscreen driver is designed as a standard input driver. It is a wrapper around the low level ADC driver. Much of the hardware configuration and touchscreen functionality is implemented in the low level ADC driver. During initialization, this driver creates a kernel thread. This thread then calls the ADC driver to obtain touchscreen values continously. These values are then passed to the input susbsystem.

Definition in file imx_adc_ts.c.

#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/input.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/freezer.h>
#include <linux/imx_adc.h>

Go to the source code of this file.


#define IMX_ADC_TS_NAME   "imx_adc_ts"


static void __exit imx_adc_ts_exit (void)
static int __init imx_adc_ts_init (void)
 late_initcall (imx_adc_ts_init)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("i.MX ADC input touchscreen driver")
 module_exit (imx_adc_ts_exit)
static int ts_thread (void *arg)


static struct input_dev * imx_inputdev
static u32 input_ts_installed

Generated by  Doxygen 1.6.0   Back to index