[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f3abfc37-50cc-4bdd-bb19-0f0ece4466eb@gmail.com>
Date: Tue, 6 May 2025 12:17:10 +0300
From: Matti Vaittinen <mazziesaccount@...il.com>
To: Andreas Klinger <ak@...klinger.de>
Cc: Jonathan Cameron <jic23@...nel.org>, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, lars@...afoo.de, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
javier.carrasco.cruz@...il.com, subhajit.ghosh@...aklogic.com,
muditsharma.info@...il.com, arthur.becker@...tec.com,
ivan.orlov0322@...il.com
Subject: Re: [PATCH 2/3] iio: light: add support for veml6046x00 RGBIR color
sensor
On 06/05/2025 11:28, Andreas Klinger wrote:
> Hi Matti,
>
> Matti Vaittinen <mazziesaccount@...il.com> schrieb am Di, 06. Mai 09:03:
>> On 05/05/2025 22:10, Andreas Klinger wrote:
>> Couldn't you still have used two different set of gain tables (one for each
>> PD size) if you chose to use the GTS?
>
> Of course there are solutions for it and i was about to finish one with GTS as i
> saw that the driver will get simpler without. As i cannot use the nice features
> of GTS it turns out to use only the data structures and functions on it. But the
> data structures don't fit exactly to this sensor as we have gain and PD in two
> different regfields. So another table to translate the scale to the regfields is
> needed anyway.
Ah. Understood. Thanks for taking the time to explain :)
Yours,
-- Matti
Powered by blists - more mailing lists