Skip to content

Commit 1986798

Browse files
robherringcminyard
authored andcommitted
dt-bindings: ipmi: Convert nuvoton,npcm750-kcs-bmc to DT schema
Convert the nuvoton,npcm750-kcs-bmc binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Message-ID: <20251014152935.3782463-1-robh@kernel.org> Signed-off-by: Corey Minyard <corey@minyard.net>
1 parent 1c35d80 commit 1986798

2 files changed

Lines changed: 55 additions & 40 deletions

File tree

Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ipmi/nuvoton,npcm750-kcs-bmc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton NPCM KCS BMC
8+
9+
maintainers:
10+
- Avi Fishman <avifishman70@gmail.com>
11+
- Tomer Maimon <tmaimon77@gmail.com>
12+
- Tali Perry <tali.perry1@gmail.com>
13+
14+
description:
15+
The Nuvoton SOCs (NPCM) are commonly used as BMCs (Baseboard Management
16+
Controllers) and the KCS interface can be used to perform in-band IPMI
17+
communication with their host.
18+
19+
properties:
20+
compatible:
21+
oneOf:
22+
- const: nuvoton,npcm750-kcs-bmc
23+
- items:
24+
- enum:
25+
- nuvoton,npcm845-kcs-bmc
26+
- const: nuvoton,npcm750-kcs-bmc
27+
28+
reg:
29+
maxItems: 1
30+
31+
interrupts:
32+
maxItems: 1
33+
34+
kcs_chan:
35+
description: The KCS channel number in the controller
36+
$ref: /schemas/types.yaml#/definitions/uint32
37+
minimum: 1
38+
maximum: 3
39+
40+
required:
41+
- compatible
42+
- reg
43+
- interrupts
44+
- kcs_chan
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
kcs@0 {
51+
compatible = "nuvoton,npcm750-kcs-bmc";
52+
reg = <0x0 0x40>;
53+
interrupts = <9 4>;
54+
kcs_chan = <1>;
55+
};

0 commit comments

Comments
 (0)