From: Rodrigo Alencar <[email protected]> Add custom ABI documentation file for the DDS AD9910 with sysfs entries to control Parallel Port, Digital Ramp Generator and OSK parameters.
Signed-off-by: Rodrigo Alencar <[email protected]> --- .../ABI/testing/sysfs-bus-iio-frequency-ad9910 | 62 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 63 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..fabc2a5417d1 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-ad9910 @@ -0,0 +1,62 @@ +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency_offset +KernelVersion: +Contact: [email protected] +Description: + For a channel that allows frequency control through buffers, this + represents the base frequency value in Hz. The actual output frequency + is a result with the sum of this value. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency_scale +KernelVersion: +Contact: [email protected] +Description: + For a channel that allows frequency control through buffers, this + represents the frequency modulation gain. This value multiplies the + buffer input sample value before it is added to a frequency offset. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase_offset +KernelVersion: +Contact: [email protected] +Description: + For a channel that allows phase control through buffers, this + represents the base phase value in radians. The actual output phase + is a result with the sum of this value. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale_offset +KernelVersion: +Contact: [email protected] +Description: + For a channel that allows amplitude control through buffers, this + represents the value for a base amplitude scale. The actual output + amplitude scale is a result with the sum of this value. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency_step +KernelVersion: +Contact: [email protected] +Description: + Channels that sweep frequency values at determined rate use this value + to set the frequency step size in Hz. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase_step +KernelVersion: +Contact: [email protected] +Description: + Channels that sweep phase values at determined rate use this value + to set the phase step size in radians. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale_step +KernelVersion: +Contact: [email protected] +Description: + Channels that sweep amplitude values at determined rate use this value + to set the amplite scale step. + +What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_pinctrl_en +KernelVersion: +Contact: [email protected] +Description: + Channels that supports pin control to enable/disable its output use + this attribute to set the pin control mode. When set to 1, the output + state is controlled by a physical pin, and the channel is enabled when + the pin is active. When set to 0, only software control is used to + enable/disable the channel output. diff --git a/MAINTAINERS b/MAINTAINERS index 6403439b530d..edd87ee7da5f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1635,6 +1635,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

