]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
platform/chrome: Introduce a new function to check EC features.
authorVincent Palatin <vpalatin@chromium.org>
Mon, 1 Aug 2016 09:54:37 +0000 (11:54 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 25 Oct 2016 17:20:29 +0000 (18:20 +0100)
commite4244ebddae27e9200146bba897f12a3950ce722
tree950f21d391cfaa5409f38d3eb4aee0901f376fca
parentc14dca07a31dac8bd91aa818df62fb3bf1d846c5
platform/chrome: Introduce a new function to check EC features.

Use the EC_CMD_GET_FEATURES message to check the supported features for
each MCU.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
[tomeu: adapted to changes in mainline]
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
[enric: remove references to USB PD feature and do it more generic]
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
For the MFD changes:
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/platform/chrome/cros_ec_dev.c
include/linux/mfd/cros_ec.h
include/linux/mfd/cros_ec_commands.h