[2/2] mfd: cros_ec: Add peripheral device charger
diff mbox series

Message ID 20201215214303.2825937-2-dnojiri@chromium.org
State New, archived
Headers show
Series
  • [1/2] power: supply: PCHG: Peripheral device charger
Related show

Commit Message

Daisuke Nojiri Dec. 15, 2020, 9:43 p.m. UTC
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>
---
 drivers/mfd/cros_ec_dev.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Lee Jones Dec. 16, 2020, 2:40 p.m. UTC | #1
On Tue, 15 Dec 2020, Daisuke Nojiri wrote:

> 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>
> ---

When submitting subsequent patch versions, it's best practice to:

 - Submit it on its own i.e. not in reply-to the previous version
 - Indicate the version number in the subject line: [PATCH v2 1/2]
 - Apply a change-log - usually located just after the '---' marker
 
>  drivers/mfd/cros_ec_dev.c | 1 +
>  1 file changed, 1 insertion(+)

For my own reference (apply this as-is to your sign-off block):

  Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>

Patch
diff mbox series

diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c
index 6135321592b76c..f3bc1cb6891ba5 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -116,6 +116,7 @@  static const struct mfd_cell cros_ec_platform_cells[] = {
 	{ .name = "cros-ec-pd-sysfs" },
 	{ .name = "cros-ec-sysfs", },
 	{ .name = "cros-ec-pd-update", },
+	{ .name = "cros-ec-pchg", },
 };
 
 static const struct mfd_cell cros_ec_vbc_cells[] = {