[PATCH 3/5] iio: hmc5843: Add ABI documentation file for hmc5843
From: Cristina Moraru
Date: Sun Feb 07 2016 - 17:23:08 EST
Add ABI file documenting hmc5843 non-standard attributes
meas_conf and meas_conf_available for bias current
configuration.
Signed-off-by: Cristina Moraru <cristina.moraru09@xxxxxxxxx>
---
.../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
new file mode 100644
index 0000000..7c3fc4c
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
@@ -0,0 +1,15 @@
+What: /sys/bus/iio/devices/iio:deviceX/meas_conf
+What: /sys/bus/iio/devices/iio:deviceX/meas_conf_available
+KernelVersion: 4.3.0
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Current configuration and available configurations
+ for the bias current.
+ 0 - Normal measurement configurations (default)
+ 1 - Positive bias configuration
+ 2 - Negative bias configuration
+ 3 - Only available on HMC5983. Disables magnetic
+ sensor and enables temperature sensor.
+ Note: The effect of this configuration may vary
+ according to the device. For exact documentation
+ check the device's datasheet.
--
1.9.1