xref: /freebsd/sys/contrib/device-tree/Bindings/iio/pressure/sensirion,sdp500.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: sdp500/sdp510 pressure sensor with I2C bus interface
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Petar Stoykov <petar.stoykov@prodrive-technologies.com>
11*b2d2a78aSEmmanuel Vadot
12*b2d2a78aSEmmanuel Vadotdescription: |
13*b2d2a78aSEmmanuel Vadot  Pressure sensor from Sensirion with I2C bus interface.
14*b2d2a78aSEmmanuel Vadot  There is no software difference between sdp500 and sdp510.
15*b2d2a78aSEmmanuel Vadot
16*b2d2a78aSEmmanuel Vadotproperties:
17*b2d2a78aSEmmanuel Vadot  compatible:
18*b2d2a78aSEmmanuel Vadot    oneOf:
19*b2d2a78aSEmmanuel Vadot      - items:
20*b2d2a78aSEmmanuel Vadot          - const: sensirion,sdp510
21*b2d2a78aSEmmanuel Vadot          - const: sensirion,sdp500
22*b2d2a78aSEmmanuel Vadot      - const: sensirion,sdp500
23*b2d2a78aSEmmanuel Vadot
24*b2d2a78aSEmmanuel Vadot  reg:
25*b2d2a78aSEmmanuel Vadot    maxItems: 1
26*b2d2a78aSEmmanuel Vadot
27*b2d2a78aSEmmanuel Vadot  vdd-supply: true
28*b2d2a78aSEmmanuel Vadot
29*b2d2a78aSEmmanuel Vadotrequired:
30*b2d2a78aSEmmanuel Vadot  - compatible
31*b2d2a78aSEmmanuel Vadot  - reg
32*b2d2a78aSEmmanuel Vadot  - vdd-supply
33*b2d2a78aSEmmanuel Vadot
34*b2d2a78aSEmmanuel VadotadditionalProperties: false
35*b2d2a78aSEmmanuel Vadot
36*b2d2a78aSEmmanuel Vadotexamples:
37*b2d2a78aSEmmanuel Vadot  - |
38*b2d2a78aSEmmanuel Vadot    i2c {
39*b2d2a78aSEmmanuel Vadot      #address-cells = <1>;
40*b2d2a78aSEmmanuel Vadot      #size-cells = <0>;
41*b2d2a78aSEmmanuel Vadot      pressure@40 {
42*b2d2a78aSEmmanuel Vadot        compatible = "sensirion,sdp500";
43*b2d2a78aSEmmanuel Vadot        reg = <0x40>;
44*b2d2a78aSEmmanuel Vadot        vdd-supply = <&foo>;
45*b2d2a78aSEmmanuel Vadot      };
46*b2d2a78aSEmmanuel Vadot    };
47