Linux IIO development
 help / color / mirror / Atom feed
From: Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Lars-Peter Clausen <lars@metafoo.de>,
	 Michael Hennerich <Michael.Hennerich@analog.com>,
	 Jonathan Cameron <jic23@kernel.org>,
	 Olivier Moysan <olivier.moysan@foss.st.com>,
	 Dragos Bogdan <dragos.bogdan@analog.com>
Subject: [PATCH v2 0/8] iio: adc: ad9467: add debugFS test mode support
Date: Fri, 02 Aug 2024 16:26:58 +0200	[thread overview]
Message-ID: <20240802-dev-iio-backend-add-debugfs-v2-0-4cb62852f0d0@analog.com> (raw)

This is the second version of the series. I ended up trying the new
directory route and think it does look nice and more future proof.
Biggest change is the first patch where we now pass an info like
structure to devm_iio_backend_register(). Again, this is likely also a more
future proof approach and we would likely need it sooner or later (one
usage I see is for backends to pass in some constant information that
could be consumed from frontends when doing backend_get())  

v1:
 * https://lore.kernel.org/linux-iio/20240709-dev-iio-backend-add-debugfs-v1-0-fb4b8f2373c7@analog.com/

v2:
 * Patch 1:
  - New patch;

 * Patch 2:
  - Added backendY directory with the direct_reg_access and name
    attributes;
  - Get the backend name directly from the backend driver;
  - Get the backend index from backend-names FW property;
  - Added debugfs-iio-backend to the ABI docs. 

---
Nuno Sa (8):
      iio: backend: introduce struct iio_backend_info
      iio: backend: add debugFs interface
      iio: backend: add a modified prbs23 support
      iio: adc: adi-axi-adc: support modified prbs23
      iio: adc: adi-axi-adc: split axi_adc_chan_status()
      iio: adc: adi-axi-adc: implement backend debugfs interface
      iio: adc: ad9467: add backend test mode helpers
      iio: adc: ad9467: add digital interface test to debugfs

 Documentation/ABI/testing/debugfs-iio-backend |  20 ++
 MAINTAINERS                                   |   1 +
 drivers/iio/adc/ad9467.c                      | 255 +++++++++++++++++++++++---
 drivers/iio/adc/adi-axi-adc.c                 |  71 ++++++-
 drivers/iio/dac/adi-axi-dac.c                 |   7 +-
 drivers/iio/industrialio-backend.c            | 155 +++++++++++++++-
 include/linux/iio/backend.h                   |  28 ++-
 7 files changed, 499 insertions(+), 38 deletions(-)
---
base-commit: 168bed989d651794d03638e1f7f7b5a800a6f425
change-id: 20240802-dev-iio-backend-add-debugfs-0b13bb5a5b37
--

Thanks!
- Nuno Sá



             reply	other threads:[~2024-08-02 14:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02 14:26 Nuno Sa via B4 Relay [this message]
2024-08-02 14:26 ` [PATCH v2 1/8] iio: backend: introduce struct iio_backend_info Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 2/8] iio: backend: add debugFs interface Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 3/8] iio: backend: add a modified prbs23 support Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 4/8] iio: adc: adi-axi-adc: support modified prbs23 Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 5/8] iio: adc: adi-axi-adc: split axi_adc_chan_status() Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 6/8] iio: adc: adi-axi-adc: implement backend debugfs interface Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 7/8] iio: adc: ad9467: add backend test mode helpers Nuno Sa via B4 Relay
2024-08-02 14:27 ` [PATCH v2 8/8] iio: adc: ad9467: add digital interface test to debugfs Nuno Sa via B4 Relay
2024-08-03 13:38   ` Jonathan Cameron
2024-08-05  6:39     ` Nuno Sá
2024-08-03 13:39 ` [PATCH v2 0/8] iio: adc: ad9467: add debugFS test mode 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=20240802-dev-iio-backend-add-debugfs-v2-0-4cb62852f0d0@analog.com \
    --to=devnull+nuno.sa.analog.com@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=dragos.bogdan@analog.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=olivier.moysan@foss.st.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