iio: adc: ad9467: add debugFS test mode support
Status from this message: Applied to the togreg branch of iio.git and pushed out as
Get series with b4
b4 am 20240802-dev-iio-backend-add-debugfs-v2-0-4cb62852f0d0@analog.com change-id 20240709-dev-iio-backend-add-debugfs-ef7cd2007073Versions newest first · linked by author and title
Changes in v2 from the cover letter
* Patch 1:
- New patch;
* Patch 2:
- Added backendY directory with the direct_reg_access and name
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | iio: backend: introduce struct iio_backend_infodrivers/ drivers/ drivers/ +1 more | +28 | 0 replies | |
| 2/8 | iio: backend: add debugFs interfaceDocumentation/ MAINTAINERS drivers/ +1 more | +180 | 0 replies | |
| 3/8 | iio: backend: add a modified prbs23 supportinclude/ | +2 | 0 replies | |
| 4/8 | iio: adc: adi-axi-adc: support modified prbs23drivers/ | +4 | 0 replies | |
| 5/8 | iio: adc: adi-axi-adc: split axi_adc_chan_status()drivers/ | +14 | 0 replies | |
| 6/8 | iio: adc: adi-axi-adc: implement backend debugfs interfacedrivers/ | +41 | 0 replies | |
| 7/8 | iio: adc: ad9467: add backend test mode helpersdrivers/ | +42 | 0 replies | |
| 8/8 | iio: adc: ad9467: add digital interface test to debugfsdrivers/ | +188 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] iio: adc: ad9467: add debugFS test mode support
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á