]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad9467: add digital interface test to debugfs
authorNuno Sa <nuno.sa@analog.com>
Fri, 2 Aug 2024 14:27:06 +0000 (16:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 13:36:45 +0000 (14:36 +0100)
commitd6b133a664fa7ea01a3a5f2849a6ac205d3c8810
tree78919ba746476ee2faca11ade3681d0ea0e33df4
parent5b30937b0bd348d8eb8b76ade3476c50ef187cd0
iio: adc: ad9467: add digital interface test to debugfs

One useful thing to do (in case of problems) in this high speed devices
with digital interfaces is to try different test patterns to see if the
interface is working properly (and properly calibrated). Hence add this
to debugfs.

On top of this, for some test patterns, the backend may have a matching
validator block which can be helpful in identifying possible issues. For
the other patterns some test equipment must be used so one can look into
the signal and see how it looks like.

Hence, we also add the backend debugfs interface with
iio_backend_debugfs_add().

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