summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2024-10-16 11:03:13 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-10-16 23:23:39 +0300
commitb45cdceba64d79a2538aeb36926fd9a065f0f753 (patch)
tree2ba6248e92a9edc2510ba49f5c30d03fb78505ac /rust/helpers/build_bug.c
parent421aadd19a622852172ccc15ad4049201fd1f80b (diff)
downloadlinux-b45cdceba64d79a2538aeb36926fd9a065f0f753.tar.xz
power: supply: initial support for TWL6030/32
Add a driver for the charger in the TWL6030/32. For now it does not report much in sysfs but parameters are set up for USB, charging is enabled with the specified parameters. It stops charging when full and also restarts charging. This prevents ending up in a system setup where you run out of battery although a charger is plugged in after precharge completed. Battery voltage behavior was checked via the GPADC. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20241016080314.222674-3-andreas@kemnade.info Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions