Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/workqueue.h>
#include <linux/mfd/da903x.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | da9034_touch |
Macros | |
#define | DA9034_MANUAL_CTRL 0x50 |
#define | DA9034_LDO_ADC_EN (1 << 4) |
#define | DA9034_AUTO_CTRL1 0x51 |
#define | DA9034_AUTO_CTRL2 0x52 |
#define | DA9034_AUTO_TSI_EN (1 << 3) |
#define | DA9034_PEN_DETECT (1 << 4) |
#define | DA9034_TSI_CTRL1 0x53 |
#define | DA9034_TSI_CTRL2 0x54 |
#define | DA9034_TSI_X_MSB 0x6c |
#define | DA9034_TSI_Y_MSB 0x6d |
#define | DA9034_TSI_XY_LSB 0x6e |
Enumerations | |
enum | { STATE_IDLE, STATE_BUSY, STATE_STOP, STATE_WAIT } |
enum | { EVENT_PEN_DOWN, EVENT_PEN_UP, EVENT_TSI_READY, EVENT_TIMEDOUT } |
Functions | |
module_platform_driver (da9034_touch_driver) | |
MODULE_DESCRIPTION ("Touchscreen driver for Dialog Semiconductor DA9034") | |
MODULE_AUTHOR ("Eric Miao <[email protected]>, Bin Yang <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:da9034-touch") | |
#define DA9034_AUTO_CTRL1 0x51 |
Definition at line 27 of file da9034-ts.c.
#define DA9034_AUTO_CTRL2 0x52 |
Definition at line 29 of file da9034-ts.c.
#define DA9034_AUTO_TSI_EN (1 << 3) |
Definition at line 30 of file da9034-ts.c.
#define DA9034_LDO_ADC_EN (1 << 4) |
Definition at line 25 of file da9034-ts.c.
#define DA9034_MANUAL_CTRL 0x50 |
Definition at line 24 of file da9034-ts.c.
#define DA9034_PEN_DETECT (1 << 4) |
Definition at line 31 of file da9034-ts.c.
#define DA9034_TSI_CTRL1 0x53 |
Definition at line 33 of file da9034-ts.c.
#define DA9034_TSI_CTRL2 0x54 |
Definition at line 34 of file da9034-ts.c.
#define DA9034_TSI_X_MSB 0x6c |
Definition at line 35 of file da9034-ts.c.
#define DA9034_TSI_XY_LSB 0x6e |
Definition at line 37 of file da9034-ts.c.
#define DA9034_TSI_Y_MSB 0x6d |
Definition at line 36 of file da9034-ts.c.
anonymous enum |
Definition at line 39 of file da9034-ts.c.
anonymous enum |
Definition at line 46 of file da9034-ts.c.
MODULE_ALIAS | ( | "platform:da9034-touch" | ) |
MODULE_AUTHOR | ( | "Eric Miao <[email protected]> | , |
Bin Yang< bin.yang @marvell.com >" | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | da9034_touch_driver | ) |