Now, the ChromeOS EC core driver has nothing related to an MFD device, so move that driver from the MFD subsystem to the platform/chrome subsystem. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Thierry Reding <thierry.reding@gmail.com> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Tested-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Chrome OS Embedded Controller managed sensors library
|
|
#
|
|
config IIO_CROS_EC_SENSORS_CORE
|
|
tristate "ChromeOS EC Sensors Core"
|
|
depends on SYSFS && 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"
|
|
depends on IIO_CROS_EC_SENSORS_CORE
|
|
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.
|
|
|
|
config IIO_CROS_EC_SENSORS_LID_ANGLE
|
|
tristate "ChromeOS EC Sensor for lid angle"
|
|
depends on IIO_CROS_EC_SENSORS_CORE
|
|
help
|
|
Module to report the angle between lid and base for some
|
|
convertible devices.
|
|
This module is loaded when the EC can calculate the angle between the base
|
|
and the lid.
|