public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH iio] imu: inv_mpu6050: adds device tree bindings
@ 2015-04-24  9:23 Varka Bhadram
  2015-04-28  3:31 ` Varka Bhadram
  2015-05-08 15:08 ` Jonathan Cameron
  0 siblings, 2 replies; 4+ messages in thread
From: Varka Bhadram @ 2015-04-24  9:23 UTC (permalink / raw)
  To: devicetree, linux-iio; +Cc: jic23, Varka Bhadram


Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
 .../devicetree/bindings/iio/imu/inv_mpu6050.txt    |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt

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 0000000..e4d8f1c
--- /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>;
+	};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-08 18:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24  9:23 [PATCH iio] imu: inv_mpu6050: adds device tree bindings Varka Bhadram
2015-04-28  3:31 ` Varka Bhadram
2015-04-28  5:52   ` Jonathan Cameron
2015-05-08 15:08 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox