Skip to contentSkip to conversation

schemas: pci: Document PCIe T_POWER_ON

PATCH Applied Krishna Chaitanya Chundru 2 participants 2 messages Feb 5 – Feb 19

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 schemas: pci: Document PCIe T_POWER_ON

From PCIe r7, sec 5.5.4 & Table 5-11 in sec 5.5.5 T_POWER_ON is the minimum amount of time (in us) that each component must wait in L1.2.Exit after sampling CLKREQ# asserted before actively driving the interface to ensure no device is ever actively driving into an unpowered component and these values are based on the components and AC coupling capacitors used in the connection linking the two components.

This property should be used to indicate the T_POWER_ON and drivers using this property are responsible for programming both the scale and the value of T_POWER_ON to comply with the PCIe specification.

---
Changes in V3.
- Couple of nits from Mani & Bjorn.
- Link to v3: https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Move the property to pci-device.yaml so that it will be applicable to
endpoint devices also (Mani).
- Use latest spec (Lukas)
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changes in v1:
- Updated the commiit text (Mani).
- Link to v1: https://lore.kernel.org/all/[email protected]/#t

 dtschema/schemas/pci/pci-device.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)
dtschema/schemas/pci/pci-device.yaml +9 -0
index ca094a0..a847500 100644
@@ -63,6 +63,15 @@ properties:
     description: GPIO controlled connection to WAKE# signal
     maxItems: 1
 
+  t-power-on-us:
+    description:
+      The minimum amount of time that each component must wait in
+      L1.2.Exit after sampling CLKREQ# asserted before actively driving
+      the interface to ensure no device is ever actively driving into an
+      unpowered component. This value is based on the components and AC
+      coupling capacitors used in the connection linking the two
+      components (PCIe r7.0, sec 5.5.4).
+
 required:
   - reg
 
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 7 lines · Krishna Chaitanya Chundru
Quoted 1 line

From PCIe r7, sec 5.5.4 & Table 5-11 in sec 5.5.5 T_POWER_ON is the

minimum amount of time (in us) that each component must wait in L1.2.Exit after sampling CLKREQ# asserted before actively driving the interface to ensure no device is ever actively driving into an unpowered component and these values are based on the components and AC coupling capacitors used in the connection linking the two components.

Quoted 6 lines

This property should be used to indicate the T_POWER_ON and drivers using this property are responsible for programming both the scale and the value of T_POWER_ON to comply with the PCIe specification.

Applied, thanks.