1231200Smm# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2231200Smm%YAML 1.2
3231200Smm---
4231200Smm$id: http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml#
5231200Smm$schema: http://devicetree.org/meta-schemas/core.yaml#
6231200Smm
7231200Smmtitle: Microchip LAN966x Hardware Monitor
8231200Smm
9231200Smmmaintainers:
10231200Smm  - Michael Walle <michael@walle.cc>
11231200Smm
12231200Smmdescription: |
13231200Smm  Microchip LAN966x temperature monitor and fan controller
14231200Smm
15231200Smmproperties:
16231200Smm  compatible:
17231200Smm    enum:
18231200Smm      - microchip,lan9668-hwmon
19231200Smm
20231200Smm  reg:
21231200Smm    items:
22231200Smm      - description: PVT registers
23231200Smm      - description: FAN registers
24231200Smm
25231200Smm  reg-names:
26231200Smm    items:
27231200Smm      - const: pvt
28231200Smm      - const: fan
29231200Smm
30231200Smm  clocks:
31231200Smm    maxItems: 1
32231200Smm
33231200Smm  '#thermal-sensor-cells':
34231200Smm    const: 0
35231200Smm
36231200Smmrequired:
37231200Smm  - compatible
38231200Smm  - reg
39231200Smm  - reg-names
40231200Smm  - clocks
41231200Smm
42231200SmmadditionalProperties: false
43231200Smm
44231200Smmexamples:
45231200Smm  - |
46231200Smm    hwmon: hwmon@e2010180 {
47231200Smm        compatible = "microchip,lan9668-hwmon";
48231200Smm        reg = <0xe2010180 0xc>,
49231200Smm              <0xe20042a8 0xc>;
50231200Smm        reg-names = "pvt", "fan";
51231200Smm        clocks = <&sys_clk>;
52231200Smm        #thermal-sensor-cells = <0>;
53231200Smm    };
54231200Smm