Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f2d496b authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

Merge branch 'ib-iio-mfd-4.9rc1' into togreg

Immutable branch to allow mfd changes to also be available in Lee's MFD tree.
parents 579d5425 b4d2192e
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
What:		/sys/bus/iio/devices/iio:deviceX/calibrate
Date:		July 2015
KernelVersion:	4.7
Contact:	linux-iio@vger.kernel.org
Description:
		Writing '1' will perform a FOC (Fast Online Calibration). The
                corresponding calibration offsets can be read from *_calibbias
                entries.

What:		/sys/bus/iio/devices/iio:deviceX/location
Date:		July 2015
KernelVersion:	4.7
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute returns a string with the physical location where
                the motion sensor is placed. For example, in a laptop a motion
                sensor can be located on the base or on the lid. Current valid
		values are 'base' and 'lid'.
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
# IIO common modules
#

source "drivers/iio/common/cros_ec_sensors/Kconfig"
source "drivers/iio/common/hid-sensors/Kconfig"
source "drivers/iio/common/ms_sensors/Kconfig"
source "drivers/iio/common/ssp_sensors/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
#

# When adding new entries keep the list in alphabetical order
obj-y += cros_ec_sensors/
obj-y += hid-sensors/
obj-y += ms_sensors/
obj-y += ssp_sensors/
+22 −0
Original line number Diff line number Diff line
#
# 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"
	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.
+6 −0
Original line number Diff line number Diff line
#
# Makefile for sensors seen through the ChromeOS EC sensor hub.
#

obj-$(CONFIG_IIO_CROS_EC_SENSORS_CORE) += cros_ec_sensors_core.o
obj-$(CONFIG_IIO_CROS_EC_SENSORS) += cros_ec_sensors.o
Loading