Merge tag 'bitmain-soc-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mani...
[sfrench/cifs-2.6.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 - interrupts: interrupt mapping for IRQ
12 - reset-gpios: a GPIO line handling reset of the sensor: as the line is
13   active low, it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
14 - vddd-supply: digital voltage regulator (see regulator/regulator.txt)
15 - vdda-supply: analog voltage regulator (see regulator/regulator.txt)
16
17 Example:
18
19 pressure@77 {
20         compatible = "bosch,bmp085";
21         reg = <0x77>;
22         interrupt-parent = <&gpio0>;
23         interrupts = <25 IRQ_TYPE_EDGE_RISING>;
24         reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
25         vddd-supply = <&foo>;
26         vdda-supply = <&bar>;
27 };