diff options
author | Marek Vasut <marex@denx.de> | 2016-04-18 14:05:24 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-24 08:46:14 (GMT) |
commit | d8469e93a4af82110b15b28bbb003a1dbe4258d2 (patch) | |
tree | c4744c89ddbec3104a7efe17adbad77016a2e0b6 /Documentation | |
parent | 41c128cb25cee72be66397fae8ceb8dc0c2c6984 (diff) | |
download | linux-d8469e93a4af82110b15b28bbb003a1dbe4258d2.tar.xz |
iio: pressure: hp03: Add Hope RF HP03 sensor support
Add support for HopeRF pressure and temperature sensor.
This device uses two fixed I2C addresses, one for storing
calibration coefficients and another for accessing the ADC.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Matt Ranostay <mranostay@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/pressure/hp03.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/pressure/hp03.txt b/Documentation/devicetree/bindings/iio/pressure/hp03.txt new file mode 100644 index 0000000..54e7e70 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/hp03.txt @@ -0,0 +1,17 @@ +HopeRF HP03 digital pressure/temperature sensors + +Required properties: +- compatible: must be "hoperf,hp03" +- xclr-gpio: must be device tree identifier of the XCLR pin. + The XCLR pin is a reset of the ADC in the chip, + it must be pulled HI before the conversion and + readout of the value from the ADC registers and + pulled LO afterward. + +Example: + +hp03@0x77 { + compatible = "hoperf,hp03"; + reg = <0x77>; + xclr-gpio = <&portc 0 0x0>; +}; |