iio:accel:stk8312: add triggered buffer dependency
[platform/kernel/linux-starfive.git] / drivers / iio / accel / Kconfig
index 8bd8ccb..c99d8e2 100644 (file)
@@ -140,6 +140,8 @@ config MMA9553
 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.
@@ -147,4 +149,14 @@ config STK8312
          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
+       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