aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@gmail.com>2016-07-04 12:14:42 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-08-22 13:34:43 -0400
commitfe48cb8538421fbd16ecf8bf95829faf8d8c001e (patch)
treee38cfb7e754dc352e03785dab0c33ab793c6c5f3 /Documentation
parent01c076732e8288485c22ef50f20949455a783ca9 (diff)
PCI: designware: Keep viewport fixed for IO transaction if num_viewport > 2
Most of the platforms have 3 or more viewports. For such platforms, We do not need to share viewports between IO and CFG. Assign viewport 2 to IO transactions in such cases. Tested-by: Dong Bo <dongbo4@huawei.com> Signed-off-by: Pratyush Anand <pratyush.anand@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pci/designware-pcie.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt
index 6c5322c55411..1392c705ceca 100644
--- a/Documentation/devicetree/bindings/pci/designware-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt
@@ -17,6 +17,8 @@ Required properties:
17- num-lanes: number of lanes to use 17- num-lanes: number of lanes to use
18 18
19Optional properties: 19Optional properties:
20- num-viewport: number of view ports configured in hardware. If a platform
21 does not specify it, the driver assumes 2.
20- num-lanes: number of lanes to use (this property should be specified unless 22- num-lanes: number of lanes to use (this property should be specified unless
21 the link is brought already up in BIOS) 23 the link is brought already up in BIOS)
22- reset-gpio: gpio pin number of power good signal 24- reset-gpio: gpio pin number of power good signal
@@ -44,4 +46,5 @@ Example configuration:
44 interrupts = <25>, <24>; 46 interrupts = <25>, <24>;
45 #interrupt-cells = <1>; 47 #interrupt-cells = <1>;
46 num-lanes = <1>; 48 num-lanes = <1>;
49 num-viewport = <3>;
47 }; 50 };