Re: charge control

2009-04-18 Thread Ilya Petrov
2009/4/19 GM Zhuo : > I rember voltage is 3,and current is 5~13? voltage 3 means 4.2 V. maximum value is 7 ( 4.5 V ) currents 1-13 mean n*100 mA, 14 means maximum current also about is_enabled: on my setup this code returns 0 even after calling enable(): eoc_reg_read(EOC_REG_POWER_CONTROL_0, &

charge control

2009-04-18 Thread Ilya Petrov
Hi! I`m looking at ezx-eoc.c charge-releated code now. Why eoc_charger_enable() has hardcoded value 3 ? AFAIK, normal register value is 7. on 2.4 motorola charge controlling sowtware (emud) using ioctl POWER_IC_IOCTL_CHARGER_SET_CHARGE_VOLTAGE to control this value and sets 7 for charger and 4 f