Re: [PATCH v2 4/4] iio: light: opt4001: add support for opt4041
From: Andy Shevchenko
Date: Fri Oct 23 2026 - 10:00:18 EST
On Fri, Oct 23, 2026 at 02:30:31PM +0200, Jesper X Nilsson wrote:
> Extend the opt4001 driver to also support OPT4041. The devices are very
> similar, with the difference being OPT4041 having two channels, one
> visible and one wide band channel ranging from 380nm to 1000nm.
>
> The register map is almost the same. OPT4001 has registers to read out
> the last four values sampled. OPT4041 maps to the same registers, but
> has two channels, saving the last two samples for each channel.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko