diff mbox series

[v3,15/17] iio: cdc: ad7746: Add device specific ABI documentation.

Message ID 20220626122938.582107-16-jic23@kernel.org (mailing list archive)
State Accepted
Headers show
Series [v3,01/17] iio: core: Increase precision of IIO_VAL_FRACTIONAL_LOG2 when possible | expand

Commit Message

Jonathan Cameron June 26, 2022, 12:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

The datasheet description of offset calibration is complex, so for that
on just refer the reader to the device datasheet.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Andy Shevchenko June 28, 2022, 12:19 p.m. UTC | #1
On Sun, Jun 26, 2022 at 2:20 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> The datasheet description of offset calibration is complex, so for that
> on just refer the reader to the device datasheet.

...

> +What:          /sys/.../iio:deviceX/in_capacitableY_calibbias_calibration
> +What:          /sys/.../iio:deviceX/in_capacitableY_calibscale_calibration
> +KernelVersion: 5.19

5.20 ?

> +Contact:       linux-iio@vger.kernel.org
> +Description:
> +               Write 1 to trigger a calibration of the calibbias or
> +               calibscale. For calibscale, a fullscale capacitance should

full scale

> +               be connected to the capacitance input and a
> +               calibscale_calibration then started.  For calibbias see
> +               the device datasheet section on "capacitive system offset
> +               calibration".
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 b/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746
new file mode 100644
index 000000000000..6db81725b5d2
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746
@@ -0,0 +1,11 @@ 
+What:		/sys/.../iio:deviceX/in_capacitableY_calibbias_calibration
+What:		/sys/.../iio:deviceX/in_capacitableY_calibscale_calibration
+KernelVersion:	5.19
+Contact:	linux-iio@vger.kernel.org
+Description:
+		Write 1 to trigger a calibration of the calibbias or
+		calibscale. For calibscale, a fullscale capacitance should
+		be connected to the capacitance input and a
+		calibscale_calibration then started.  For calibbias see
+		the device datasheet section on "capacitive system offset
+		calibration".