103 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/hwmon/lm75.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: LM75 hwmon sensor8 9maintainers:10 - Jean Delvare <jdelvare@suse.com>11 - Guenter Roeck <linux@roeck-us.net>12 13properties:14 compatible:15 enum:16 - adi,adt7517 - ams,as620018 - atmel,at30ts7419 - dallas,ds177520 - dallas,ds7521 - dallas,ds750522 - gmt,g75123 - national,lm7524 - national,lm75a25 - national,lm75b26 - maxim,max662527 - maxim,max662628 - maxim,max3172529 - maxim,max3172630 - maxim,mcp980x31 - nxp,pct207532 - st,stds7533 - st,stlm7534 - microchip,tcn7535 - ti,tmp107536 - ti,tmp10037 - ti,tmp10138 - ti,tmp10539 - ti,tmp11240 - ti,tmp17541 - ti,tmp27542 - ti,tmp7543 - ti,tmp75b44 - ti,tmp75c45 46 reg:47 maxItems: 148 49 vs-supply:50 description: phandle to the regulator that provides the +VS supply51 52 interrupts:53 maxItems: 154 55required:56 - compatible57 - reg58 59allOf:60 - $ref: hwmon-common.yaml#61 - if:62 not:63 properties:64 compatible:65 contains:66 enum:67 - ams,as620068 - ti,tmp10069 - ti,tmp10170 - ti,tmp11271 then:72 properties:73 interrupts: false74 75unevaluatedProperties: false76 77examples:78 - |79 i2c {80 #address-cells = <1>;81 #size-cells = <0>;82 83 sensor@48 {84 compatible = "st,stlm75";85 reg = <0x48>;86 vs-supply = <&vs>;87 };88 };89 - |90 #include <dt-bindings/interrupt-controller/irq.h>91 i2c {92 #address-cells = <1>;93 #size-cells = <0>;94 95 temperature-sensor@48 {96 compatible = "ams,as6200";97 reg = <0x48>;98 vs-supply = <&vs>;99 interrupt-parent = <&gpio1>;100 interrupts = <17 IRQ_TYPE_EDGE_BOTH>;101 };102 };103