summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/magnetometer/pni,rm3100.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/magnetometer/pni,rm3100.txt')
-rw-r--r--dts/Bindings/iio/magnetometer/pni,rm3100.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/dts/Bindings/iio/magnetometer/pni,rm3100.txt b/dts/Bindings/iio/magnetometer/pni,rm3100.txt
new file mode 100644
index 000000000..497c932e9
--- /dev/null
+++ b/dts/Bindings/iio/magnetometer/pni,rm3100.txt
@@ -0,0 +1,20 @@
+* PNI RM3100 3-axis magnetometer sensor
+
+Required properties:
+
+- compatible : should be "pni,rm3100"
+- reg : the I2C address or SPI chip select number of the sensor.
+
+Optional properties:
+
+- interrupts: data ready (DRDY) from the chip.
+ The interrupts can be triggered on level high.
+
+Example:
+
+rm3100: rm3100@20 {
+ compatible = "pni,rm3100";
+ reg = <0x20>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
+};