dt-bindings: ipmi: Convert aspeed,ast2400-ibt-bmc to DT schema
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: ipmi: Convert aspeed,ast2400-ibt-bmc to DT schema
Convert the aspeed,ast2400-ibt-bmc binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../bindings/ipmi/aspeed,ast2400-ibt-bmc.txt | 28 ------------ .../bindings/ipmi/aspeed,ast2400-ibt-bmc.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt create mode 100644 Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.yaml
Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt deleted +0 -28
@@ -1,28 +0,0 @@ -* Aspeed BT (Block Transfer) IPMI interface - -The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs -(BaseBoard Management Controllers) and the BT interface can be used to -perform in-band IPMI communication with their host. - -Required properties: - -- compatible : should be one of - "aspeed,ast2400-ibt-bmc" - "aspeed,ast2500-ibt-bmc" - "aspeed,ast2600-ibt-bmc" -- reg: physical address and size of the registers -- clocks: clock for the device - -Optional properties: - -- interrupts: interrupt generated by the BT interface. without an - interrupt, the driver will operate in poll mode. - -Example: - - ibt@1e789140 { - compatible = "aspeed,ast2400-ibt-bmc"; - reg = <0x1e789140 0x18>; - interrupts = <8>; - clocks = <&syscon ASPEED_CLK_GATE_LCLK>; - };
Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.yaml new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.51.0
Quoted 4 lines · Rob Herring (Arm)
Convert the aspeed,ast2400-ibt-bmc binding to DT schema format. It's a straight-forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>
Reviewed-by Andrew Jeffery <[email protected]>
Thanks Rob.
Corey Minyard
maintainerQuoted 2 lines · Rob Herring (Arm)
Convert the aspeed,ast2400-ibt-bmc binding to DT schema format. It's a straight-forward conversion.
Queued for 6.19, with Andrew's review.
Thanks,
-corey
Quoted 96 lines
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../bindings/ipmi/aspeed,ast2400-ibt-bmc.txt | 28 ------------ .../bindings/ipmi/aspeed,ast2400-ibt-bmc.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt create mode 100644 Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.yamlDocumentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt deleted +0
-28@@ -1,28 +0,0 @@ -* Aspeed BT (Block Transfer) IPMI interface - -The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs -(BaseBoard Management Controllers) and the BT interface can be used to -perform in-band IPMI communication with their host. - -Required properties: - -- compatible : should be one of - "aspeed,ast2400-ibt-bmc" - "aspeed,ast2500-ibt-bmc" - "aspeed,ast2600-ibt-bmc" -- reg: physical address and size of the registers -- clocks: clock for the device - -Optional properties: - -- interrupts: interrupt generated by the BT interface. without an - interrupt, the driver will operate in poll mode. - -Example: - - ibt@1e789140 { - compatible = "aspeed,ast2400-ibt-bmc"; - reg = <0x1e789140 0x18>; - interrupts = <8>; - clocks = <&syscon ASPEED_CLK_GATE_LCLK>; - };Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.yaml new file +44
-0@@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-ibt-bmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Block Transfer (BT) IPMI interface + +maintainers: + - Joel Stanley <[email protected]> + +properties: + compatible: + enum: + - aspeed,ast2400-ibt-bmc + - aspeed,ast2500-ibt-bmc + - aspeed,ast2600-ibt-bmc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/aspeed-clock.h> + + bt@1e789140 { + compatible = "aspeed,ast2400-ibt-bmc"; + reg = <0x1e789140 0x18>; + interrupts = <8>; + clocks = <&syscon ASPEED_CLK_GATE_LCLK>; + };Signature · 1 line
2.51.0