Linux 6.7-rc7
[linux-modified.git] / Documentation / ABI / testing / sysfs-bus-iio-adc-ad4130
1 What:           /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available
2 KernelVersion:  6.2
3 Contact:        linux-iio@vger.kernel.org
4 Description:
5                 Reading returns a list with the possible filter modes.
6
7                   * "sinc4"       - Sinc 4. Excellent noise performance. Long
8                     1st conversion time. No natural 50/60Hz rejection.
9
10                   * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion
11                     time.
12
13                   * "sinc3"           - Sinc3. Moderate 1st conversion time.
14                     Good noise performance.
15
16                   * "sinc3+rej60" - Sinc3 + 60Hz rejection. At a sampling
17                     frequency of 50Hz, achieves simultaneous 50Hz and 60Hz
18                     rejection.
19
20                   * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion
21                     time. Best used with a sampling frequency of at least
22                     216.19Hz.
23
24                   * "sinc3+pf1"   - Sinc3 + Post Filter 1. 53dB rejection @
25                     50Hz, 58dB rejection @ 60Hz.
26
27                   * "sinc3+pf2"   - Sinc3 + Post Filter 2. 70dB rejection @
28                     50Hz, 70dB rejection @ 60Hz.
29
30                   * "sinc3+pf3"   - Sinc3 + Post Filter 3. 99dB rejection @
31                     50Hz, 103dB rejection @ 60Hz.
32
33                   * "sinc3+pf4"   - Sinc3 + Post Filter 4. 103dB rejection @
34                     50Hz, 109dB rejection @ 60Hz.
35
36 What:           /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_mode
37 KernelVersion:  6.2
38 Contact:        linux-iio@vger.kernel.org
39 Description:
40                 Set the filter mode of the differential channel. When the filter
41                 mode changes, the in_voltageY-voltageZ_sampling_frequency and
42                 in_voltageY-voltageZ_sampling_frequency_available attributes
43                 might also change to accommodate the new filter mode.
44                 If the current sampling frequency is out of range for the new
45                 filter mode, the sampling frequency will be changed to the
46                 closest valid one.