Skip to content

Commit 408f50d

Browse files
Eddie Jamesrobherring
authored andcommitted
dt-bindings: fsi: p9-occ: Convert to json-schema
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 29aa58d commit 408f50d

File tree

2 files changed

+40
-16
lines changed

2 files changed

+40
-16
lines changed

Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: IBM FSI-attached On-Chip Controller (OCC)
8+
9+
maintainers:
10+
- Eddie James <[email protected]>
11+
12+
description:
13+
The POWER processor On-Chip Controller (OCC) helps manage power and
14+
thermals for the system, accessed through the FSI-attached SBEFIFO
15+
from a service processor.
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- ibm,p9-occ
21+
- ibm,p10-occ
22+
23+
hwmon:
24+
type: object
25+
$ref: /schemas/hwmon/ibm,occ-hwmon.yaml
26+
27+
required:
28+
- compatible
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
occ {
35+
compatible = "ibm,p9-occ";
36+
37+
hwmon {
38+
compatible = "ibm,p9-occ-hwmon";
39+
};
40+
};

0 commit comments

Comments
 (0)