aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/common/st_sensors/Kconfig
diff options
context:
space:
mode:
authorDenis Ciocca <denis.ciocca@gmail.com>2013-01-25 23:44:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-01-31 17:56:43 +0000
commit23491b513bcd3dfe4ddb94547d73d9deb94eda44 (patch)
tree2f7628041f42e3df88716253e8ca820b2ec884a1 /drivers/iio/common/st_sensors/Kconfig
parent085494ac2039433a5df9fdd6fb653579e18b8c71 (diff)
downloadvexpress-lsk-23491b513bcd3dfe4ddb94547d73d9deb94eda44.tar.gz
iio:common: Add STMicroelectronics common library
This patch add a generic library for STMicroelectronics 3-axis sensors. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common/st_sensors/Kconfig')
-rw-r--r--drivers/iio/common/st_sensors/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/iio/common/st_sensors/Kconfig b/drivers/iio/common/st_sensors/Kconfig
new file mode 100644
index 00000000000..865f1ca33eb
--- /dev/null
+++ b/drivers/iio/common/st_sensors/Kconfig
@@ -0,0 +1,14 @@
+#
+# STMicroelectronics sensors common library
+#
+
+config IIO_ST_SENSORS_I2C
+ tristate
+
+config IIO_ST_SENSORS_SPI
+ tristate
+
+config IIO_ST_SENSORS_CORE
+ tristate
+ select IIO_ST_SENSORS_I2C if I2C
+ select IIO_ST_SENSORS_SPI if SPI_MASTER