Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / iio / magnetometer / ak8975.txt
diff --git a/kernel/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt b/kernel/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
new file mode 100644 (file)
index 0000000..011679f
--- /dev/null
@@ -0,0 +1,18 @@
+* AsahiKASEI AK8975 magnetometer sensor
+
+Required properties:
+
+  - compatible : should be "asahi-kasei,ak8975"
+  - reg : the I2C address of the magnetometer
+
+Optional properties:
+
+  - gpios : should be device tree identifier of the magnetometer DRDY pin
+
+Example:
+
+ak8975@0c {
+        compatible = "asahi-kasei,ak8975";
+        reg = <0x0c>;
+        gpios = <&gpj0 7 0>;
+};