1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/lm75.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: LM75 hwmon sensor 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Jean Delvare <jdelvare@suse.com> 116be33864SEmmanuel Vadot - Guenter Roeck <linux@roeck-us.net> 126be33864SEmmanuel Vadot 136be33864SEmmanuel Vadotproperties: 146be33864SEmmanuel Vadot compatible: 156be33864SEmmanuel Vadot enum: 166be33864SEmmanuel Vadot - adi,adt75 178d13bc63SEmmanuel Vadot - ams,as6200 18d5b0e70fSEmmanuel Vadot - atmel,at30ts74 196be33864SEmmanuel Vadot - dallas,ds1775 206be33864SEmmanuel Vadot - dallas,ds75 216be33864SEmmanuel Vadot - dallas,ds7505 226be33864SEmmanuel Vadot - gmt,g751 236be33864SEmmanuel Vadot - national,lm75 246be33864SEmmanuel Vadot - national,lm75a 256be33864SEmmanuel Vadot - national,lm75b 266be33864SEmmanuel Vadot - maxim,max6625 276be33864SEmmanuel Vadot - maxim,max6626 286be33864SEmmanuel Vadot - maxim,max31725 296be33864SEmmanuel Vadot - maxim,max31726 306be33864SEmmanuel Vadot - maxim,mcp980x 316be33864SEmmanuel Vadot - nxp,pct2075 326be33864SEmmanuel Vadot - st,stds75 336be33864SEmmanuel Vadot - st,stlm75 346be33864SEmmanuel Vadot - microchip,tcn75 355956d97fSEmmanuel Vadot - ti,tmp1075 366be33864SEmmanuel Vadot - ti,tmp100 376be33864SEmmanuel Vadot - ti,tmp101 386be33864SEmmanuel Vadot - ti,tmp105 396be33864SEmmanuel Vadot - ti,tmp112 406be33864SEmmanuel Vadot - ti,tmp175 416be33864SEmmanuel Vadot - ti,tmp275 426be33864SEmmanuel Vadot - ti,tmp75 436be33864SEmmanuel Vadot - ti,tmp75b 446be33864SEmmanuel Vadot - ti,tmp75c 456be33864SEmmanuel Vadot 466be33864SEmmanuel Vadot reg: 476be33864SEmmanuel Vadot maxItems: 1 486be33864SEmmanuel Vadot 496be33864SEmmanuel Vadot vs-supply: 506be33864SEmmanuel Vadot description: phandle to the regulator that provides the +VS supply 516be33864SEmmanuel Vadot 528d13bc63SEmmanuel Vadot interrupts: 538d13bc63SEmmanuel Vadot maxItems: 1 548d13bc63SEmmanuel Vadot 556be33864SEmmanuel Vadotrequired: 566be33864SEmmanuel Vadot - compatible 576be33864SEmmanuel Vadot - reg 586be33864SEmmanuel Vadot 598d13bc63SEmmanuel VadotallOf: 60*01950c46SEmmanuel Vadot - $ref: hwmon-common.yaml# 618d13bc63SEmmanuel Vadot - if: 628d13bc63SEmmanuel Vadot not: 638d13bc63SEmmanuel Vadot properties: 648d13bc63SEmmanuel Vadot compatible: 658d13bc63SEmmanuel Vadot contains: 668d13bc63SEmmanuel Vadot enum: 678d13bc63SEmmanuel Vadot - ams,as6200 688d13bc63SEmmanuel Vadot - ti,tmp100 698d13bc63SEmmanuel Vadot - ti,tmp101 708d13bc63SEmmanuel Vadot - ti,tmp112 718d13bc63SEmmanuel Vadot then: 728d13bc63SEmmanuel Vadot properties: 738d13bc63SEmmanuel Vadot interrupts: false 748d13bc63SEmmanuel Vadot 75*01950c46SEmmanuel VadotunevaluatedProperties: false 766be33864SEmmanuel Vadot 776be33864SEmmanuel Vadotexamples: 786be33864SEmmanuel Vadot - | 796be33864SEmmanuel Vadot i2c { 806be33864SEmmanuel Vadot #address-cells = <1>; 816be33864SEmmanuel Vadot #size-cells = <0>; 826be33864SEmmanuel Vadot 836be33864SEmmanuel Vadot sensor@48 { 846be33864SEmmanuel Vadot compatible = "st,stlm75"; 856be33864SEmmanuel Vadot reg = <0x48>; 866be33864SEmmanuel Vadot vs-supply = <&vs>; 876be33864SEmmanuel Vadot }; 886be33864SEmmanuel Vadot }; 898d13bc63SEmmanuel Vadot - | 908d13bc63SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 918d13bc63SEmmanuel Vadot i2c { 928d13bc63SEmmanuel Vadot #address-cells = <1>; 938d13bc63SEmmanuel Vadot #size-cells = <0>; 948d13bc63SEmmanuel Vadot 958d13bc63SEmmanuel Vadot temperature-sensor@48 { 968d13bc63SEmmanuel Vadot compatible = "ams,as6200"; 978d13bc63SEmmanuel Vadot reg = <0x48>; 988d13bc63SEmmanuel Vadot vs-supply = <&vs>; 998d13bc63SEmmanuel Vadot interrupt-parent = <&gpio1>; 1008d13bc63SEmmanuel Vadot interrupts = <17 IRQ_TYPE_EDGE_BOTH>; 1018d13bc63SEmmanuel Vadot }; 1028d13bc63SEmmanuel Vadot }; 103