#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/wm97xx.h>
#include <mach/hardware.h>
#include <mach/mfp.h>
#include <mach/regs-ac97.h>
Go to the source code of this file.
|
| | module_param (cont_rate, int, 0) |
| |
| | MODULE_PARM_DESC (cont_rate,"Sampling rate in continuous mode (Hz)") |
| |
| | module_param (pressure, int, 0) |
| |
| | MODULE_PARM_DESC (pressure,"Pressure readback (1 = pressure, 0 = no pressure)") |
| |
| | module_param (ac97_touch_slot, int, 0) |
| |
| | MODULE_PARM_DESC (ac97_touch_slot,"Touch screen data slot AC97 number") |
| |
| | module_platform_driver (zylonite_wm97xx_driver) |
| |
| | MODULE_AUTHOR ("Mark Brown <[email protected]>") |
| |
| | MODULE_DESCRIPTION ("wm97xx continuous touch driver for Zylonite") |
| |
| | MODULE_LICENSE ("GPL") |
| |
| #define WM_READS |
( |
|
sp | ) |
((sp / HZ) + 1) |
| module_param |
( |
cont_rate |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| module_param |
( |
pressure |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| module_param |
( |
ac97_touch_slot |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
pressure |
, |
|
|
"Pressure readback (1 = pressure, 0 = no pressure)" |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
ac97_touch_slot |
, |
|
|
"Touch screen data slot AC97 number" |
|
|
) |
| |
| module_platform_driver |
( |
zylonite_wm97xx_driver |
| ) |
|