Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297939
b: refs/heads/master
c: 9b11adc
h: refs/heads/master
i:
  297937: a12b6f2
  297935: a4ccd2a
v: v3
  • Loading branch information
Kim, Milo authored and Anton Vorontsov committed Mar 26, 2012
1 parent 012b8e0 commit 1a66333
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7336880e3d73ee38b0c2bb99674e7e79d87dd43e
refs/heads/master: 9b11adc773b45845cc384bf01a623bba628f9f99
15 changes: 13 additions & 2 deletions trunk/include/linux/lp8727.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,24 @@ enum lp8727_ichg {
ICHG_1000mA,
};

/**
* struct lp8727_chg_param
* @eoc_level : end of charge level setting
* @ichg : charging current
*/
struct lp8727_chg_param {
/* end of charge level setting */
enum lp8727_eoc_level eoc_level;
/* charging current */
enum lp8727_ichg ichg;
};

/**
* struct lp8727_platform_data
* @get_batt_present : check battery status - exists or not
* @get_batt_level : get battery voltage (mV)
* @get_batt_capacity : get battery capacity (%)
* @get_batt_temp : get battery temperature
* @ac, @usb : charging parameters each charger type
*/
struct lp8727_platform_data {
u8 (*get_batt_present)(void);
u16 (*get_batt_level)(void);
Expand Down

0 comments on commit 1a66333

Please sign in to comment.