~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/mfd/wm831x/pdata.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        int isel;              /** Current for pen down (uA) */
81
81
        int rpu;               /** Pen down sensitivity resistor divider */
82
82
        int pressure;          /** Report pressure (boolean) */
83
 
        int data_irq;          /** Touch data ready IRQ */
 
83
        unsigned int data_irq; /** Touch data ready IRQ */
 
84
        int data_irqf;         /** IRQ flags for data ready IRQ */
 
85
        unsigned int pd_irq;   /** Touch pendown detect IRQ */
 
86
        int pd_irqf;           /** IRQ flags for pen down IRQ */
84
87
};
85
88
 
86
89
enum wm831x_watchdog_action {
102
105
#define WM831X_MAX_LDO    11
103
106
#define WM831X_MAX_ISINK  2
104
107
 
 
108
#define WM831X_GPIO_CONFIGURE 0x10000
 
109
#define WM831X_GPIO_NUM 16
 
110
 
105
111
struct wm831x_pdata {
106
112
        /** Used to distinguish multiple WM831x chips */
107
113
        int wm831x_num;
116
122
 
117
123
        int irq_base;
118
124
        int gpio_base;
 
125
        int gpio_defaults[WM831X_GPIO_NUM];
119
126
        struct wm831x_backlight_pdata *backlight;
120
127
        struct wm831x_backup_pdata *backup;
121
128
        struct wm831x_battery_pdata *battery;