# 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