# Copyright (c) 2019, Linaro Limited # Copyright (c) 2024 Vogl Electronic GmbH # SPDX-License-Identifier: Apache-2.0 description: | JEDEC JC42.4 compliant temperature sensor. See http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf. Driver based on the Microchip MCP9808 Digital Temperature Sensor. See http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf. compatible: "jedec,jc-42.4-temp" include: [sensor-device.yaml, i2c-device.yaml] properties: int-gpios: type: phandle-array description: | The alert pin defaults to active low when produced by the sensor, and is open-drain. A pull-up may be appropriate. The property value should ensure the flags properly describe the signal that is presented to the driver. resolution: type: int default: 3 description: | Sensor resolution. Default is 0.0625C (0b11), which is the power-up default. 0 = 0.5°C 1 = 0.25°C 2 = 0.125°C 3 = 0.0625°C enum: - 0 # 0.5C - 1 # 0.25C - 2 # 0.125C - 3 # 0.0625C