aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-06-07 02:55:45 -0400
committerShawn Guo <shawnguo@kernel.org>2016-06-15 20:42:01 -0400
commit2f082b13f2ef89548d5629d9bbf8795ed246a0ec (patch)
treecd82f1f1d3192415523db46381b55ad078d1d902
parentbf26225fc622d96f5ec0f40dca8a809d9685a604 (diff)
bindings: PCI: layerscape: Add 'dma-coherent' property
Add 'dma-coherent' description for PCI nodes. The 'dma-coherent' indicates that the hardware IP block can ensure the coherency of the data transferred from/to the IP block. This can avoid the software cache flush/invalid actions, and improve the performance significantly. The PCI IP block of ls1043a has this capability, so adding this feature to improve the PCI performance. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/pci/layerscape-pci.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
index ef683b2fd23a..41e9f55a1467 100644
--- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
+++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
@@ -24,6 +24,9 @@ Required properties:
24 The first entry must be a link to the SCFG device node 24 The first entry must be a link to the SCFG device node
25 The second entry must be '0' or '1' based on physical PCIe controller index. 25 The second entry must be '0' or '1' based on physical PCIe controller index.
26 This is used to get SCFG PEXN registers 26 This is used to get SCFG PEXN registers
27- dma-coherent: Indicates that the hardware IP block can ensure the coherency
28 of the data transferred from/to the IP block. This can avoid the software
29 cache flush/invalid actions, and improve the performance significantly.
27 30
28Example: 31Example:
29 32
@@ -38,6 +41,7 @@ Example:
38 #address-cells = <3>; 41 #address-cells = <3>;
39 #size-cells = <2>; 42 #size-cells = <2>;
40 device_type = "pci"; 43 device_type = "pci";
44 dma-coherent;
41 num-lanes = <4>; 45 num-lanes = <4>;
42 bus-range = <0x0 0xff>; 46 bus-range = <0x0 0xff>;
43 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 47 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */