Message ID | 20240802-dev-iio-backend-add-debugfs-v2-0-4cb62852f0d0@analog.com (mailing list archive) |
---|---|
Headers | show |
Series | iio: adc: ad9467: add debugFS test mode support | expand |
On Fri, 02 Aug 2024 16:26:58 +0200 Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@kernel.org> wrote: > 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. Should also have docs for the ad9467 specific debugfs files. Please add those in a follow up patch. Applied to the togreg branch of iio.git and pushed out as testing for all the normal reasons. Thanks, Jonathan > > --- > 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á > >