summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/magnetometer/ak8975.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/magnetometer/ak8975.txt')
-rw-r--r--dts/Bindings/iio/magnetometer/ak8975.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/dts/Bindings/iio/magnetometer/ak8975.txt b/dts/Bindings/iio/magnetometer/ak8975.txt
new file mode 100644
index 0000000000..011679f1a4
--- /dev/null
+++ b/dts/Bindings/iio/magnetometer/ak8975.txt
@@ -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>;
+};