2024-05-19 07:51:13

by Thomas Weißschuh

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

Add ChromeOS EC-based charge control as EC subdevice.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
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