Bosch BMC150 I2C Magnetometer Driver

modulename: bmc150_magn_i2c.ko

configname: CONFIG_BMC150_MAGN_I2C

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>Bosch BMC150 I2C 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
I2C 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 I2C Bosch BMC156 and BMM150 chips.
To compile this driver as a module, choose M here: the module will be
called bmc150_magn_i2c.

source code: