xref: /linux/Documentation/devicetree/bindings/hwmon/iei,wt61p803-puzzle-hwmon.yaml (revision 098b6e44cbaa2d526d06af90c862d13fb414a0ec)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/iei,wt61p803-puzzle-hwmon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IEI WT61P803 PUZZLE MCU HWMON module from IEI Integration Corp.
8
9maintainers:
10  - Luka Kovacic <luka.kovacic@sartura.hr>
11
12description: |
13  This module is a part of the IEI WT61P803 PUZZLE MFD device. For more details
14  see Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml.
15
16  The HWMON module is a sub-node of the MCU node in the Device Tree.
17
18properties:
19  compatible:
20    const: iei,wt61p803-puzzle-hwmon
21
22  '#address-cells':
23    const: 1
24
25  '#size-cells':
26    const: 0
27
28patternProperties:
29  '^fan-group@[0-1]$':
30    type: object
31    additionalProperties: false
32
33    properties:
34      reg:
35        minimum: 0
36        maximum: 1
37        description:
38          Fan group ID
39
40      '#cooling-cells':
41        const: 2
42
43      cooling-levels:
44        minItems: 1
45        maxItems: 255
46        description:
47          Cooling levels for the fans (PWM value mapping)
48
49    required:
50      - reg
51      - '#cooling-cells'
52      - cooling-levels
53
54required:
55  - compatible
56  - '#address-cells'
57  - '#size-cells'
58
59additionalProperties: false
60