Re: [PATCH v2 0/2] iio: magnetometer: add support for Melexis MLX90393
From: Andy Shevchenko
Date: Thu Jun 18 2026 - 15:04:21 EST
On Thu, Jun 18, 2026 at 09:31:39PM +0530, Nikhil Gautam wrote:
> Hi,
>
> This series adds initial Industrial I/O subsystem support for the
> Melexis MLX90393 3-axis magnetometer and temperature sensor.
>
> The MLX90393 supports both I2C and SPI interfaces. This series
> implements support for the I2C interface while keeping the driver
> structure transport-independent to simplify future SPI support.
>
> Currently supported features:
>
> * Raw magnetic field measurements for X/Y/Z axes
> * Raw temperature measurements
> * Configurable gain/scale selection
> * Configurable oversampling ratio
> * Direct mode operation through the IIO subsystem
> * I2C interface support
>
> The driver has been tested on Raspberry Pi 5 hardware using an
> MLX90393 sensor connected over I2C. Magnetic field and temperature
> measurements were verified through the IIO sysfs interface.
This doesn't answer to two important questions:
- why do we need a brand new driver?
Can't one of the existing be updated to cover this HW?
- where to find the datasheet? Any Links or other means to get it?
--
With Best Regards,
Andy Shevchenko