From: Jonathan Cameron <jic23@kernel.org>
To: "Mårten Lindahl" <marten.lindahl@axis.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>, <linux-iio@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <kernel@axis.com>
Subject: Re: [PATCH v3] iio: light: vcnl4000: Set ps high definition for 4040/4200
Date: Sun, 21 Jan 2024 16:41:21 +0000 [thread overview]
Message-ID: <20240121164121.159aea5e@jic23-huawei> (raw)
In-Reply-To: <20231221-vcnl4000-ps-hd-v3-1-6dcc889372be@axis.com>
On Mon, 15 Jan 2024 12:44:36 +0100
Mårten Lindahl <marten.lindahl@axis.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@axis.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
prev parent reply other threads:[~2024-01-21 16:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 11:44 [PATCH v3] iio: light: vcnl4000: Set ps high definition for 4040/4200 Mårten Lindahl
2024-01-21 16:41 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240121164121.159aea5e@jic23-huawei \
--to=jic23@kernel.org \
--cc=kernel@axis.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marten.lindahl@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox