summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
blob: 58aa1542776b51cf08db928c7ffa6e73b18358c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/temperature/ti,tmp117.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI TMP117 - Digital temperature sensor with integrated NV memory

description: |
    TI TMP116/117 - Digital temperature sensor with integrated NV memory that
    supports I2C interface.
      https://www.ti.com/lit/gpn/tmp116
      https://www.ti.com/lit/gpn/tmp117

maintainers:
  - Puranjay Mohan <puranjay12@gmail.com>

properties:
  compatible:
    enum:
      - ti,tmp116
      - ti,tmp117

  reg:
    maxItems: 1

  vcc-supply:
    description: provide VCC power to the sensor.

  label:
    description: Unique name to identify which device this is.

required:
  - compatible
  - reg
  - vcc-supply

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        tmp117@48 {
             compatible = "ti,tmp117";
             reg = <0x48>;
             vcc-supply = <&pmic_reg_3v3>;
        };
    };