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.

Defines

#define IMX_ADC_TS_NAME   "imx_adc_ts"

Functions

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)
 MODULE_LICENSE ("GPL")
static int ts_thread (void *arg)

Variables

static struct input_dev * imx_inputdev
static u32 input_ts_installed


Generated by  Doxygen 1.6.0   Back to index