2 * Copyright (C) 2011 National Semiconductor
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
12 enum lp8727_eoc_level
{
35 struct lp8727_chg_param
{
36 /* end of charge level setting */
37 enum lp8727_eoc_level eoc_level
;
38 /* charging current */
39 enum lp8727_ichg ichg
;
42 struct lp8727_platform_data
{
43 u8 (*get_batt_present
)(void);
44 u16 (*get_batt_level
)(void);
45 u8 (*get_batt_capacity
)(void);
46 u8 (*get_batt_temp
)(void);
47 struct lp8727_chg_param ac
;
48 struct lp8727_chg_param usb
;