[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240121164121.159aea5e@jic23-huawei>
Date: Sun, 21 Jan 2024 16:41:21 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Mårten Lindahl <marten.lindahl@...s.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>, <linux-iio@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel@...s.com>
Subject: Re: [PATCH v3] iio: light: vcnl4000: Set ps high definition for
4040/4200
On Mon, 15 Jan 2024 12:44:36 +0100
Mårten Lindahl <marten.lindahl@...s.com> 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@...s.com>
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
Powered by blists - more mailing lists