Path: blob/master/Documentation/devicetree/bindings/hwmon/lm75.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/hwmon/lm75.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: LM75 hwmon sensor78maintainers:9- Jean Delvare <jdelvare@suse.com>10- Guenter Roeck <linux@roeck-us.net>1112properties:13compatible:14enum:15- adi,adt7516- ams,as620017- atmel,at30ts7418- dallas,ds177519- dallas,ds7520- dallas,ds750521- gmt,g75122- national,lm7523- national,lm75a24- national,lm75b25- maxim,max662526- maxim,max662627- maxim,max3172528- maxim,max3172629- maxim,mcp980x30- nxp,p3t175531- 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,tmp75c4546reg:47maxItems: 14849vs-supply:50description: phandle to the regulator that provides the +VS supply5152interrupts:53maxItems: 15455required:56- compatible57- reg5859allOf:60- $ref: hwmon-common.yaml#61- if:62not:63properties:64compatible:65contains:66enum:67- ams,as620068- ti,tmp10069- ti,tmp10170- ti,tmp11271then:72properties:73interrupts: false7475unevaluatedProperties: false7677examples:78- |79i2c {80#address-cells = <1>;81#size-cells = <0>;8283sensor@48 {84compatible = "st,stlm75";85reg = <0x48>;86vs-supply = <&vs>;87};88};89- |90#include <dt-bindings/interrupt-controller/irq.h>91i2c {92#address-cells = <1>;93#size-cells = <0>;9495temperature-sensor@48 {96compatible = "ams,as6200";97reg = <0x48>;98vs-supply = <&vs>;99interrupt-parent = <&gpio1>;100interrupts = <17 IRQ_TYPE_EDGE_BOTH>;101};102};103104105