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

mxc_ts.c File Reference

Detailed Description

Driver for the Freescale Semiconductor MXC touchscreen.

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

Definition in file mxc_ts.c.

#include <linux/kernel.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/pmic_external.h>
#include <linux/pmic_adc.h>

Go to the source code of this file.


#define MXC_TS_NAME   "mxc_ts"


 late_initcall (mxc_ts_init)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("MXC input touchscreen driver")
 module_exit (mxc_ts_exit)
static void __exit mxc_ts_exit (void)
static int __init mxc_ts_init (void)
static int ts_thread (void *arg)


static u32 input_ts_installed
static struct input_dev * mxc_inputdev = NULL

Generated by  Doxygen 1.6.0   Back to index