misc: bmp085: add device tree properties

Reviewed-by: Stefan Nilsson <stefan.nilsson@unixphere.com>
Signed-off-by: Eric Andersson <eric.andersson@unixphere.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eric Andersson
2012-04-09 22:16:16 +02:00
committed by Greg Kroah-Hartman
parent e939ca0a63
commit c5a86ab6dd
3 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
BMP085/BMP18x digital pressure sensors
Required properties:
- compatible: bosch,bmp085
Optional properties:
- chip-id: configurable chip id for non-default chip revisions
- temp-measurement-period: temperature measurement period (milliseconds)
- default-oversampling: default oversampling value to be used at startup,
value range is 0-3 with rising sensitivity.
Example:
pressure@77 {
compatible = "bosch,bmp085";
reg = <0x77>;
chip-id = <10>;
temp-measurement-period = <100>;
default-oversampling = <2>;
};

After

Width:  |  Height:  |  Size: 519 B