Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] schemas: pci: Document PCIe T_POWER_ON
@ 2025-11-10 11:25 Krishna Chaitanya Chundru
  2025-11-10 13:13 ` Krishna Chaitanya Chundru
  0 siblings, 1 reply; 5+ messages in thread
From: Krishna Chaitanya Chundru @ 2025-11-10 11:25 UTC (permalink / raw)
  To: andersson, robh, manivannan.sadhasivam, krzk, helgaas
  Cc: linux-arm-msm, devicetree, lpieralisi, kw, conor+dt, linux-pci,
	linux-kernel, devicetree-spec, quic_vbadigan, krishna.chundru

From PCIe r6, 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 for each Root Port.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
---
Changes in V1:
- Updated the commit text (Mani).

 dtschema/schemas/pci/pci-bus-common.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dtschema/schemas/pci/pci-bus-common.yaml b/dtschema/schemas/pci/pci-bus-common.yaml
index 5257339..bbe5510 100644
--- a/dtschema/schemas/pci/pci-bus-common.yaml
+++ b/dtschema/schemas/pci/pci-bus-common.yaml
@@ -152,6 +152,15 @@ properties:
       This property is invalid in host bridge nodes.
     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 r6.0, sec 5.5.4).
+
   supports-clkreq:
     description:
       If present this property specifies that CLKREQ signal routing exists from
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] schemas: pci: Document PCIe T_POWER_ON
@ 2025-11-06 11:39 Krishna Chaitanya Chundru
  2025-11-06 12:38 ` Manivannan Sadhasivam
  0 siblings, 1 reply; 5+ messages in thread
From: Krishna Chaitanya Chundru @ 2025-11-06 11:39 UTC (permalink / raw)
  To: andersson, robh, manivannan.sadhasivam, krzk, helgaas
  Cc: linux-arm-msm, devicetree, lpieralisi, kw, conor+dt, linux-pci,
	linux-kernel, devicetree-spec, quic_vbadigan, krishna.chundru

From PCIe r6, sec 5.5.4 & sec 5.5.5 T POWER_ON is 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 and these values are based on
the components and AC coupling capacitors used in the connection linking
the two components.

Certain controllers may need to program this before enumeration, such
controllers can use this property to program it.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
---
 dtschema/schemas/pci/pci-bus-common.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dtschema/schemas/pci/pci-bus-common.yaml b/dtschema/schemas/pci/pci-bus-common.yaml
index 5257339..bbe5510 100644
--- a/dtschema/schemas/pci/pci-bus-common.yaml
+++ b/dtschema/schemas/pci/pci-bus-common.yaml
@@ -152,6 +152,15 @@ properties:
       This property is invalid in host bridge nodes.
     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 r6.0, sec 5.5.4).
+
   supports-clkreq:
     description:
       If present this property specifies that CLKREQ signal routing exists from
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-10 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-10 11:25 [PATCH] schemas: pci: Document PCIe T_POWER_ON Krishna Chaitanya Chundru
2025-11-10 13:13 ` Krishna Chaitanya Chundru
  -- strict thread matches above, loose matches on Subject: below --
2025-11-06 11:39 Krishna Chaitanya Chundru
2025-11-06 12:38 ` Manivannan Sadhasivam
2025-11-06 14:07   ` Krishna Chaitanya Chundru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox