]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/chrome: Update binary interface for EC-based charge control
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 30 Jun 2024 20:54:09 +0000 (22:54 +0200)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 1 Jul 2024 13:22:19 +0000 (21:22 +0800)
commitc05cb5bdf413a2a5051701a397082380758e37ec
tree83e233429316e355b5e34dfba0aa6e59d28393ef
parent2681bbaa39cc2b5711494cc7e0166538f24e9c16
platform/chrome: Update binary interface for EC-based charge control

The charge-control command v2/v3 is more featureful than v1, it
additionally supports charge thresholds.

The definitions were imported from ChromeOS EC commit
32870d602317 ("squirtle: modify motionsense rotation matrix")

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240630-cros_ec-charge-control-v5-2-8f649d018c52@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
include/linux/platform_data/cros_ec_commands.h