1# Copyright (c) 2019, Linaro Limited 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Microchip MCP9808 Digital Temperature Sensor. See 6 http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf. 7 8compatible: "microchip,mcp9808" 9 10include: i2c-device.yaml 11 12properties: 13 int-gpios: 14 type: phandle-array 15 required: false 16 description: | 17 The alert pin defaults to active low when produced by the 18 sensor, and is open-drain. A pull-up may be appropriate. The 19 property value should ensure the flags properly describe the 20 signal that is presented to the driver. 21 22 resolution: 23 type: int 24 required: false 25 default: 3 26 description: | 27 Sensor resolution. Default is 0.0625C (0b11), 28 which is the power-up default. 29 enum: 30 - 0 # 0.5C 31 - 1 # 0.25C 32 - 2 # 0.125C 33 - 3 # 0.0625C 34