-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Eric Andersson
authored and
Greg Kroah-Hartman
committed
Apr 18, 2012
1 parent
e939ca0
commit c5a86ab
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters