Skip to content

Commit

Permalink
imu: inv_mpu6050: adds device tree bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Varka Bhadram <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
bhadram authored and jic23 committed May 10, 2015
1 parent 85b4ba7 commit ee1a81f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit ee1a81f

Please sign in to comment.