forked from Minki/linux
imu: inv_mpu6050: adds device tree bindings
Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
85b4ba7055
commit
ee1a81f90f
17
Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
Normal file
17
Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
Normal file
@ -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>;
|
||||
};
|
Loading…
Reference in New Issue
Block a user