PNI RM3100 3-Axis Magnetometer (I2C)

modulename: rm3100-i2c.ko

configname: CONFIG_SENSORS_RM3100_I2C

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>PNI RM3100 3-Axis Magnetometer (I2C)
In linux kernel since version 5 (release Date: 2019-03-03)  
Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.

This driver can also be compiled as a module.
To compile this driver as a module, choose M here: the module
will be called rm3100-i2c.

source code: