Skip to content

Commit 23aa0c3

Browse files
romank-msftliuw
authored andcommitted
dt-bindings: microsoft,vmbus: Add interrupt and DMA coherence properties
To boot in the VTL mode, VMBus on arm64 needs interrupt description which the binding documentation lacks. The transactions on the bus are DMA coherent which is not mentioned as well. Add the interrupt property and the DMA coherence property to the VMBus binding. Update the example to match that. Fix typos. Signed-off-by: Roman Kisel <romank@linux.microsoft.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250428210742.435282-8-romank@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org> Message-ID: <20250428210742.435282-8-romank@linux.microsoft.com>
1 parent e956ee9 commit 23aa0c3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ maintainers:
1010
- Saurabh Sengar <ssengar@linux.microsoft.com>
1111

1212
description:
13-
VMBus is a software bus that implement the protocols for communication
14-
between the root or host OS and guest OSs (virtual machines).
13+
VMBus is a software bus that implements the protocols for communication
14+
between the root or host OS and guest OS'es (virtual machines).
1515

1616
properties:
1717
compatible:
@@ -25,16 +25,25 @@ properties:
2525
'#size-cells':
2626
const: 1
2727

28+
dma-coherent: true
29+
30+
interrupts:
31+
maxItems: 1
32+
description: Interrupt is used to report a message from the host.
33+
2834
required:
2935
- compatible
3036
- ranges
37+
- interrupts
3138
- '#address-cells'
3239
- '#size-cells'
3340

3441
additionalProperties: false
3542

3643
examples:
3744
- |
45+
#include <dt-bindings/interrupt-controller/irq.h>
46+
#include <dt-bindings/interrupt-controller/arm-gic.h>
3847
soc {
3948
#address-cells = <2>;
4049
#size-cells = <1>;
@@ -49,6 +58,9 @@ examples:
4958
#address-cells = <2>;
5059
#size-cells = <1>;
5160
ranges = <0x0f 0xf0000000 0x0f 0xf0000000 0x10000000>;
61+
dma-coherent;
62+
interrupt-parent = <&gic>;
63+
interrupts = <GIC_PPI 2 IRQ_TYPE_EDGE_RISING>;
5264
};
5365
};
5466
};

0 commit comments

Comments
 (0)