Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / accel / bma180.txt
1 * Bosch BMA180 / BMA250 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 "bosch,bma180" or "bosch,bma250"
9   - reg : the I2C address of the sensor
10
11 Optional properties:
12
13   - interrupts : interrupt mapping for GPIO IRQ, it should by configured with
14                 flags IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING
15                 For the bma250 the first interrupt listed must be the one
16                 connected to the INT1 pin, the second (optional) interrupt
17                 listed must be the one connected to the INT2 pin.
18
19 Example:
20
21 bma180@40 {
22         compatible = "bosch,bma180";
23         reg = <0x40>;
24         interrupt-parent = <&gpio6>;
25         interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
26 };