diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2016-04-15 17:13:10 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-18 20:44:47 +0100 |
commit | 534536acdb25bae85a5333b7085837b3f1f72b73 (patch) | |
tree | ee9dc7fe7b7c9b48740bb88e1f0c82d1aeb1d0ac /drivers/iio/magnetometer/Kconfig | |
parent | 761b7910d4b4f0e7d283873b701ca83beacd70a5 (diff) | |
download | blackbird-obmc-linux-534536acdb25bae85a5333b7085837b3f1f72b73.tar.gz blackbird-obmc-linux-534536acdb25bae85a5333b7085837b3f1f72b73.zip |
iio: magn: bmc150: Introduce SPI support
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r-- | drivers/iio/magnetometer/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig index 4972f9d17023..84e6559ccc65 100644 --- a/drivers/iio/magnetometer/Kconfig +++ b/drivers/iio/magnetometer/Kconfig @@ -47,6 +47,22 @@ config BMC150_MAGN_I2C To compile this driver as a module, choose M here: the module will be called bmc150_magn_i2c. +config BMC150_MAGN_SPI + tristate "Bosch BMC150 SPI Magnetometer Driver" + depends on SPI + select BMC150_MAGN + select REGMAP_SPI + help + Say yes here to build support for the BMC150 magnetometer with + SPI interface. + + This is a combo module with both accelerometer and magnetometer. + This driver is only implementing magnetometer part, which has + its own address and register map. + + To compile this driver as a module, choose M here: the module will be + called bmc150_magn_spi. + config MAG3110 tristate "Freescale MAG3110 3-Axis Magnetometer" depends on I2C |