Bosch BMC150 SPI Magnetometer Driver

modulename: bmc150_magn_spi.ko

configname: CONFIG_BMC150_MAGN_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>SPI support
└─>Bosch BMC150 SPI Magnetometer Driver
In linux kernel since version 4.1 (release Date: 2015-06-21)  
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.

This driver also supports SPI Bosch BMC156 and BMM150 chips.
To compile this driver as a module, choose M here: the module will be
called bmc150_magn_spi.

source code: