.. | .. |
---|
15 | 15 | #define CHARGER_CURRENT_EVENT 0x01 |
---|
16 | 16 | #define INPUT_CURRENT_EVENT 0x02 |
---|
17 | 17 | |
---|
| 18 | +struct bq2570x_platform_data { |
---|
| 19 | + int current_limit; /* mA */ |
---|
| 20 | + int weak_battery_voltage; /* mV */ |
---|
| 21 | + int battery_regulation_voltage; /* mV */ |
---|
| 22 | + int charge_current; /* mA */ |
---|
| 23 | + int termination_current; /* mA */ |
---|
| 24 | + int resistor_sense; /* m ohm */ |
---|
| 25 | + const char *notify_device; /* name */ |
---|
| 26 | +}; |
---|
| 27 | + |
---|
18 | 28 | void bq25700_charger_set_current(unsigned long event, int current_value); |
---|
19 | 29 | |
---|
20 | 30 | #endif /* __CHARGER_BQ25700_H_ */ |
---|