File Index
Files and directories
Sign in
FILE

infineon,dps310.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/iio/pressure/infineon,dps310.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Infineon DPS310 barometric pressure and temperature sensor
 8
 9maintainers:
10  - Eddie James <eajames@linux.ibm.com>
11
12description:
13  The DPS310 is a barometric pressure and temperature sensor with an I2C
14  interface.
15
16properties:
17  compatible:
18    enum:
19      - infineon,dps310
20
21  reg:
22    maxItems: 1
23
24  "#io-channel-cells":
25    const: 0
26
27  vdd-supply:
28    description:
29      Voltage supply for the chip's analog blocks.
30
31  vddio-supply:
32    description:
33      Digital voltage supply for the chip's digital blocks and I/O interface.
34
35required:
36  - compatible
37  - reg
38
39additionalProperties: false
40
41examples:
42  - |
43    i2c {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        dps: pressure-sensor@76 {
48          compatible = "infineon,dps310";
49          reg = <0x76>;
50          #io-channel-cells = <0>;
51          vdd-supply = <&vref1>;
52          vddio-supply = <&vref2>;
53        };
54    };
~/ Read-only file preview.