diff --git a/Documentation/ABI/testing/sysfs-bus-iio-temperature-max30210 b/Documentation/ABI/testing/sysfs-bus-iio-temperature-max30210 new file mode 100644 index 00000000000000..fa1b2467594f1e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-temperature-max30210 @@ -0,0 +1,47 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_en +KernelVersion: 6.6 +Contact: linux-iio@vger.kernel.org +Description: + A read-only boolean value that indicates if Rate-of-Change + detection is enabled or disabled. + +What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_filter +KernelVersion: 6.6 +Contact: linux-iio@vger.kernel.org +Description: + A write-only value indicating the Rate-of-Change FIR filter + settings. This attribute selects the length of the Rate-of- + Change FIR filter. + + Operation is not supported if Rate-of-Change detection of device + is disabled. + + * "0" - 2 samples + * "1" - 3 samples + * "2" - 5 samples + * "3" - 9 samples + * "4" - 17 samples + * "5" - 33 samples + * "6" - 65 samples + * "7" - 65 samples + +What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_length +KernelVersion: 6.6 +Contact: linux-iio@vger.kernel.org +Description: + A read-only value indicating the number of temperature samples + selected in in_temp_roc_filter attribute. + + Operation is not supported if Rate-of-Change detection of device + is disabled. + +What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc +KernelVersion: 6.6 +Contact: linux-iio@vger.kernel.org +Description: + A read-only value indicating the slope calculated for a set of + temperature measurements as programmed in in_temp_roc_filter + attribute. + + Operation is not supported if Rate-of-Change detection of device + is disabled.