mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
974e6f02e2
Add the core functions to be able to support the sensors attached behind the ChromeOS Embedded Controller and used by other IIO cros-ec sensor drivers. The cros_ec_sensor_core driver matches with current driver in ChromeOS 4.4 tree, so it includes all the fixes at the moment. The support for this driver was made by Gwendal Grignou. The original patch and all the fixes has been squashed and rebased on top of mainline. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Guenter Roeck <groeck@chromium.org> [eballetbo: split, squash and rebase on top of mainline the patches found in ChromeOS tree] Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
#
|
|
# Chrome OS Embedded Controller managed sensors library
|
|
#
|
|
config IIO_CROS_EC_SENSORS_CORE
|
|
tristate "ChromeOS EC Sensors Core"
|
|
depends on SYSFS && MFD_CROS_EC
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Base module for the ChromeOS EC Sensors module.
|
|
Contains core functions used by other IIO CrosEC sensor
|
|
drivers.
|
|
Define common attributes and sysfs interrupt handler.
|
|
|