From: Rodrigo Alencar <[email protected]>

Add custom ABI documentation file for the DDS AD9910 with sysfs entries to
control some parameters from the Digital Ramp Generator and OSK engine.

Signed-off-by: Rodrigo Alencar <[email protected]>
---
 .../ABI/testing/sysfs-bus-iio-frequency-ad9910     | 27 ++++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 2 files changed, 28 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-frequency-ad9910 
b/Documentation/ABI/testing/sysfs-bus-iio-frequency-ad9910
new file mode 100644
index 000000000000..a54afeb64302
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-ad9910
@@ -0,0 +1,27 @@
+What:          /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_dwell_en
+KernelVersion:
+Contact:       [email protected]
+Description:
+               For a channel that produces parametric sweeps, this attribute 
controls
+               the sweep behavior at the configured limit. It enables dwell 
mode at a
+               sweep limit when set to 1, i.e., after the sweep is complete 
the output
+               value stays at the limit. Otherwise (setting this value to 0), 
the sweep
+               may stop or restart from the initial position, or even continue 
by
+               reversing the sweep direction.
+
+What:          /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_raw_roc
+KernelVersion:
+Contact:       [email protected]
+Description:
+               For a channel that produces parametric sweeps, this attribute 
controls
+               the rate of change of the parameter in raw units per second 
(slope).
+               This value may be influenced by the channel sampling_frequency 
attribute
+               if available. Multiplying this value by the scale attribute of 
the
+               channel yields the rate of change in physical units per second.
+
+What:          
/sys/bus/iio/devices/iio:deviceX/out_altcurrentY_raw_roc_available
+KernelVersion:
+Contact:       [email protected]
+Description:
+               Lists the available roc values for the channel. Values are
+               space-separated in ascending order.
diff --git a/MAINTAINERS b/MAINTAINERS
index 9b8cef7923ca..a76a15f02183 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1650,6 +1650,7 @@ M:        Rodrigo Alencar <[email protected]>
 L:     [email protected]
 S:     Supported
 W:     https://ez.analog.com/linux-software-drivers
+F:     Documentation/ABI/testing/sysfs-bus-iio-frequency-ad9910
 F:     Documentation/devicetree/bindings/iio/frequency/adi,ad9910.yaml
 F:     drivers/iio/frequency/ad9910.c
 

-- 
2.43.0



Reply via email to