mfd: cros_ec: Add peripheral device charger
authorDaisuke Nojiri <dnojiri@chromium.org>
Wed, 16 Jun 2021 18:51:25 +0000 (11:51 -0700)
committerLee Jones <lee.jones@linaro.org>
Tue, 22 Jun 2021 11:53:03 +0000 (12:53 +0100)
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@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c

index a9700436e5e515d62ecf53370dca6e56a508f5fa..8c08d1c55726d243fbe5f1ca4341068d1e158611 100644 (file)
@@ -114,6 +114,7 @@ static const struct mfd_cell cros_ec_platform_cells[] = {
        { .name = "cros-ec-chardev", },
        { .name = "cros-ec-debugfs", },
        { .name = "cros-ec-sysfs", },
+       { .name = "cros-ec-pchg", },
 };
 
 static const struct mfd_cell cros_ec_lightbar_cells[] = {