[PATCH v3 7/7] bindings: ipmi: Add binding for Aspeed SSIF BMC driver

From: Quan Nguyen
Date: Wed May 19 2021 - 03:51:03 EST


Add device tree binding document for the Aspeed SSIF BMC driver.

Signed-off-by: Quan Nguyen <quan@xxxxxxxxxxxxxxxxxxxxxx>
---
v3:
+ Switched to use DT schema format [Rob]

.../bindings/ipmi/aspeed-ssif-bmc.yaml | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/ipmi/aspeed-ssif-bmc.yaml

diff --git a/Documentation/devicetree/bindings/ipmi/aspeed-ssif-bmc.yaml b/Documentation/devicetree/bindings/ipmi/aspeed-ssif-bmc.yaml
new file mode 100644
index 000000000000..8608041fbf7e
--- /dev/null
+++ b/Documentation/devicetree/bindings/ipmi/aspeed-ssif-bmc.yaml
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/ipmi/aspeed-ssif-bmc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Aspeed SSIF IPMI interface
+
+description: SSIF IPMI device bindings for Aspeed
+
+maintainers:
+ - Thang Nguyen <thang@xxxxxxxxxxxxxxxxxxxxxx>
+
+properties:
+ compatible:
+ enum:
+ - aspeed,ast2500-ssif-bmc
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ ssif-bmc@10 {
+ compatible = "aspeed,ast2500-ssif-bmc";
+ reg = <0x10>;
+ };
--
2.28.0