Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / pressure / hoperf,hp03.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/pressure/hoperf,hp03.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: HopeRF HP03 digital pressure/temperature sensors
8
9 maintainers:
10   - Marek Vasut <marex@denx.de>
11
12 description: |
13   Digital pressure and temperature sensor with an I2C interface.
14
15 properties:
16   compatible:
17     const: hoperf,hp03
18
19   reg:
20     maxItems: 1
21
22   xclr-gpios:
23     description:
24       The XCLR pin is a reset of the ADC in the chip, it must be pulled
25       HI before the conversion and readout of the value from the ADC
26       registers and pulled LO afterward.
27     maxItems: 1
28
29 required:
30   - compatible
31   - reg
32
33 additionalProperties: false
34
35 examples:
36   - |
37     i2c {
38         #address-cells = <1>;
39         #size-cells = <0>;
40
41         pressure@77 {
42             compatible = "hoperf,hp03";
43             reg = <0x77>;
44             xclr-gpios = <&portc 0 0x0>;
45         };
46     };
47 ...