From: Jonathan Cameron <jic23@kernel.org>
To: Svyatoslav Ryhel <clamor95@gmail.com>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Esben Haabendal" <esben@geanix.com>,
"Kuppuswamy Sathyanarayanan"
<sathyanarayanan.kuppuswamy@linux.intel.com>,
"Uwe Kleine-König (The Capable Hub)"
<u.kleine-koenig@baylibre.com>, "Pan Chuang" <panchuang@vivo.com>,
"Hemanth Selam" <hemanth.selam@gmail.com>,
"Antoniu Miclaus" <antoniu.miclaus@analog.com>,
"Nikita Travkin" <nikita@trvn.ru>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Arnav Kapoor" <kapoorarnav43@gmail.com>
Subject: Re: [PATCH v5 0/4] iio: light: ltr501: Add LTR-659PS-01 prox sensor support
Date: Sun, 22 Nov 2026 20:04:18 +0000 [thread overview]
Message-ID: <20261122200418.3402abb6@jic23-hlaptop> (raw)
In-Reply-To: <20261122080753.36349-1-clamor95@gmail.com>
On Sun, 22 Nov 2026 10:07:49 +0200
Svyatoslav Ryhel <clamor95@gmail.com> wrote:
> Add support for the Lite-On LTR-659PS-01 proximity sensor. This device is
> nearly identical to the LTR-559ALS-01, but omits all elements related to
> ambient light sensing.
>
This seems to address Arnav's review on v4 and looks good to me.
So given I might not get back to the tree for a few days I'll apply it now
and we can let the bots have fun with it. Still time for additional review
feedback though whilst that is going on.
Applied to the testing branch of iio.git.
Note sashiko warning is because you don't have a based on in this cover
letter with appropriate precursor for the export.
Thanks,
Jonathan
> ---
> Changes in v2:
> - set IIO_PROXIMITY channel to scan_index 2 since driver will not handle other
> id properly
> - add IIO_CHAN_INFO_SAMP_FREQ for IIO_PROXIMITY channel
> - isolate missed ALS register calls
> - add commit to use read_avail operation
> - convert to use modern chip info match
>
> Changes in v3:
> - LTR501_INTENSITY_CHANNEL macro adjusted to set predefined info_mask_shared_by_type,
> info_mask_shared_by_type_available and info_mask_shared_by_all_available
> - added info_mask_separate_available and info_mask_shared_by_all_available to
> proximity channel
> - fixed IIO_CHAN_INFO_SCALE for IIO_INTENSITY since table has -1 entries
> - fixed indio_dev->name asignment
> - dropped ltr501_has_als_support helper
> - fixed channel finding in ltr501_trigger_handler
> - isolated more accesses to ALS registers if no_als_support is enabled
>
> Changes in v4:
> - adjusted intensity scale passing
> - int_time and samp_freq converted into 2d arrays
> - for_each_set_bit() + iio_find_channel_from_si() > iio_for_each_active_channel()
>
> Changes in v5
> - fixed als_gain_tbl_len calculation
> - restored use of iio_find_channel_from_si()
>
> This patchset requires change[1] exporting iio_find_channel_from_si() since else
> building as module will fail
>
> [1] https://lore.kernel.org/lkml/20261115083049.46840-1-clamor95@gmail.com/
> ---
>
> Svyatoslav Ryhel (4):
> iio: light: ltr501: Switch to read_avail() op from manual attribute
> registration
> iio: light: ltr501: Switch to modern match mechanism
> dt-bindings: iio: light: ltr501: Document LTR659 proximity sensor
> iio: light: ltr501: Add support for the LTR-659PS-01 proximity sensor
>
> .../bindings/iio/light/liteon,ltr501.yaml | 1 +
> drivers/iio/light/ltr501.c | 427 +++++++++---------
> 2 files changed, 211 insertions(+), 217 deletions(-)
>
prev parent reply other threads:[~2026-11-22 20:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 8:07 [PATCH v5 0/4] iio: light: ltr501: Add LTR-659PS-01 prox sensor support Svyatoslav Ryhel
2026-11-22 8:07 ` [PATCH v5 1/4] iio: light: ltr501: Switch to read_avail() op from manual attribute registration Svyatoslav Ryhel
2026-11-22 8:07 ` [PATCH v5 2/4] iio: light: ltr501: Switch to modern match mechanism Svyatoslav Ryhel
2026-11-22 8:07 ` [PATCH v5 3/4] dt-bindings: iio: light: ltr501: Document LTR659 proximity sensor Svyatoslav Ryhel
2026-11-22 8:07 ` [PATCH v5 4/4] iio: light: ltr501: Add support for the LTR-659PS-01 " Svyatoslav Ryhel
2026-11-22 8:18 ` sashiko-bot
2026-11-22 20:04 ` 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=20261122200418.3402abb6@jic23-hlaptop \
--to=jic23@kernel.org \
--cc=andy@kernel.org \
--cc=antoniu.miclaus@analog.com \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=esben@geanix.com \
--cc=hemanth.selam@gmail.com \
--cc=kapoorarnav43@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikita@trvn.ru \
--cc=nuno.sa@analog.com \
--cc=panchuang@vivo.com \
--cc=robh@kernel.org \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
--cc=u.kleine-koenig@baylibre.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