1# Copyright (c) 2019, Linaro Limited 2# Copyright (c) 2024 Vogl Electronic GmbH 3# SPDX-License-Identifier: Apache-2.0 4 5description: | 6 JEDEC JC42.4 compliant temperature sensor. See 7 http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf. 8 Driver based on the Microchip MCP9808 Digital Temperature Sensor. See 9 http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf. 10 11compatible: "jedec,jc-42.4-temp" 12 13include: [sensor-device.yaml, i2c-device.yaml] 14 15properties: 16 int-gpios: 17 type: phandle-array 18 description: | 19 The alert pin defaults to active low when produced by the 20 sensor, and is open-drain. A pull-up may be appropriate. The 21 property value should ensure the flags properly describe the 22 signal that is presented to the driver. 23 24 resolution: 25 type: int 26 default: 3 27 description: | 28 Sensor resolution. Default is 0.0625C (0b11), 29 which is the power-up default. 30 0 = 0.5°C 31 1 = 0.25°C 32 2 = 0.125°C 33 3 = 0.0625°C 34 enum: 35 - 0 # 0.5C 36 - 1 # 0.25C 37 - 2 # 0.125C 38 - 3 # 0.0625C 39