forked from Minki/linux
d8469e93a4
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>
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
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>;
|
|
};
|