summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/virtio
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-03-10 04:35:27 +0300
committerRob Herring <robh@kernel.org>2022-03-20 22:08:08 +0300
commit6ac02df3fff71ddacc71e2ae79b73c16873b41c5 (patch)
tree2b3269200b65053fb6b6faa547ed638fa303763d /Documentation/devicetree/bindings/virtio
parent094b10cb795a85e2f90f03c24b030888ab2f1fa3 (diff)
downloadlinux-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.tar.xz
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/bindings/virtio')
-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