]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: cros: add charger port count command definition
authorFabien Parent <fparent@baylibre.com>
Fri, 10 Aug 2018 13:13:47 +0000 (15:13 +0200)
committerSebastian Reichel <sre@kernel.org>
Sun, 16 Sep 2018 10:55:16 +0000 (12:55 +0200)
commit36f47383c7f9fa0fdc20a92635435ff77ff71a6f
tree96601b77f53ec8886ca432b092258a6165d2b2a7
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
mfd: cros: add charger port count command definition

A new more command has been added to the ChromeOS embedded controller
that allows to get the number of charger port count. Unlike
EC_CMD_USB_PD_PORTS, this new command also includes the dedicated
port if present.

This command will be used to expose the dedicated charger port
in the ChromeOS charger driver.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
include/linux/mfd/cros_ec_commands.h