GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / hwmon / microchip,lan966x.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Microchip LAN966x Hardware Monitor
8
9 maintainers:
10   - Michael Walle <michael@walle.cc>
11
12 description: |
13   Microchip LAN966x temperature monitor and fan controller
14
15 properties:
16   compatible:
17     enum:
18       - microchip,lan9668-hwmon
19
20   reg:
21     items:
22       - description: PVT registers
23       - description: FAN registers
24
25   reg-names:
26     items:
27       - const: pvt
28       - const: fan
29
30   clocks:
31     maxItems: 1
32
33   '#thermal-sensor-cells':
34     const: 0
35
36 required:
37   - compatible
38   - reg
39   - reg-names
40   - clocks
41
42 additionalProperties: false
43
44 examples:
45   - |
46     hwmon: hwmon@e2010180 {
47         compatible = "microchip,lan9668-hwmon";
48         reg = <0xe2010180 0xc>,
49               <0xe20042a8 0xc>;
50         reg-names = "pvt", "fan";
51         clocks = <&sys_clk>;
52         #thermal-sensor-cells = <0>;
53     };