]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: add ChromeOS EC based charge control driver
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 30 Jun 2024 20:54:11 +0000 (22:54 +0200)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 1 Jul 2024 13:22:19 +0000 (21:22 +0800)
commitc6ed48ef52599098498a8442fd60bea5bd8cd309
treeca84d2e6fec7ee8d9e42fd547b9dd48a215121ff
parent69a13742b7c64ed89894caf7091539e164b3e97c
power: supply: add ChromeOS EC based charge control driver

The ChromeOS Embedded Controller implements a command to control charge
thresholds and behaviour.

Use it to implement the standard Linux charge_control_start_threshold,
charge_control_end_threshold and charge_behaviour sysfs UAPIs.

The driver is designed to be probed via the cros_ec mfd device.

Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240630-cros_ec-charge-control-v5-4-8f649d018c52@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
MAINTAINERS
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/cros_charge-control.c [new file with mode: 0644]