treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / accel / bma180.txt
blobf53237270b32abda4626c4886a0a69339b5f9eff
1 * Bosch BMA180 / BMA25x triaxial acceleration sensor
3 http://omapworld.com/BMA180_111_1002839.pdf
4 http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf
6 Required properties:
8   - compatible : should be one of:
9     "bosch,bma180"
10     "bosch,bma250"
11     "bosch,bma254"
12   - reg : the I2C address of the sensor
14 Optional properties:
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.
22 Example:
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)>;