Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333947

[PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

From Cristina Moraru <cristina.moraru09@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843
Date 2016-02-15 01:20 +0100
Message-ID <r2f3s-1Hd-1@gated-at.bofh.it> (permalink)
References <r2duG-zw-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
Cc: Daniel Baluta <daniel.baluta@intel.com>
---
Changes since v1:
        Changed API from integer values to string values
 .../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..6275e9f
--- /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.5
+Contact:        linux-iio@vger.kernel.org
+Description:
+                Current configuration and available configurations
+		for the bias current.
+		normal		- Normal measurement configurations (default)
+		positivebias	- Positive bias configuration
+		negativebias	- Negative bias configuration
+		disabled	- 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging Cristina Moraru <cristina.moraru09@gmail.com> - 2016-02-15 01:10 +0100
  [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843 Cristina Moraru <cristina.moraru09@gmail.com> - 2016-02-15 01:20 +0100
    Re: [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for  hmc5843 Jonathan Cameron <jic23@kernel.org> - 2016-02-21 21:30 +0100

csiph-web