[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1523637411-8531-13-git-send-email-hernan@vanguardiasur.com.ar>
Date: Fri, 13 Apr 2018 13:36:49 -0300
From: Hernán Gonzalez <hernan@...guardiasur.com.ar>
To: jic23@...nel.org, knaack.h@....de, lars@...afoo.de,
pmeerw@...erw.net, gregkh@...uxfoundation.org,
Michael.Hennerich@...log.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Hernán Gonzalez <hernan@...guardiasur.com.ar>
Subject: [PATCH v2 12/14] staging: iio: ad7746: Add ABI documentation
The use cases for this driver don't comply with the current ABI. The
ad7746 and ad7152 need an external capacitance or voltage reference to
automatically calibrate themselves which is not the normal use case of
the calibscale and calibbias ABIs, a new ABI was needed.
Signed-off-by: Hernán Gonzalez <hernan@...guardiasur.com.ar>
---
Documentation/ABI/testing/sysfs-bus-iio-ad7746 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-ad7746
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-ad7746 b/Documentation/ABI/testing/sysfs-bus-iio-ad7746
new file mode 100644
index 0000000..96a41b7
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-ad7746
@@ -0,0 +1,17 @@
+What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_calibscale_calibration
+What: /sys/bus/iio/devices/iio:deviceX/in_voltage0_calibscale_calibration
+KernelVersion: 4.17.0
+Contact: linux-iio@...r.kernel.org
+Description:
+ Enter gain calibration mode, in which a full-scale
+ {capacitance, voltage reference} must be connected to the
+ {capacitance, voltage} input beforehand to automatically
+ calibrate the device.
+
+What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_calibbias_calibration
+KernelVersion: 4.17.0
+Contact: linux-iio@...r.kernel.org
+Description:
+ Enter offset calibration mode, in which a zero-scale
+ capacitance must be connected to the capacitance input
+ beforehand to automatically calibrate the device.
--
2.7.4
Powered by blists - more mailing lists