aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Kconfig
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2019-11-19 13:45:45 +0100
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-11-21 11:23:13 +0100
commita16b2e28190255a0729c27902fa88fb8fff39bb0 (patch)
treed60b0f6df3daffb6cc9aad7f76d0d79495208bae /drivers/platform/chrome/Kconfig
parentplatform/chrome: cros_ec: Put docs with the code (diff)
downloadlinux-dev-a16b2e28190255a0729c27902fa88fb8fff39bb0.tar.xz
linux-dev-a16b2e28190255a0729c27902fa88fb8fff39bb0.zip
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/platform/chrome/Kconfig')
0 files changed, 0 insertions, 0 deletions