xref: /linux/Documentation/devicetree/bindings/iio/humidity/sciosense,ens210.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/humidity/sciosense,ens210.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ScioSense ENS210 temperature and humidity sensor
8
9maintainers:
10  - Joshua Felmeden <jfelmeden@thegoodpenguin.co.uk>
11
12description: |
13  Temperature and Humidity sensor.
14
15  Datasheet:
16    https://www.sciosense.com/wp-content/uploads/2024/04/ENS21x-Datasheet.pdf
17    https://www.sciosense.com/wp-content/uploads/2023/12/ENS210-Datasheet.pdf
18
19properties:
20  compatible:
21    oneOf:
22      - items:
23          - enum:
24              - sciosense,ens210a
25              - sciosense,ens211
26              - sciosense,ens212
27              - sciosense,ens213a
28              - sciosense,ens215
29          - const: sciosense,ens210
30      - const: sciosense,ens210
31
32  reg:
33    maxItems: 1
34
35  vdd-supply: true
36
37required:
38  - compatible
39  - reg
40
41additionalProperties: false
42
43examples:
44  - |
45    i2c {
46       #address-cells = <1>;
47       #size-cells = <0>;
48
49       temperature-sensor@43 {
50           compatible = "sciosense,ens210";
51           reg = <0x43>;
52       };
53    };
54...
55
56