Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e authored by Greg Kroah-Hartman on 15 October 2018, 05:20:24 UTC
Linux 4.19-rc8
Tip revision: 35a7f35
bmp085.txt
BMP085/BMP18x/BMP28x digital pressure sensors

Required properties:
- compatible: must be one of:
  "bosch,bmp085"
  "bosch,bmp180"
  "bosch,bmp280"
  "bosch,bme280"

Optional properties:
- interrupts: interrupt mapping for IRQ
- reset-gpios: a GPIO line handling reset of the sensor: as the line is
  active low, it should be marked GPIO_ACTIVE_LOW (see gpio/gpio.txt)
- vddd-supply: digital voltage regulator (see regulator/regulator.txt)
- vdda-supply: analog voltage regulator (see regulator/regulator.txt)

Example:

pressure@77 {
	compatible = "bosch,bmp085";
	reg = <0x77>;
	interrupt-parent = <&gpio0>;
	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
	reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
	vddd-supply = <&foo>;
	vdda-supply = <&bar>;
};
back to top