[PATCH 3/4] Documentation: ABI: testing: adf4377: add ABI docs

From: Antoniu Miclaus
Date: Fri Nov 04 2022 - 05:28:56 EST


Add documentation for the use of the output frequency and muxout select.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
---
.../testing/sysfs-bus-iio-frequency-adf4377 | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377 b/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377
new file mode 100644
index 000000000000..0324de5c9328
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377
@@ -0,0 +1,32 @@
+What: /sys/bus/iio/devices/iio:deviceX/frequency
+KernelVersion:
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Stores the PLL frequency in Hz for output channels.
+ Reading returns the frequency in Hz.
+
+What: /sys/bus/iio/devices/iio:deviceX/muxout_select
+KernelVersion:
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ The mux output allows the user to access various internal points on
+ the chip. Valid values that can be written are:
+ * high_z -> high impedance output
+ * lock_detect -> digital lock detector output
+ * muxout_low -> low output
+ * f_div_rclk_2 -> fdiv_rclk/2
+ * f_div_nclk_2 -> fdiv_nclk/2
+ * muxout_high -> high output
+
+What: /sys/bus/iio/devices/iio:deviceX/muxout_select_available
+KernelVersion:
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Reading this returns the valid values that can be written to the
+ muxout_mode attribute:
+ * high_z
+ * lock_detect
+ * muxout_low
+ * f_div_rclk_2
+ * f_div_nclk_2
+ * muxout_high
--
2.38.1