xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371 (revision 17cfcb68af3bc7d5e8ae08779b1853310a2949f3)
1What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
2KernelVersion:
3Contact:	linux-iio@vger.kernel.org
4Description:
5		Stores the PLL frequency in Hz for channel Y.
6		Reading returns the actual frequency in Hz.
7		The ADF4371 has an integrated VCO with fundamendal output
8		frequency ranging from 4000000000 Hz 8000000000 Hz.
9
10		out_altvoltage0_frequency:
11			A divide by 1, 2, 4, 8, 16, 32 or circuit generates
12			frequencies from 62500000 Hz to 8000000000 Hz.
13		out_altvoltage1_frequency:
14			This channel duplicates the channel 0 frequency
15		out_altvoltage2_frequency:
16			A frequency doubler generates frequencies from
17			8000000000 Hz to 16000000000 Hz.
18		out_altvoltage3_frequency:
19			A frequency quadrupler generates frequencies from
20			16000000000 Hz to 32000000000 Hz.
21
22		Note: writes to one of the channels will affect the frequency of
23		all the other channels, since it involves changing the VCO
24		fundamental output frequency.
25
26What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_name
27KernelVersion:
28Contact:	linux-iio@vger.kernel.org
29Description:
30		Reading returns the datasheet name for channel Y:
31
32		out_altvoltage0_name: RF8x
33		out_altvoltage1_name: RFAUX8x
34		out_altvoltage2_name: RF16x
35		out_altvoltage3_name: RF32x
36
37What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
38KernelVersion:
39Contact:	linux-iio@vger.kernel.org
40Description:
41		This attribute allows the user to power down the PLL and it's
42		RFOut buffers.
43		Writing 1 causes the specified channel to power down.
44		Clearing returns to normal operation.
45