Skip to content

Commit

Permalink
dt-bindings: fsi: p9-occ: Convert to json-schema
Browse files Browse the repository at this point in the history
Conver to json-schema for the OCC documentation. Also document the fact
that the OCC "bridge" device will often have the hwmon node as a
child.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240522192524.3286237-5-eajames@linux.ibm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
  • Loading branch information
Eddie James authored and Rob Herring (Arm) committed Jul 9, 2024
1 parent 29aa58d commit 408f50d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt

This file was deleted.

40 changes: 40 additions & 0 deletions Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: IBM FSI-attached On-Chip Controller (OCC)

maintainers:
- Eddie James <eajames@linux.ibm.com>

description:
The POWER processor On-Chip Controller (OCC) helps manage power and
thermals for the system, accessed through the FSI-attached SBEFIFO
from a service processor.

properties:
compatible:
enum:
- ibm,p9-occ
- ibm,p10-occ

hwmon:
type: object
$ref: /schemas/hwmon/ibm,occ-hwmon.yaml

required:
- compatible

additionalProperties: false

examples:
- |
occ {
compatible = "ibm,p9-occ";
hwmon {
compatible = "ibm,p9-occ-hwmon";
};
};

0 comments on commit 408f50d

Please sign in to comment.