imu: inv_mpu6050: adds device tree bindings
authorVarka Bhadram <varkabhadram@gmail.com>
Fri, 24 Apr 2015 09:23:07 +0000 (14:53 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 May 2015 19:31:48 +0000 (20:31 +0100)
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
new file mode 100644 (file)
index 0000000..e4d8f1c
--- /dev/null
@@ -0,0 +1,17 @@
+InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
+
+http://www.invensense.com/mems/gyro/mpu6050.html
+
+Required properties:
+ - compatible : should be "invensense,mpu6050"
+ - reg : the I2C address of the sensor
+ - interrupt-parent : should be the phandle for the interrupt controller
+ - interrupts : interrupt mapping for GPIO IRQ
+
+Example:
+       mpu6050@68 {
+               compatible = "invensense,mpu6050";
+               reg = <0x68>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <18 1>;
+       };