mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
|
|
|
|
http://www.invensense.com/mems/gyro/mpu6050.html
|
|
|
|
Required properties:
|
|
- compatible : should be one of
|
|
"invensense,mpu6050"
|
|
"invensense,mpu6500"
|
|
"invensense,mpu9150"
|
|
"invensense,mpu9250"
|
|
"invensense,mpu9255"
|
|
"invensense,icm20608"
|
|
- reg : the I2C address of the sensor
|
|
- interrupts: interrupt mapping for IRQ. It should be configured with flags
|
|
IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
|
|
IRQ_TYPE_EDGE_FALLING.
|
|
|
|
Refer to interrupt-controller/interrupts.txt for generic interrupt client node
|
|
bindings.
|
|
|
|
Optional properties:
|
|
- mount-matrix: an optional 3x3 mounting rotation matrix
|
|
- i2c-gate node. These devices also support an auxiliary i2c bus. This is
|
|
simple enough to be described using the i2c-gate binding. See
|
|
i2c/i2c-gate.txt for more details.
|
|
|
|
Example:
|
|
mpu6050@68 {
|
|
compatible = "invensense,mpu6050";
|
|
reg = <0x68>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <18 IRQ_TYPE_EDGE_RISING>;
|
|
mount-matrix = "-0.984807753012208", /* x0 */
|
|
"0", /* y0 */
|
|
"-0.173648177666930", /* z0 */
|
|
"0", /* x1 */
|
|
"-1", /* y1 */
|
|
"0", /* z1 */
|
|
"-0.173648177666930", /* x2 */
|
|
"0", /* y2 */
|
|
"0.984807753012208"; /* z2 */
|
|
};
|
|
|
|
|
|
mpu9250@68 {
|
|
compatible = "invensense,mpu9250";
|
|
reg = <0x68>;
|
|
interrupt-parent = <&gpio3>;
|
|
interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
|
|
i2c-gate {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
ax8975@c {
|
|
compatible = "ak,ak8975";
|
|
reg = <0x0c>;
|
|
};
|
|
};
|
|
};
|