summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-04-24 14:53:07 +0530
committerJonathan Cameron <jic23@kernel.org>2015-05-10 20:31:48 +0100
commitee1a81f90f28a5a2c3339ec62b2a6a6d165075d2 (patch)
tree49f5130bb447bfbc5328aabbe273dbbd4cdb128a /Documentation
parent85b4ba7055d4cf624b6a608125e3d0c57768cc10 (diff)
downloadtalos-obmc-linux-ee1a81f90f28a5a2c3339ec62b2a6a6d165075d2.tar.gz
talos-obmc-linux-ee1a81f90f28a5a2c3339ec62b2a6a6d165075d2.zip
imu: inv_mpu6050: adds device tree bindings
Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
new file mode 100644
index 000000000000..e4d8f1c52f4a
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
@@ -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>;
+ };
OpenPOWER on IntegriCloud