]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mfd: cros_ec: Register charge control subdevice
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 28 May 2024 20:04:12 +0000 (22:04 +0200)
committerLee Jones <lee@kernel.org>
Thu, 4 Jul 2024 16:08:02 +0000 (17:08 +0100)
Add ChromeOS EC-based charge control as EC subdevice.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240528-cros_ec-charge-control-v2-3-81fb27e1cff4@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cros_ec_dev.c

index af698e2466578caf99d466ce1ce36d75ba6b96ea..8929adf33e14f3428e864df37742d068a7da757e 100644 (file)
@@ -87,6 +87,7 @@ static const struct mfd_cell cros_ec_sensorhub_cells[] = {
 };
 
 static const struct mfd_cell cros_usbpd_charger_cells[] = {
+       { .name = "cros-charge-control", },
        { .name = "cros-usbpd-charger", },
        { .name = "cros-usbpd-logger", },
 };