[PATCH 3/3] mfd: cros_ec: Register charge control subdevice

From: Thomas Weißschuh
Date: Sun May 19 2024 - 03:51:14 EST


Add ChromeOS EC-based charge control as EC subdevice.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
drivers/mfd/cros_ec_dev.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c
index a52d59cc2b1e..c571cbc642c7 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -89,6 +89,7 @@ static const struct mfd_cell cros_ec_sensorhub_cells[] = {
static const struct mfd_cell cros_usbpd_charger_cells[] = {
{ .name = "cros-usbpd-charger", },
{ .name = "cros-usbpd-logger", },
+ { .name = "cros-charge-control", },
};

static const struct mfd_cell cros_usbpd_notify_cells[] = {

--
2.45.1