power: supply: mp2629: Add impedance compensation config
authorSaravanan Sekar <sravanhome@gmail.com>
Tue, 26 May 2020 09:06:45 +0000 (11:06 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 26 May 2020 09:41:58 +0000 (10:41 +0100)
Allows the user to compensate the intrinsic resistance of the battery
to accelerate the charging cycle.

Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/ABI/testing/sysfs-class-power-mp2629 [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-class-power-mp2629 b/Documentation/ABI/testing/sysfs-class-power-mp2629
new file mode 100644 (file)
index 0000000..327a07e
--- /dev/null
@@ -0,0 +1,8 @@
+What:          /sys/class/power_supply/mp2629_battery/batt_impedance_compen
+Date:          April 2020
+KernelVersion: 5.7
+Description:
+               Represents a battery impedance compensation to accelerate charging.
+
+                Access: Read, Write
+                Valid values: Represented in milli-ohms. Valid range is [0, 140].