summaryrefslogtreecommitdiff
path: root/include/linux/power
diff options
context:
space:
mode:
authorDzmitry Sankouski <dsankouski@gmail.com>2025-09-25 22:09:56 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-11-03 00:02:30 +0100
commit8ed6b8842c44a4a716dfd536e7f13aff77039a02 (patch)
tree9f3f2bffe4a1dce7fac9f26018a664095bcac713 /include/linux/power
parentb838cecc229122559b3e2e381a9275f714bd4146 (diff)
power: supply: max77705_charger: implement aicl feature
Adaptive input current allows charger to reduce it's current consumption, when source is not able to provide enough power. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> Link: https://patch.msgid.link/20250925-max77705_77976_charger_improvement-v6-1-972c716c17d1@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/max77705_charger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/max77705_charger.h b/include/linux/power/max77705_charger.h
index 6653abfdf747..b3950ce0625e 100644
--- a/include/linux/power/max77705_charger.h
+++ b/include/linux/power/max77705_charger.h
@@ -123,6 +123,8 @@
#define MAX77705_DISABLE_SKIP 1
#define MAX77705_AUTO_SKIP 0
+#define AICL_WORK_DELAY_MS 100
+
/* uA */
#define MAX77705_CURRENT_CHGIN_STEP 25000
#define MAX77705_CURRENT_CHG_STEP 50000