On Tue, Jun 21, 2022 at 2:29 PM Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> wrote: > On Tue, 21 Jun 2022 14:18:55 +0200 > Stefan Lengfeld <stefan.lengfeld@xxxxxxxxx> wrote: ... > > Question 1: > > > > The sensor measures the absorbance[1] of a material. It's the negative > > logarithmic quotient of the received and emitted light. It's a unit-less value. > > > > As far as I can see there is currently no predefined IIO type in the kernel for > > this. I have search the list [2], but nothing matches. > > > > Do I overlook something or what channel type should I use for this sensor > > measurement value? > > So the closest we've seen to this is some of the health sensors (pulse oximeter > targeting devices) but in that case the processing is done with a custom userspace > library so we just pass values on in fixed point. > > So probably needs a new channel type. Wouldn't this be a particular case of ambient (light) sensor? -- With Best Regards, Andy Shevchenko