aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wm97xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/wm97xx.h')
-rw-r--r--include/linux/wm97xx.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/wm97xx.h b/include/linux/wm97xx.h
index 6f69968eab24..b2c2297844e3 100644
--- a/include/linux/wm97xx.h
+++ b/include/linux/wm97xx.h
@@ -286,6 +286,24 @@ struct wm97xx {
286 u16 suspend_mode; /* PRP in suspend mode */ 286 u16 suspend_mode; /* PRP in suspend mode */
287}; 287};
288 288
289struct wm97xx_batt_pdata {
290 int batt_aux;
291 int temp_aux;
292 int charge_gpio;
293 int min_voltage;
294 int max_voltage;
295 int batt_div;
296 int batt_mult;
297 int temp_div;
298 int temp_mult;
299 int batt_tech;
300 char *batt_name;
301};
302
303struct wm97xx_pdata {
304 struct wm97xx_batt_pdata *batt_pdata; /* battery data */
305};
306
289/* 307/*
290 * Codec GPIO access (not supported on WM9705) 308 * Codec GPIO access (not supported on WM9705)
291 * This can be used to set/get codec GPIO and Virtual GPIO status. 309 * This can be used to set/get codec GPIO and Virtual GPIO status.