diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2016-08-01 12:54:37 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-25 20:20:29 +0300 |
commit | e4244ebddae27e9200146bba897f12a3950ce722 (patch) | |
tree | 950f21d391cfaa5409f38d3eb4aee0901f376fca /include/linux/mfd/cros_ec.h | |
parent | c14dca07a31dac8bd91aa818df62fb3bf1d846c5 (diff) | |
download | linux-e4244ebddae27e9200146bba897f12a3950ce722.tar.xz |
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>
Diffstat (limited to 'include/linux/mfd/cros_ec.h')
-rw-r--r-- | include/linux/mfd/cros_ec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index 1f85b7aff097..f62043a75f43 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -184,6 +184,7 @@ struct cros_ec_dev { struct cros_ec_device *ec_dev; struct device *dev; u16 cmd_offset; + u32 features[2]; }; /** |