Bosch BMC150 Magnetometer Driver

modulename: bmc150_magn.ko

configname: CONFIG_BMC150_MAGN

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>Bosch BMC150 Magnetometer Driver
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say yes here to build support for the BMC150 magnetometer.

Currently this only supports the device via an 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.

source code: