[PATCH 4/4] dt-bindings: hv: Add dt-bindings for VMBus
From: Saurabh Sengar
Date: Mon Jan 16 2023 - 12:09:01 EST
Add dt-bindings for Hyper-V VMBus
Signed-off-by: Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/hv/msft,vmbus.yaml | 34 ++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hv/msft,vmbus.yaml
diff --git a/Documentation/devicetree/bindings/hv/msft,vmbus.yaml b/Documentation/devicetree/bindings/hv/msft,vmbus.yaml
new file mode 100644
index 0000000..66cb426
--- /dev/null
+++ b/Documentation/devicetree/bindings/hv/msft,vmbus.yaml
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/hv/msft,vmbus.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microsoft Hyper-V VMBus device tree bindings
+
+maintainers:
+ - Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>
+
+description:
+ VMBus is a software bus that implement the protocols for communication
+ between the root or host OS and guest OSs (virtual machines).
+
+properties:
+ compatible:
+ const: msft,vmbus
+
+ ranges :
+ const: <0x00 0x00 0x0f 0xf0000000 0x10000000>
+
+required:
+ - compatible
+ - ranges
+
+examples:
+ - |
+ vmbus {
+ #address-cells = <0x02>;
+ #size-cells = <0x01>;
+ compatible = "msft,vmbus";
+ ranges = <0x00 0x00 0x0f 0xf0000000 0x10000000>;
+ };
--
1.8.3.1