* [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
* Re: [PATCH] schemas: pci: Document PCIe T_POWER_ON
2025-11-06 11:39 Krishna Chaitanya Chundru
@ 2025-11-06 12:38 ` Manivannan Sadhasivam
2025-11-06 14:07 ` Krishna Chaitanya Chundru
0 siblings, 1 reply; 5+ messages in thread
From: Manivannan Sadhasivam @ 2025-11-06 12:38 UTC (permalink / raw)
To: Krishna Chaitanya Chundru
Cc: andersson, robh, manivannan.sadhasivam, krzk, helgaas,
linux-arm-msm, devicetree, lpieralisi, kw, conor+dt, linux-pci,
linux-kernel, devicetree-spec, quic_vbadigan
On Thu, Nov 06, 2025 at 05:09:51PM +0530, Krishna Chaitanya Chundru wrote:
> From PCIe r6, sec 5.5.4 & sec 5.5.5 T POWER_ON is the minimum amount
T_POWER_ON
You should provide reference to the Table 5-11, where T_POWER_ON is described.
> 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.
>
> Certain controllers may need to program this before enumeration, such
> controllers can use this property to program it.
>
I'd remove this statement and just mention that this property should be used to
indicate the T_POWER_ON for each Root Port.
- Mani
--
மணிவண்ணன் சதாசிவம்
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] schemas: pci: Document PCIe T_POWER_ON
2025-11-06 12:38 ` Manivannan Sadhasivam
@ 2025-11-06 14:07 ` Krishna Chaitanya Chundru
0 siblings, 0 replies; 5+ messages in thread
From: Krishna Chaitanya Chundru @ 2025-11-06 14:07 UTC (permalink / raw)
To: Manivannan Sadhasivam
Cc: andersson, robh, manivannan.sadhasivam, krzk, helgaas,
linux-arm-msm, devicetree, lpieralisi, kw, conor+dt, linux-pci,
linux-kernel, devicetree-spec, quic_vbadigan
On 11/6/2025 6:08 PM, Manivannan Sadhasivam wrote:
> On Thu, Nov 06, 2025 at 05:09:51PM +0530, Krishna Chaitanya Chundru wrote:
>> From PCIe r6, sec 5.5.4 & sec 5.5.5 T POWER_ON is the minimum amount
> T_POWER_ON
>
> You should provide reference to the Table 5-11, where T_POWER_ON is described
Actually 5.5.5 section has only table 5-11 which describes this, I will
add the Table 5-11
reference also in next patch.
>> 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.
>>
>> Certain controllers may need to program this before enumeration, such
>> controllers can use this property to program it.
>>
> I'd remove this statement and just mention that this property should be used to
> indicate the T_POWER_ON for each Root Port.
ack.
- Krishna Chaitanya.
> - Mani
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [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
* Re: [PATCH] schemas: pci: Document PCIe T_POWER_ON
2025-11-10 11:25 [PATCH] schemas: pci: Document PCIe T_POWER_ON Krishna Chaitanya Chundru
@ 2025-11-10 13:13 ` Krishna Chaitanya Chundru
0 siblings, 0 replies; 5+ messages in thread
From: Krishna Chaitanya Chundru @ 2025-11-10 13:13 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
Please ignore this patch, it has some mistakes which I have sent
accidentally.
- Krishna Chaitanya.
On 11/10/2025 4:55 PM, Krishna Chaitanya Chundru wrote:
> 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
^ permalink raw reply [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