summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/magnetometer/hmc5843.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/magnetometer/hmc5843.txt')
-rw-r--r--dts/Bindings/iio/magnetometer/hmc5843.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/Bindings/iio/magnetometer/hmc5843.txt b/dts/Bindings/iio/magnetometer/hmc5843.txt
new file mode 100644
index 0000000000..90d5f34db0
--- /dev/null
+++ b/dts/Bindings/iio/magnetometer/hmc5843.txt
@@ -0,0 +1,17 @@
+* Honeywell HMC5843 magnetometer sensor
+
+Required properties:
+
+ - compatible : should be "honeywell,hmc5843"
+ - reg : the I2C address of the magnetometer - typically 0x1e
+
+Optional properties:
+
+ - gpios : should be device tree identifier of the magnetometer DRDY pin
+
+Example:
+
+hmc5843@1e {
+ compatible = "honeywell,hmc5843"
+ reg = <0x1e>;
+};