Gwendal Grignou a16b2e2819 mfd / platform: cros_ec: Add sensor_count and make check_features public
Add a new function to return the number of MEMS sensors available in a
ChromeOS Embedded Controller. It uses MOTIONSENSE_CMD_DUMP if available
or a specific memory map ACPI registers to find out.

Also, make check_features public as it can be useful for other drivers
to know what the Embedded Controller supports.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-11-21 11:23:13 +01:00
..
2019-07-15 20:18:40 -07:00
2019-08-14 09:07:20 +01:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2019-09-23 19:37:49 -07:00
2019-07-15 20:18:40 -07:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2019-09-23 19:37:49 -07:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2017-07-18 08:27:18 +01:00
2019-01-16 13:59:34 +00:00
2019-07-09 08:59:39 -07:00