xref: /linux/Documentation/devicetree/bindings/hwmon/national,lm90.yaml (revision 34f7c6e7d4396090692a09789db231e12cb4762b)
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/interrupt-controller/irq.h>
64
65    i2c {
66        #address-cells = <1>;
67        #size-cells = <0>;
68
69        sensor@4c {
70            compatible = "onnn,nct1008";
71            reg = <0x4c>;
72            vcc-supply = <&palmas_ldo6_reg>;
73            interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
74            #thermal-sensor-cells = <1>;
75        };
76    };
77