Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / devicetree / bindings / iio / pressure / bmp085.txt
1 BMP085/BMP18x/BMP28x digital pressure sensors
2
3 Required properties:
4 - compatible: must be one of:
5   "bosch,bmp085"
6   "bosch,bmp180"
7   "bosch,bmp280"
8   "bosch,bme280"
9
10 Optional properties:
11 - chip-id: configurable chip id for non-default chip revisions
12 - temp-measurement-period: temperature measurement period (milliseconds)
13 - default-oversampling: default oversampling value to be used at startup,
14   value range is 0-3 with rising sensitivity.
15 - interrupt-parent: should be the phandle for the interrupt controller
16 - interrupts: interrupt mapping for IRQ
17 - reset-gpios: a GPIO line handling reset of the sensor: as the line is
18   active low, it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
19 - vddd-supply: digital voltage regulator (see regulator/regulator.txt)
20 - vdda-supply: analog voltage regulator (see regulator/regulator.txt)
21
22 Example:
23
24 pressure@77 {
25         compatible = "bosch,bmp085";
26         reg = <0x77>;
27         chip-id = <10>;
28         temp-measurement-period = <100>;
29         default-oversampling = <2>;
30         interrupt-parent = <&gpio0>;
31         interrupts = <25 IRQ_TYPE_EDGE_RISING>;
32         reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
33         vddd-supply = <&foo>;
34         vdda-supply = <&bar>;
35 };