diff options
author | Gwendal Grignou <[email protected]> | 2019-11-19 13:45:45 +0100 |
---|---|---|
committer | Enric Balletbo i Serra <[email protected]> | 2019-11-21 11:23:13 +0100 |
commit | a16b2e28190255a0729c27902fa88fb8fff39bb0 (patch) | |
tree | d60b0f6df3daffb6cc9aad7f76d0d79495208bae /tools/perf/scripts/python | |
parent | c9b465683a554212c3dd92915ed2088849c513bf (diff) |
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 <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions