Path: blob/master/Documentation/devicetree/bindings/hwmon/lm75.yaml
29282 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,p3t175031- nxp,p3t175532- nxp,pct207533- st,stds7534- st,stlm7535- microchip,tcn7536- ti,tmp107537- ti,tmp10038- ti,tmp10139- ti,tmp10540- ti,tmp11241- ti,tmp17542- ti,tmp27543- ti,tmp7544- ti,tmp75b45- ti,tmp75c4647reg:48maxItems: 14950vs-supply:51description: phandle to the regulator that provides the +VS supply5253interrupts:54maxItems: 15556required:57- compatible58- reg5960allOf:61- $ref: hwmon-common.yaml#62- if:63not:64properties:65compatible:66contains:67enum:68- ams,as620069- ti,tmp10070- ti,tmp10171- ti,tmp11272- ti,tmp7573then:74properties:75interrupts: false7677unevaluatedProperties: false7879examples:80- |81i2c {82#address-cells = <1>;83#size-cells = <0>;8485sensor@48 {86compatible = "st,stlm75";87reg = <0x48>;88vs-supply = <&vs>;89};90};91- |92#include <dt-bindings/interrupt-controller/irq.h>93i2c {94#address-cells = <1>;95#size-cells = <0>;9697temperature-sensor@48 {98compatible = "ams,as6200";99reg = <0x48>;100vs-supply = <&vs>;101interrupt-parent = <&gpio1>;102interrupts = <17 IRQ_TYPE_EDGE_BOTH>;103};104};105106107