These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / iio / accel / Kconfig
index 7c9a9a9..16cc5c6 100644 (file)
@@ -19,19 +19,27 @@ config BMA180
 
 config BMC150_ACCEL
        tristate "Bosch BMC150 Accelerometer Driver"
-       depends on I2C
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
+       select REGMAP
+       select BMC150_ACCEL_I2C if I2C
+       select BMC150_ACCEL_SPI if SPI
        help
          Say yes here to build support for the following Bosch accelerometers:
          BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
 
-         Currently this only supports the device via an i2c interface.
-
          This is a combo module with both accelerometer and magnetometer.
          This driver is only implementing accelerometer part, which has
          its own address and register map.
 
+config BMC150_ACCEL_I2C
+       tristate
+       select REGMAP_I2C
+
+config BMC150_ACCEL_SPI
+       tristate
+       select REGMAP_SPI
+
 config HID_SENSOR_ACCEL_3D
        depends on HID_SENSOR_HUB
        select IIO_BUFFER
@@ -86,18 +94,6 @@ config KXSD9
          To compile this driver as a module, choose M here: the module
          will be called kxsd9.
 
-config MMA8452
-       tristate "Freescale MMA8452Q Accelerometer Driver"
-       depends on I2C
-       select IIO_BUFFER
-       select IIO_TRIGGERED_BUFFER
-       help
-         Say yes here to build support for the Freescale MMA8452Q 3-axis
-         accelerometer.
-
-         To compile this driver as a module, choose M here: the module
-         will be called mma8452.
-
 config KXCJK1013
        tristate "Kionix 3-Axis Accelerometer Driver"
        depends on I2C
@@ -111,6 +107,18 @@ config KXCJK1013
          To compile this driver as a module, choose M here: the module will
          be called kxcjk-1013.
 
+config MMA8452
+       tristate "Freescale MMA8452Q and similar Accelerometers Driver"
+       depends on I2C
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       help
+         Say yes here to build support for the following Freescale 3-axis
+         accelerometers: MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC.
+
+         To compile this driver as a module, choose M here: the module
+         will be called mma8452.
+
 config MMA9551_CORE
        tristate
 
@@ -136,4 +144,41 @@ config MMA9553
 
          To compile this driver as a module, choose M here: the module
          will be called mma9553.
+
+config MXC4005
+       tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
+       depends on I2C
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       select REGMAP_I2C
+       help
+         Say yes here to build support for the Memsic MXC4005XC 3-axis
+         accelerometer.
+
+         To compile this driver as a module, choose M. The module will be
+         called mxc4005.
+
+config STK8312
+       tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
+       depends on I2C
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       help
+         Say yes here to get support for the Sensortek STK8312 3-axis
+         accelerometer.
+
+         Choosing M will build the driver as a module. If so, the module
+         will be called stk8312.
+
+config STK8BA50
+       tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
+       depends on I2C
+       depends on IIO_TRIGGER
+       help
+         Say yes here to get support for the Sensortek STK8BA50 3-axis
+         accelerometer.
+
+         Choosing M will build the driver as a module. If so, the module
+         will be called stk8ba50.
+
 endmenu