hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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_ */