bmp180.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Bosch BMP18x-series altimeter driver
  2. Required properties:
  3. - compatible : Should be "bosch,bmp180".
  4. - reg : i2c slave address of the device.
  5. - vdd-supply : Analog power supply needed to power device.
  6. - vddio-supply : Digital IO power supply needed for IO and I2C.
  7. - bosch,chip-id : Chip id for the bmp18x altimeter sensor.
  8. - bosch,oversample : Sensor default oversampling value.
  9. Default oversampling value to be used at startup.
  10. Value range is 0-3 with rising sensitivity.
  11. - bosch,period : Temperature measurement period (milliseconds).
  12. Set to zero if unsure.
  13. Optional properties:
  14. - bosch,sw-oversample : Boolean to enable software oversampling if
  15. this property is defined. Only take effect when
  16. default_oversampling is 3.
  17. Example:
  18. i2c@f9925000 {
  19. bmp180@77 {
  20. status = "okay";
  21. reg = <0x77>;
  22. compatible = "bosch,bmp180";
  23. vdd-supply = <&pm8110_l19>;
  24. vddio-supply = <&pm8110_l14>;
  25. bosch,chip-id = <0x55>;
  26. bosch,oversample = <3>;
  27. bosch,period = <1000>;
  28. bosch,sw-oversample;
  29. };
  30. };