iio: adc: adi-axi-adc: implement backend debugfs interface
authorNuno Sa <nuno.sa@analog.com>
Fri, 2 Aug 2024 14:27:04 +0000 (16:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 13:36:45 +0000 (14:36 +0100)
commitc031fee0425b80e96e5a062f041ee5ce2e20fcf3
tree7bdb579b9121ee69538933acb934dc13cbb3f445
parent232cca61cf2f964bebbec66504a86b4ce36b6842
iio: adc: adi-axi-adc: implement backend debugfs interface

Implement debugfs options to read/write registers and print the channel
status into a buffer (so we may know better the cause for errors) .

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240802-dev-iio-backend-add-debugfs-v2-6-4cb62852f0d0@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/adi-axi-adc.c