summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/temp/cros_ec_temp_sensor_tmp112.yaml
blob: 0cf05f48a06a74af673c6af314234c4d78317cae (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
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: >
  Properties for a TMP112 I2C temperature sensor

include: cros_ec_temp_sensor.yaml

compatible: cros-ec,temp-sensor-tmp112

properties:
    tmp112-name:
      type: string
      required: true
      description:
        Enum value to index into the TMP112 specific sensors
      enum:
      - TMP112_SOC
      - TMP112_AMB

    port:
      required: true
      type: phandle
      description: phandle to the named i2c port

    i2c-addr-flags:
      required: true
      type: string
      description: I2C address of chip
      enum:
        - TMP112_I2C_ADDR_FLAGS0
        - TMP112_I2C_ADDR_FLAGS1
        - TMP112_I2C_ADDR_FLAGS2
        - TMP112_I2C_ADDR_FLAGS3