791d3ef2e1
'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>
27 lines
801 B
Plaintext
27 lines
801 B
Plaintext
* Bosch BMA180 / BMA250 triaxial acceleration sensor
|
|
|
|
http://omapworld.com/BMA180_111_1002839.pdf
|
|
http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "bosch,bma180" or "bosch,bma250"
|
|
- reg : the I2C address of the sensor
|
|
|
|
Optional properties:
|
|
|
|
- interrupts : interrupt mapping for GPIO IRQ, it should by configured with
|
|
flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING
|
|
For the bma250 the first interrupt listed must be the one
|
|
connected to the INT1 pin, the second (optional) interrupt
|
|
listed must be the one connected to the INT2 pin.
|
|
|
|
Example:
|
|
|
|
bma180@40 {
|
|
compatible = "bosch,bma180";
|
|
reg = <0x40>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
|
|
};
|