public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Julien Stephan <jstephan@baylibre.com>
Cc: "Lars-Peter Clausen" <lars@metafoo.de>,
	"Michael Hennerich" <Michael.Hennerich@analog.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"David Lechner" <dlechner@baylibre.com>,
	"Jonathan Corbet" <corbet@lwn.net>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH v4 0/5] iio: adc: ad7380: add alert support
Date: Sun, 12 Jan 2025 11:51:37 +0000	[thread overview]
Message-ID: <20250112115137.1e0c6f69@jic23-huawei> (raw)
In-Reply-To: <20250108-ad7380-add-alert-support-v4-0-1751802471ba@baylibre.com>

On Wed, 08 Jan 2025 13:49:32 +0100
Julien Stephan <jstephan@baylibre.com> wrote:

> Hello,
> 
> The ad738x family includes a built-in alert mechanism for early
> detection of out-of-bounds conversion results. This series introduces
> this functionality to the ad7380 family.
> 
> This is the first non RFC version of the series (RFC available at [1] and [2]).
> 
> Given the fact that the main use case is to hardwire the interrupt line
> and according to discussions in V2 about interrupts, I think the best is
> to not generate events, at least while we don't have a reasonable way to
> correctly and efficiently handle interrupts.
> 
> Events attributes are still populated to allow user to set a threshold
> and enable alert detection, so alert pin can be hardwired.
> 
> Userspace event can still be added later if needed.
> 
> [1]: https://lore.kernel.org/r/20241029-ad7380-add-aleyyrt-support-v1-1-d0359401b788@baylibre.com
> [2]: https://lore.kernel.org/r/20241224-ad7380-add-alert-support-v2-0-7c89b2bf7cb3@baylibre.com
> 
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Series applied to the to testing branch of iio.git.

Unless the release is delayed for some reason, we are now too late to make
the merge window, so this is next cycle material.

I'll be rebasing the tree on rc1 once available and pushing out as togreg
only once that is done.

Thanks

Jonathan

> ---
> Changes in v4:
> - docs: fix some nitpicks from David Lechner
> - driver: fix some nitpicks from David Lechner and use helper functions
>   to get/set the thresholds
> - driver: fix reading the low threshold value
> - add Reviewed-by tag from David Lechner
> - Link to v3: https://lore.kernel.org/r/20250107-ad7380-add-alert-support-v3-0-bce10afd656b@baylibre.com
> 
> Changes in v3:
> - split regmap cache commit in two
> - remove interrupt handling completely, updating commit messages,
>   driver, and doc
> - fix minor comments from v2 review
> - improve commit message for iio_device_claim_direct_scoped removal
> - Link to v2: https://lore.kernel.org/r/20241224-ad7380-add-alert-support-v2-0-7c89b2bf7cb3@baylibre.com
> 
> Changes in v2:
> - fix read/write high/low thresholds
> - add reset_timeout mechanism for buffered reads
> - implement regcache
> - add cleanup patch to remove iio_device_claim_direct_scoped calls
> - add alert section in the Documentation page
> - Link to v1: https://lore.kernel.org/r/20241029-ad7380-add-aleyyrt-support-v1-1-d0359401b788@baylibre.com
> 
> ---
> Julien Stephan (5):
>       iio: adc: ad7380: do not use iio_device_claim_direct_scoped anymore
>       iio: adc: ad7380: enable regmap cache
>       iio: adc: ad7380: do not store osr in private data structure
>       iio: adc: ad7380: add alert support
>       docs: iio: ad7380: add alert support
> 
>  Documentation/iio/ad7380.rst |  33 +++-
>  drivers/iio/adc/ad7380.c     | 402 +++++++++++++++++++++++++++++++++++++------
>  2 files changed, 378 insertions(+), 57 deletions(-)
> ---
> base-commit: 5ab39233382c621d3271cc274d1534e1b687f4d3
> change-id: 20241029-ad7380-add-alert-support-4d0dd6cea8cd
> 
> Best regards,


      parent reply	other threads:[~2025-01-12 11:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 12:49 [PATCH v4 0/5] iio: adc: ad7380: add alert support Julien Stephan
2025-01-08 12:49 ` [PATCH v4 1/5] iio: adc: ad7380: do not use iio_device_claim_direct_scoped anymore Julien Stephan
2025-01-12 16:29   ` Andy Shevchenko
2025-01-12 16:42     ` Jonathan Cameron
2025-01-12 20:19       ` Andy Shevchenko
2025-01-08 12:49 ` [PATCH v4 2/5] iio: adc: ad7380: enable regmap cache Julien Stephan
2025-01-08 12:49 ` [PATCH v4 3/5] iio: adc: ad7380: do not store osr in private data structure Julien Stephan
2025-01-12 16:31   ` Andy Shevchenko
2025-01-08 12:49 ` [PATCH v4 4/5] iio: adc: ad7380: add alert support Julien Stephan
2025-01-08 15:17   ` David Lechner
2025-01-12 11:49     ` Jonathan Cameron
2025-01-08 12:49 ` [PATCH v4 5/5] docs: iio: " Julien Stephan
2025-01-12 11:51 ` 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=20250112115137.1e0c6f69@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=corbet@lwn.net \
    --cc=dlechner@baylibre.com \
    --cc=jstephan@baylibre.com \
    --cc=lars@metafoo.de \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.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