4c9847b737
Improve the binding example by removing all the leading 0x to fix the
following dtc warnings:
Warning (unit_address_format): Node /XXX unit name should not have leading "0x"
Converted using the following command:
find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} +
This is a follow up to commit 48c926cd34
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Rob Herring <robh@kernel.org>
18 lines
481 B
Plaintext
18 lines
481 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@77 {
|
|
compatible = "hoperf,hp03";
|
|
reg = <0x77>;
|
|
xclr-gpio = <&portc 0 0x0>;
|
|
};
|