#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/input.h>
Go to the source code of this file.
#define QT2160_CMD_CALIBRATE 10 |
#define QT2160_CMD_CHIPID 0 |
#define QT2160_CMD_CODEVER 1 |
#define QT2160_CMD_GPIOS 6 |
#define QT2160_CMD_GSTAT 2 |
#define QT2160_CMD_KEYS3 3 |
#define QT2160_CMD_KEYS4 4 |
#define QT2160_CMD_SLIDE 5 |
#define QT2160_CMD_SUBVER 7 |
#define QT2160_CYCLE_INTERVAL (2*HZ) |
#define QT2160_VALID_CHIPID 0x11 |
MODULE_DESCRIPTION |
( |
"Driver for AT42QT2160 Touch Sensor" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
qt2160_idtable |
|
|
) |
| |
module_i2c_driver |
( |
qt2160_driver |
| ) |
|