aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-03-09 19:35:27 -0600
committerRob Herring <robh@kernel.org>2022-03-20 15:08:08 -0400
commit6ac02df3fff71ddacc71e2ae79b73c16873b41c5 (patch)
tree2b3269200b65053fb6b6faa547ed638fa303763d
parentdt-bindings: gnss: Add two more chips (diff)
downloadlinux-dev-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.tar.xz
linux-dev-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.zip
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
-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