1# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/national,lm90.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: LM90 series thermometer 8 9maintainers: 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 12 13properties: 14 compatible: 15 enum: 16 - adi,adm1032 17 - adi,adt7461 18 - adi,adt7461a 19 - dallas,max6646 20 - dallas,max6647 21 - dallas,max6649 22 - dallas,max6657 23 - dallas,max6658 24 - dallas,max6659 25 - dallas,max6680 26 - dallas,max6681 27 - dallas,max6695 28 - dallas,max6696 29 - gmt,g781 30 - national,lm86 31 - national,lm89 32 - national,lm90 33 - national,lm99 34 - nxp,sa56004 35 - onnn,nct1008 36 - ti,tmp451 37 - ti,tmp461 38 - winbond,w83l771 39 40 41 interrupts: 42 items: 43 - description: | 44 Single interrupt specifier which describes the LM90 "-ALERT" pin 45 output. 46 47 reg: 48 maxItems: 1 49 50 "#thermal-sensor-cells": 51 const: 1 52 53 vcc-supply: 54 description: phandle to the regulator that provides the +VCC supply 55 56 ti,extended-range-enable: 57 description: Set to enable extended range temperature. 58 type: boolean 59 60required: 61 - compatible 62 - reg 63 64allOf: 65 - if: 66 not: 67 properties: 68 compatible: 69 contains: 70 enum: 71 - adi,adt7461 72 - adi,adt7461a 73 - ti,tmp451 74 - ti,tmp461 75 then: 76 properties: 77 ti,extended-range-enable: false 78 79additionalProperties: false 80 81examples: 82 - | 83 #include <dt-bindings/interrupt-controller/irq.h> 84 85 i2c { 86 #address-cells = <1>; 87 #size-cells = <0>; 88 89 sensor@4c { 90 compatible = "onnn,nct1008"; 91 reg = <0x4c>; 92 vcc-supply = <&palmas_ldo6_reg>; 93 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 94 #thermal-sensor-cells = <1>; 95 }; 96 }; 97