[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221104092802.90725-4-antoniu.miclaus@analog.com>
Date: Fri, 4 Nov 2022 11:28:01 +0200
From: Antoniu Miclaus <antoniu.miclaus@...log.com>
To: <jic23@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <linux-iio@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: Antoniu Miclaus <antoniu.miclaus@...log.com>
Subject: [PATCH 3/4] Documentation: ABI: testing: adf4377: add ABI docs
Add documentation for the use of the output frequency and muxout select.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@...log.com>
---
.../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@...r.kernel.org
+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@...r.kernel.org
+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@...r.kernel.org
+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
Powered by blists - more mailing lists