hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/linux/power/bq25700-charge.h
....@@ -15,6 +15,16 @@
1515 #define CHARGER_CURRENT_EVENT 0x01
1616 #define INPUT_CURRENT_EVENT 0x02
1717
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
+
1828 void bq25700_charger_set_current(unsigned long event, int current_value);
1929
2030 #endif /* __CHARGER_BQ25700_H_ */