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 - winbond,w83l771 38 39 40 interrupts: 41 items: 42 - description: | 43 Single interrupt specifier which describes the LM90 "-ALERT" pin 44 output. 45 46 reg: 47 maxItems: 1 48 49 "#thermal-sensor-cells": 50 const: 1 51 52 vcc-supply: 53 description: phandle to the regulator that provides the +VCC supply 54 55required: 56 - compatible 57 - reg 58 59additionalProperties: false 60 61examples: 62 - | 63 #include <dt-bindings/gpio/tegra-gpio.h> 64 #include <dt-bindings/interrupt-controller/irq.h> 65 66 i2c { 67 #address-cells = <1>; 68 #size-cells = <0>; 69 70 sensor@4c { 71 compatible = "onnn,nct1008"; 72 reg = <0x4c>; 73 vcc-supply = <&palmas_ldo6_reg>; 74 interrupt-parent = <&gpio>; 75 interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>; 76 #thermal-sensor-cells = <1>; 77 }; 78 }; 79