Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
s3c2410_ts.c File Reference
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/gpio.h>
#include <linux/input.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <plat/adc.h>
#include <plat/regs-adc.h>
#include <linux/platform_data/touchscreen-s3c2410.h>

Go to the source code of this file.

Data Structures

struct  s3c2410ts
 

Macros

#define TSC_SLEEP   (S3C2410_ADCTSC_PULL_UP_DISABLE | S3C2410_ADCTSC_XY_PST(0))
 
#define INT_DOWN   (0)
 
#define INT_UP   (1 << 8)
 
#define WAIT4INT
 
#define AUTOPST
 
#define FEAT_PEN_IRQ   (1 << 0) /* HAS ADCCLRINTPNDNUP */
 

Functions

 MODULE_DEVICE_TABLE (platform, s3cts_driver_ids)
 
 module_platform_driver (s3c_ts_driver)
 
 MODULE_AUTHOR ("Arnaud Patard <[email protected]>, ""Ben Dooks <[email protected]>, ""Simtec Electronics <[email protected]>")
 
 MODULE_DESCRIPTION ("S3C24XX Touchscreen driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define AUTOPST
Value:
S3C2410_ADCTSC_YP_SEN | \
S3C2410_ADCTSC_XP_SEN | \
S3C2410_ADCTSC_AUTO_PST | \
S3C2410_ADCTSC_XY_PST(0))

Definition at line 52 of file s3c2410_ts.c.

#define FEAT_PEN_IRQ   (1 << 0) /* HAS ADCCLRINTPNDNUP */

Definition at line 58 of file s3c2410_ts.c.

#define INT_DOWN   (0)

Definition at line 44 of file s3c2410_ts.c.

#define INT_UP   (1 << 8)

Definition at line 45 of file s3c2410_ts.c.

Definition at line 42 of file s3c2410_ts.c.

#define WAIT4INT
Value:
S3C2410_ADCTSC_YP_SEN | \
S3C2410_ADCTSC_XP_SEN | \
S3C2410_ADCTSC_XY_PST(3))

Definition at line 47 of file s3c2410_ts.c.

Function Documentation

MODULE_AUTHOR ( "Arnaud Patard <[email protected] ,
""Ben Dooks< ben @simtec.co.uk >  ,
""Simtec Electronics< linux @simtec.co.uk >"   
)
MODULE_DESCRIPTION ( "S3C24XX Touchscreen driver )
MODULE_DEVICE_TABLE ( platform  ,
s3cts_driver_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( s3c_ts_driver  )