Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/mfd/88pm860x.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | pm860x_touch |
Macros | |
#define | MEAS_LEN (8) |
#define | ACCURATE_BIT (12) |
#define | MEAS_EN3 (0x52) |
#define | MEAS_TSIX_1 (0x8D) |
#define | MEAS_TSIX_2 (0x8E) |
#define | MEAS_TSIY_1 (0x8F) |
#define | MEAS_TSIY_2 (0x90) |
#define | MEAS_TSIZ1_1 (0x91) |
#define | MEAS_TSIZ1_2 (0x92) |
#define | MEAS_TSIZ2_1 (0x93) |
#define | MEAS_TSIZ2_2 (0x94) |
#define | MEAS_PD_EN (1 << 3) |
#define | MEAS_TSIX_EN (1 << 4) |
#define | MEAS_TSIY_EN (1 << 5) |
#define | MEAS_TSIZ1_EN (1 << 6) |
#define | MEAS_TSIZ2_EN (1 << 7) |
#define | pm860x_touch_dt_init(x, y, z) (-1) |
Functions | |
module_platform_driver (pm860x_touch_driver) | |
MODULE_DESCRIPTION ("Touchscreen driver for Marvell Semiconductor 88PM860x") | |
MODULE_AUTHOR ("Haojian Zhuang <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:88pm860x-touch") | |
#define ACCURATE_BIT (12) |
Definition at line 21 of file 88pm860x-ts.c.
#define MEAS_EN3 (0x52) |
Definition at line 24 of file 88pm860x-ts.c.
#define MEAS_LEN (8) |
Definition at line 20 of file 88pm860x-ts.c.
#define MEAS_PD_EN (1 << 3) |
Definition at line 36 of file 88pm860x-ts.c.
#define MEAS_TSIX_1 (0x8D) |
Definition at line 26 of file 88pm860x-ts.c.
#define MEAS_TSIX_2 (0x8E) |
Definition at line 27 of file 88pm860x-ts.c.
#define MEAS_TSIX_EN (1 << 4) |
Definition at line 37 of file 88pm860x-ts.c.
#define MEAS_TSIY_1 (0x8F) |
Definition at line 28 of file 88pm860x-ts.c.
#define MEAS_TSIY_2 (0x90) |
Definition at line 29 of file 88pm860x-ts.c.
#define MEAS_TSIY_EN (1 << 5) |
Definition at line 38 of file 88pm860x-ts.c.
#define MEAS_TSIZ1_1 (0x91) |
Definition at line 30 of file 88pm860x-ts.c.
#define MEAS_TSIZ1_2 (0x92) |
Definition at line 31 of file 88pm860x-ts.c.
#define MEAS_TSIZ1_EN (1 << 6) |
Definition at line 39 of file 88pm860x-ts.c.
#define MEAS_TSIZ2_1 (0x93) |
Definition at line 32 of file 88pm860x-ts.c.
#define MEAS_TSIZ2_2 (0x94) |
Definition at line 33 of file 88pm860x-ts.c.
#define MEAS_TSIZ2_EN (1 << 7) |
Definition at line 40 of file 88pm860x-ts.c.
Definition at line 169 of file 88pm860x-ts.c.
MODULE_ALIAS | ( | "platform:88pm860x-touch" | ) |
MODULE_AUTHOR | ( | "Haojian Zhuang <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | pm860x_touch_driver | ) |