diff options
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/wm831x/pdata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm831x/pdata.h b/include/linux/mfd/wm831x/pdata.h index 571e60136264..90d820260aad 100644 --- a/include/linux/mfd/wm831x/pdata.h +++ b/include/linux/mfd/wm831x/pdata.h | |||
@@ -18,6 +18,11 @@ | |||
18 | struct wm831x; | 18 | struct wm831x; |
19 | struct regulator_init_data; | 19 | struct regulator_init_data; |
20 | 20 | ||
21 | struct wm831x_backlight_pdata { | ||
22 | int isink; /** ISINK to use, 1 or 2 */ | ||
23 | int max_uA; /** Maximum current to allow */ | ||
24 | }; | ||
25 | |||
21 | struct wm831x_backup_pdata { | 26 | struct wm831x_backup_pdata { |
22 | int charger_enable; | 27 | int charger_enable; |
23 | int no_constant_voltage; /** Disable constant voltage charging */ | 28 | int no_constant_voltage; /** Disable constant voltage charging */ |
@@ -87,6 +92,7 @@ struct wm831x_pdata { | |||
87 | int (*post_init)(struct wm831x *wm831x); | 92 | int (*post_init)(struct wm831x *wm831x); |
88 | 93 | ||
89 | int gpio_base; | 94 | int gpio_base; |
95 | struct wm831x_backlight_pdata *backlight; | ||
90 | struct wm831x_backup_pdata *backup; | 96 | struct wm831x_backup_pdata *backup; |
91 | struct wm831x_battery_pdata *battery; | 97 | struct wm831x_battery_pdata *battery; |
92 | struct wm831x_touch_pdata *touch; | 98 | struct wm831x_touch_pdata *touch; |