aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorRob Herring2022-03-09 19:35:27 -0600
committerRob Herring2022-03-20 15:08:08 -0400
commit6ac02df3fff71ddacc71e2ae79b73c16873b41c5 (patch)
tree2b3269200b65053fb6b6faa547ed638fa303763d /Documentation/devicetree
parent094b10cb795a85e2f90f03c24b030888ab2f1fa3 (diff)
dt-bindings: virtio,mmio: Allow setting devices 'dma-coherent'
'virtio,mmio' devices are always coherent within a guest. As Arm DTs are default non-coherent, the 'dma-coherent' property needs to be set on the virtio device to mark them as such. This aligns with the QEMU 'virt' machine DTB. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220310013528.549030-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/virtio/mmio.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/virtio/mmio.yaml b/Documentation/devicetree/bindings/virtio/mmio.yaml
index 4b7a0273181c..10c22b5bd16a 100644
--- a/Documentation/devicetree/bindings/virtio/mmio.yaml
+++ b/Documentation/devicetree/bindings/virtio/mmio.yaml
@@ -20,6 +20,8 @@ properties:
reg:
maxItems: 1
+ dma-coherent: true
+
interrupts:
maxItems: 1