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