diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-11-19 15:45:45 +0300 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-11-21 13:23:13 +0300 |
commit | a16b2e28190255a0729c27902fa88fb8fff39bb0 (patch) | |
tree | d60b0f6df3daffb6cc9aad7f76d0d79495208bae /drivers/iio/common | |
parent | c9b465683a554212c3dd92915ed2088849c513bf (diff) | |
download | linux-a16b2e28190255a0729c27902fa88fb8fff39bb0.tar.xz |
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>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions