]> git.baikalelectronics.ru Git - 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)
commite0ed4e3f62146c437159df89ee4fca6d4746efa6
tree950f21d391cfaa5409f38d3eb4aee0901f376fca
parentd108ccc9f2bc6c2ef5d4206ad43f53d765fd7583
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