xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/ibm,occ-hwmon.yaml (revision 401ab69cff8fa2320a9f8ea4baa114a6da6c952b)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/ibm,occ-hwmon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IBM On-Chip Controller (OCC) accessed from a service processor
8
9maintainers:
10  - Eddie James <eajames@linux.ibm.com>
11
12description: |
13  The POWER processor On-Chip Controller (OCC) helps manage power and
14  thermals for the system. A service processor or baseboard management
15  controller can query the OCC for it's power and thermal data to report
16  through hwmon.
17
18properties:
19  compatible:
20    enum:
21      - ibm,p9-occ-hwmon
22      - ibm,p10-occ-hwmon
23
24  ibm,no-poll-on-init:
25    description: This property describes whether or not the OCC should
26      be polled during driver initialization.
27    type: boolean
28
29required:
30  - compatible
31
32additionalProperties: false
33
34examples:
35  - |
36    hwmon {
37        compatible = "ibm,p10-occ-hwmon";
38        ibm,no-poll-on-init;
39    };
40