aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Bjorn Helgaas <bhelgaas@google.com> 2024-01-15 12:10:36 -0600
committerGravatar Bjorn Helgaas <bhelgaas@google.com> 2024-01-15 12:10:36 -0600
commit6f77f0ac5ee2ee510f8e041a1d80ab14323ba0f0 (patch)
treec823faa05fb43923b92a7144ac04dde2ebe00660 /Documentation
parentMerge branch 'pci/virtualization' (diff)
parentPCI: brcmstb: Configure HW CLKREQ# mode appropriate for downstream device (diff)
downloadlinux-6f77f0ac5ee2ee510f8e041a1d80ab14323ba0f0.tar.gz
linux-6f77f0ac5ee2ee510f8e041a1d80ab14323ba0f0.tar.bz2
linux-6f77f0ac5ee2ee510f8e041a1d80ab14323ba0f0.zip
Merge branch 'pci/controller/broadcom'
- Add DT property "brcm,clkreq-mode" and driver support for different CLKREQ# modes (Jim Quinlan) * pci/controller/broadcom: PCI: brcmstb: Configure HW CLKREQ# mode appropriate for downstream device dt-bindings: PCI: brcmstb: Add property "brcm,clkreq-mode"
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
index 7e15aae7d69e..22491f7f8852 100644
--- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
@@ -64,6 +64,24 @@ properties:
aspm-no-l0s: true
+ brcm,clkreq-mode:
+ description: A string that determines the operating
+ clkreq mode of the PCIe RC HW with respect to controlling the refclk
+ signal. There are three different modes -- "safe", which drives the
+ refclk signal unconditionally and will work for all devices but does
+ not provide any power savings; "no-l1ss" -- which provides Clock
+ Power Management, L0s, and L1, but cannot provide L1 substate (L1SS)
+ power savings. If the downstream device connected to the RC is L1SS
+ capable AND the OS enables L1SS, all PCIe traffic may abruptly halt,
+ potentially hanging the system; "default" -- which provides L0s, L1,
+ and L1SS, but not compliant to provide Clock Power Management;
+ specifically, may not be able to meet the T_CLRon max timing of 400ns
+ as specified in "Dynamic Clock Control", section 3.2.5.2.2 PCI
+ Express Mini CEM 2.1 specification. This situation is atypical and
+ should happen only with older devices.
+ $ref: /schemas/types.yaml#/definitions/string
+ enum: [ safe, no-l1ss, default ]
+
brcm,scb-sizes:
description: u64 giving the 64bit PCIe memory
viewport size of a memory controller. There may be up to