]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: PCI: microchip,pcie-host: Allow dma-noncoherent
authorConor Dooley <conor.dooley@microchip.com>
Fri, 11 Oct 2024 14:00:43 +0000 (15:00 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jan 2025 23:35:13 +0000 (17:35 -0600)
PolarFire SoC may be configured in a way that requires non-coherent DMA
handling. On RISC-V, buses are coherent by default & the dma-noncoherent
property is required to denote buses or devices that are non-coherent.

Link: https://lore.kernel.org/r/20241011140043.1250030-4-daire.mcnamara@microchip.com
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml

index 2e154756970297dad61491e22e3c27778e5b68f1..103574d18dbc2519c5a6130450ddbe46cd545978 100644 (file)
@@ -50,6 +50,8 @@ properties:
     items:
       pattern: '^fic[0-3]$'
 
+  dma-coherent: true
+
   ranges:
     minItems: 1
     maxItems: 3