#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <asm/io.h>
Go to the source code of this file.
#define MK712_CONVERSION_COMPLETE 0x80 |
#define MK712_ENABLE_INT 0x01 |
#define MK712_ENABLE_PERIODIC_CONVERSIONS 0x10 |
#define MK712_INT_ON_CHANGE_IN_TOUCH_STATUS 0x04 |
#define MK712_INT_ON_CONVERSION_COMPLETE 0x02 |
#define MK712_POWERUP 0x40 |
#define MK712_READ_ONE_POINT 0x20 |
#define MK712_STATUS_TOUCH 0x10 |
MODULE_AUTHOR |
( |
"Daniel Quinlan <[email protected]> |
, |
|
|
Vojtech Pavlik< vojtech @suse.cz >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"ICS MicroClock MK712 TouchScreen driver" |
| ) |
|
module_exit |
( |
mk712_exit |
| ) |
|
module_init |
( |
mk712_init |
| ) |
|
module_param_named |
( |
io |
, |
|
|
mk712_io |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
module_param_named |
( |
irq |
, |
|
|
mk712_irq |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |