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