Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Chrome OS Embedded Controller managed sensors library
0004 #
0005 config IIO_CROS_EC_SENSORS_CORE
0006         tristate "ChromeOS EC Sensors Core"
0007         depends on SYSFS && CROS_EC_SENSORHUB
0008         select IIO_BUFFER
0009         select IIO_TRIGGERED_BUFFER
0010         help
0011           Base module for the ChromeOS EC Sensors module.
0012           Contains core functions used by other IIO CrosEC sensor
0013           drivers.
0014           Define common attributes and sysfs interrupt handler.
0015 
0016 config IIO_CROS_EC_SENSORS
0017         tristate "ChromeOS EC Contiguous Sensors"
0018         depends on IIO_CROS_EC_SENSORS_CORE
0019         help
0020           Module to handle 3d contiguous sensors like
0021           Accelerometers, Gyroscope and Magnetometer that are
0022           presented by the ChromeOS EC Sensor hub.
0023           Creates an IIO device for each functions.
0024 
0025 config IIO_CROS_EC_SENSORS_LID_ANGLE
0026         tristate "ChromeOS EC Sensor for lid angle"
0027         depends on IIO_CROS_EC_SENSORS_CORE
0028         help
0029           Module to report the angle between lid and base for some
0030           convertible devices.
0031           This module is loaded when the EC can calculate the angle between the base
0032           and the lid.