Merge branch 'next' into for-linus
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / accel / bma180.txt
1 * Bosch BMA180 / BMA25x triaxial acceleration sensor
2
3 http://omapworld.com/BMA180_111_1002839.pdf
4 http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
5
6 Required properties:
7
8   - compatible : should be one of:
9     "bosch,bma180"
10     "bosch,bma250"
11     "bosch,bma254"
12   - reg : the I2C address of the sensor
13
14 Optional properties:
15
16   - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
17                 flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING
18                 For the bma250 the first interrupt listed must be the one
19                 connected to the INT1 pin, the second (optional) interrupt
20                 listed must be the one connected to the INT2 pin.
21
22 Example:
23
24 bma180@40 {
25         compatible = "bosch,bma180";
26         reg = <0x40>;
27         interrupt-parent = <&gpio6>;
28         interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
29 };