Re: [PATCH v6 4/4] iio: magnetometer: mmc5633: Add mount matrix support
From: Andy Shevchenko
Date: Thu Dec 03 2026 - 12:26:15 EST
On Thu, Dec 03, 2026 at 05:56:54PM +0100, Gerard Marull-Paretas wrote:
> Read the mount matrix from the firmware and expose it, so that user
> space can account for how the sensor is oriented on the board.
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
While I reviewed that, the more generic Q still stands. Can we rather use IIO
opaque structure and move majority of this code to the IIO core as a helper for
drivers that want it? Jonathan, what do you think?
(It definitely does not affect this series, which is good as it go.)
--
With Best Regards,
Andy Shevchenko