]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: PCI: microchip,pcie-host: Fix DMA coherency property
authorConor Dooley <conor.dooley@microchip.com>
Fri, 16 May 2025 09:59:39 +0000 (10:59 +0100)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Fri, 16 May 2025 12:57:12 +0000 (12:57 +0000)
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.
For some reason, instead of adding dma-noncoherent to the binding
the pointless, NOP, property dma-coherent was. Swap dma-coherent for
dma-noncoherent.

Fixes: 04aa999eb96fd ("dt-bindings: PCI: microchip,pcie-host: Allow dma-noncoherent")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Link: https://lore.kernel.org/r/20250516-datebook-senator-ff7a1c30cbd5@spud
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml

index 1aadfdee868fc0f63a06db5d2708c4abdacff2fe..47b0bad690d5a3e2f2937adf5e9f6f50999400ef 100644 (file)
@@ -50,7 +50,7 @@ properties:
     items:
       pattern: '^fic[0-3]$'
 
-  dma-coherent: true
+  dma-noncoherent: true
 
   ranges:
     minItems: 1