summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/hwmon/microchip,lan966x.yaml
blob: 390dd6755ff51f437221eef5df2b0ba43b5b365f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip LAN966x Hardware Monitor

maintainers:
  - Michael Walle <michael@walle.cc>

description: |
  Microchip LAN966x temperature monitor and fan controller

properties:
  compatible:
    enum:
      - microchip,lan9668-hwmon

  reg:
    items:
      - description: PVT registers
      - description: FAN registers

  reg-names:
    items:
      - const: pvt
      - const: fan

  clocks:
    maxItems: 1

  '#thermal-sensor-cells':
    const: 0

required:
  - compatible
  - reg
  - reg-names
  - clocks

additionalProperties: false

examples:
  - |
    hwmon: hwmon@e2010180 {
        compatible = "microchip,lan9668-hwmon";
        reg = <0xe2010180 0xc>,
              <0xe20042a8 0xc>;
        reg-names = "pvt", "fan";
        clocks = <&sys_clk>;
        #thermal-sensor-cells = <0>;
    };