diff options
author | Rob Herring <robh@kernel.org> | 2015-09-04 00:50:01 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-10-22 16:21:23 +0200 |
commit | d9d41df3e8ef39b7b2cfeb4e9a2ba5c7cf7cad88 (patch) | |
tree | ad8a2b88e0e4dbc3864a7ec24d04d93bd60ba327 /Documentation/devicetree/bindings/iio/pressure | |
parent | dt-bindings: consolidate RNG bindings (diff) | |
download | linux-d9d41df3e8ef39b7b2cfeb4e9a2ba5c7cf7cad88.tar.xz linux-d9d41df3e8ef39b7b2cfeb4e9a2ba5c7cf7cad88.zip |
dt-bindings: consolidate various misc bindings
Move various bindings in misc to appropriate subsystem directories.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/pressure')
-rw-r--r-- | Documentation/devicetree/bindings/iio/pressure/bmp085.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/pressure/bmp085.txt b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt new file mode 100644 index 000000000000..d7a6deb6b21e --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt @@ -0,0 +1,24 @@ +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. +- interrupt-parent: should be the phandle for the interrupt controller +- interrupts: interrupt mapping for IRQ + +Example: + +pressure@77 { + compatible = "bosch,bmp085"; + reg = <0x77>; + chip-id = <10>; + temp-measurement-period = <100>; + default-oversampling = <2>; + interrupt-parent = <&gpio0>; + interrupts = <25 IRQ_TYPE_EDGE_RISING>; +}; |