summaryrefslogtreecommitdiff
path: root/drivers/iio/common/cros_ec_sensors/Kconfig
blob: 3349c9d2cf7a53d292e71996fc1b1d805e34d173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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.

config IIO_CROS_EC_SENSORS
	tristate "ChromeOS EC Contiguous Sensors"
	select IIO_CROS_EC_SENSORS_CORE
	select MFD_CROSS_EC
	help
	  Module to handle 3d contiguous sensors like
	  Accelerometers, Gyroscope and Magnetometer that are
	  presented by the ChromeOS EC Sensor hub.
	  Creates an IIO device for each functions.