From e636c8d336489bf3eed5878299e6cc045bbad077 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:17:29 +0000
Subject: [PATCH] debug lk
---
kernel/include/linux/power/bq25700-charge.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/kernel/include/linux/power/bq25700-charge.h b/kernel/include/linux/power/bq25700-charge.h
index 5e7d3e4..20e5209 100644
--- a/kernel/include/linux/power/bq25700-charge.h
+++ b/kernel/include/linux/power/bq25700-charge.h
@@ -15,6 +15,16 @@
#define CHARGER_CURRENT_EVENT 0x01
#define INPUT_CURRENT_EVENT 0x02
+struct bq2570x_platform_data {
+ int current_limit; /* mA */
+ int weak_battery_voltage; /* mV */
+ int battery_regulation_voltage; /* mV */
+ int charge_current; /* mA */
+ int termination_current; /* mA */
+ int resistor_sense; /* m ohm */
+ const char *notify_device; /* name */
+};
+
void bq25700_charger_set_current(unsigned long event, int current_value);
#endif /* __CHARGER_BQ25700_H_ */
--
Gitblit v1.6.2