Add documentation for the use of the Local Oscillator Feedthrough Offset calibration. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx> --- changes in v5: - rework the custom device attributes based on the feedback received in v4 - add frequency translation modes custom attributes. .../testing/sysfs-bus-iio-frequency-admv1013 | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1013 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1013 b/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1013 new file mode 100644 index 000000000000..3ff80909f007 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1013 @@ -0,0 +1,55 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-1_phase_i +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior path quadrature I phase shift. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-1_phase_q +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior path quadrature Q phase shift. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_calibbias_i +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration I Positive + side. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_calibbias_q +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration Q Positive + side. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage1_calibbias_i +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration I Negative + side. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage1_calibbias_q +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration Q Negative + side. + +What: /sys/bus/iio/devices/iio:deviceX/freq_mode_available +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + Reading this returns the valid values that can be written to the freq_mode attribute. + + - if -> Intermediate Frequency + - iq -> Quadrature I/Q mode. + +What: /sys/bus/iio/devices/iio:deviceX/freq_mode +KernelVersion: +Contact: linux-iio@xxxxxxxxxxxxxxx +Description: + This attribute configures the frequency mode. + Reading returns the actual mode. -- 2.34.0