Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: IBM On-Chip Controller (OCC) accessed from a service processor |
| 8 | |
| 9 | maintainers: |
| 10 | - Eddie James <eajames@linux.ibm.com> |
| 11 | |
| 12 | description: | |
| 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 | |
| 18 | properties: |
| 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 | |
| 29 | required: |
| 30 | - compatible |
| 31 | |
| 32 | additionalProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | hwmon { |
| 37 | compatible = "ibm,p10-occ-hwmon"; |
| 38 | ibm,no-poll-on-init; |
| 39 | }; |