Re: [PATCH v3] iio: light: vcnl4000: Set ps high definition for 4040/4200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 15 Jan 2024 12:44:36 +0100
Mårten Lindahl <marten.lindahl@xxxxxxxx> wrote:

> The vcnl4040/vcnl4200 proximity sensor defaults to 12 bit data
> resolution, but the chip also supports 16 bit data resolution, which is
> called proximity high definition (PS_HD).
> 
> Make the vcnl4040/vcnl4200 proximity sensor use the high definition for
> all data readings. Please note that in order to preserve the 12 bit
> integer part of the in_proximity_raw output, the format is changed from
> integer to fixed point.
> 
> Signed-off-by: Mårten Lindahl <marten.lindahl@xxxxxxxx>
Applied to the togreg branch of iio.git and initially pushed out as testing
for 0-day to see if it can find anything we missed.

Thanks,

Jonathan





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux