48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/pressure/hoperf,hp03.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: HopeRF HP03 digital pressure/temperature sensors8 9maintainers:10 - Marek Vasut <marex@denx.de>11 12description: |13 Digital pressure and temperature sensor with an I2C interface.14 15properties:16 compatible:17 const: hoperf,hp0318 19 reg:20 maxItems: 121 22 xclr-gpios:23 description:24 The XCLR pin is a reset of the ADC in the chip, it must be pulled25 HI before the conversion and readout of the value from the ADC26 registers and pulled LO afterward.27 maxItems: 128 29required:30 - compatible31 - reg32 33additionalProperties: false34 35examples: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...48