From 1a6633353d72989958fadd936476c75056edae4f Mon Sep 17 00:00:00 2001 From: "Kim, Milo" Date: Thu, 26 Jan 2012 22:59:00 -0800 Subject: [PATCH] --- yaml --- r: 297939 b: refs/heads/master c: 9b11adc773b45845cc384bf01a623bba628f9f99 h: refs/heads/master i: 297937: a12b6f2deb70d1936c44cda1cb9bfce305db948a 297935: a4ccd2adf5589d725ea9ff578fe8007f40259f3d v: v3 --- [refs] | 2 +- trunk/include/linux/lp8727.h | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a17032dab82b..48b5316625a1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7336880e3d73ee38b0c2bb99674e7e79d87dd43e +refs/heads/master: 9b11adc773b45845cc384bf01a623bba628f9f99 diff --git a/trunk/include/linux/lp8727.h b/trunk/include/linux/lp8727.h index 95371c46dc3a..a508b4555e60 100644 --- a/trunk/include/linux/lp8727.h +++ b/trunk/include/linux/lp8727.h @@ -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);