2 * LP8727 Micro/Mini USB IC with intergrated charger
4 * Copyright (C) 2011 Texas Instruments
5 * Copyright (C) 2011 National Semiconductor
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
15 enum lp8727_eoc_level {
38 struct lp8727_chg_param {
39 /* end of charge level setting */
40 enum lp8727_eoc_level eoc_level;
41 /* charging current */
42 enum lp8727_ichg ichg;
45 struct lp8727_platform_data {
46 u8 (*get_batt_present)(void);
47 u16 (*get_batt_level)(void);
48 u8 (*get_batt_capacity)(void);
49 u8 (*get_batt_temp)(void);
50 struct lp8727_chg_param ac;
51 struct lp8727_chg_param usb;