From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Mårten Lindahl" <marten.lindahl@axis.com>
Cc: Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-iio@vger.kernel.org, kernel@axis.com
Subject: Re: [PATCH v5 0/3] iio: light: vcnl4000: Add vcnl4040 interrupt support
Date: Wed, 18 Jan 2023 10:33:04 +0200 [thread overview]
Message-ID: <Y8euwCLiKww7+AFe@smile.fi.intel.com> (raw)
In-Reply-To: <20230117190017.3789181-1-marten.lindahl@axis.com>
On Tue, Jan 17, 2023 at 08:00:14PM +0100, Mårten Lindahl wrote:
> Hi!
>
> I have made three patches to add support for proximity sensor
> interrupts with the vcnl4040 sensor.
>
> The first two patches are minor restructuring of the current setup for
> interrupts since the probe function hardcodes it for vcnl4010 only.
>
> The third patch adds support to configure proximity sensor interrupts
> and threshold limits for vcnl4040.
The series looks good enough to me.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Kind regards
> Mårten Lindahl
>
> Changes in v5:
> - Restore one more unnecessary line change
> - Fix indentation
> - Build reg value in a clearer way
>
> Changes in v4:
> - Restore unnecessary line changes
> - Remove unnecessary typecast
>
> Changes in v3:
> - Only register iio_trigger when there is an irq_thread function
>
> Changes in v2:
> - Make restructure of functions for interrupts and triggered buffer
> in separate patch
> - Add check for buffer_setup_ops
> - Remove irq dependency for devm_iio_triggered_buffer_setup
> - Change size of register variable and document it
> - Use field definitions for read/write event_config
>
> Mårten Lindahl (3):
> iio: light: vcnl4000: Prepare for more generic setup
> iio: light: vcnl4000: Make irq handling more generic
> iio: light: vcnl4000: Add interrupt support for vcnl4040
>
> drivers/iio/light/vcnl4000.c | 449 ++++++++++++++++++++++++-----------
> 1 file changed, 311 insertions(+), 138 deletions(-)
>
> --
> 2.30.2
>
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2023-01-18 9:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 19:00 [PATCH v5 0/3] iio: light: vcnl4000: Add vcnl4040 interrupt support Mårten Lindahl
2023-01-17 19:00 ` [PATCH v5 1/3] iio: light: vcnl4000: Prepare for more generic setup Mårten Lindahl
2023-01-17 19:00 ` [PATCH v5 2/3] iio: light: vcnl4000: Make irq handling more generic Mårten Lindahl
2023-01-17 19:00 ` [PATCH v5 3/3] iio: light: vcnl4000: Add interrupt support for vcnl4040 Mårten Lindahl
2023-01-18 8:33 ` Andy Shevchenko [this message]
2023-01-21 18:04 ` [PATCH v5 0/3] iio: light: vcnl4000: Add vcnl4040 interrupt support Jonathan Cameron
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=Y8euwCLiKww7+AFe@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=jic23@kernel.org \
--cc=kernel@axis.com \
--cc=lars@metafoo.de \
--cc=linux-iio@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