]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/iio/common/cros_ec_sensors/Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
[mirror_ubuntu-jammy-kernel.git] / drivers / iio / common / cros_ec_sensors / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
974e6f02
EBS
2#
3# Chrome OS Embedded Controller managed sensors library
4#
5config IIO_CROS_EC_SENSORS_CORE
6 tristate "ChromeOS EC Sensors Core"
7 depends on SYSFS && MFD_CROS_EC
8 select IIO_BUFFER
9 select IIO_TRIGGERED_BUFFER
10 help
11 Base module for the ChromeOS EC Sensors module.
12 Contains core functions used by other IIO CrosEC sensor
13 drivers.
14 Define common attributes and sysfs interrupt handler.
15
c14dca07
EBS
16config IIO_CROS_EC_SENSORS
17 tristate "ChromeOS EC Contiguous Sensors"
b4d2192e 18 depends on IIO_CROS_EC_SENSORS_CORE
c14dca07
EBS
19 help
20 Module to handle 3d contiguous sensors like
21 Accelerometers, Gyroscope and Magnetometer that are
22 presented by the ChromeOS EC Sensor hub.
23 Creates an IIO device for each functions.