[PATCH v7 2/2] mfd: cros_ec: Add peripheral device charger

From: Daisuke Nojiri
Date: Wed Jun 16 2021 - 14:51:59 EST


This patch adds a cell entry for PCHG (Peripheral CHarGer). PCHG is a
framework managing power supplies for peripheral devices.

Signed-off-by: Daisuke Nojiri <dnojiri@xxxxxxxxxxxx>
Acked-for-mfd-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
v2
* None
v3
* None
v4
* None
V5
* None
V6
* None
v7
* Rebase on torvalds/master.
---
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 d07b43d7c761a8..9c14413bdf9b5d 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -114,6 +114,7 @@ static const struct mfd_cell cros_ec_platform_cells[] = {
{ .name = "cros-ec-debugfs", },
{ .name = "cros-ec-lightbar", },
{ .name = "cros-ec-sysfs", },
+ { .name = "cros-ec-pchg", },
};

static const struct mfd_cell cros_ec_vbc_cells[] = {
--
2.31.0