linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Cadence PCIe PHY latency for PTM
@ 2022-10-13  6:26 Dominic Rath
  2022-10-13  6:26 ` [PATCH 1/3] dt-bindings: PCI: cdns: Add PHY latency properties Dominic Rath
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dominic Rath @ 2022-10-13  6:26 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, tjoseph
  Cc: bhelgaas, lpieralisi, nm, vigneshr, devicetree, linux-kernel,
	linux-pci, Dominic Rath

Hello Everyone,

this series adds PHY latency properties to the Cadence PCIe
driver to improve PTM accuracy, and configures the necessary
values for TI's AM64x processors.

These latencies are implementation specific and need to be
configured in the PCIe IP core's registers to allow the
PCIe controller to exactly determine the RX/TX timestamps for
PCIe PTM messages.

TI doesn't document these values in the datasheet or reference
manual as of now, but provided the necessary data via TI's E2E
forums (see PATCH 3/3).

Best Regards,

Dominic

Alexander Bahle (3):
  dt-bindings: PCI: cdns: Add PHY latency properties
  PCI: cadence: Use DT bindings to set PHY latencies
  arm64: dts: ti: k3-am64-main: Add latency DT binding

 .../bindings/pci/cdns,cdns-pcie-ep.yaml       |  2 +
 .../bindings/pci/cdns,cdns-pcie-host.yaml     |  2 +
 .../devicetree/bindings/pci/cdns-pcie-ep.yaml | 20 +++++
 .../bindings/pci/cdns-pcie-host.yaml          | 20 +++++
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      |  4 +
 .../pci/controller/cadence/pcie-cadence-ep.c  |  2 +
 .../controller/cadence/pcie-cadence-host.c    |  1 +
 drivers/pci/controller/cadence/pcie-cadence.c | 81 +++++++++++++++++++
 drivers/pci/controller/cadence/pcie-cadence.h | 23 ++++++
 9 files changed, 155 insertions(+)


base-commit: a185a0995518a3355c8623c95c36aaaae489de10
-- 
2.36.0


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

end of thread, other threads:[~2023-03-21  8:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13  6:26 [PATCH 0/3] Cadence PCIe PHY latency for PTM Dominic Rath
2022-10-13  6:26 ` [PATCH 1/3] dt-bindings: PCI: cdns: Add PHY latency properties Dominic Rath
2022-10-13 11:22   ` Rob Herring
2022-10-13 19:12   ` Rob Herring
2022-10-13 19:32     ` Bjorn Helgaas
2022-10-14 13:41     ` Dominic Rath
2022-11-08  8:02       ` Vignesh Raghavendra
2023-03-21  8:42         ` Christian Gmeiner
2022-10-13  6:26 ` [PATCH 2/3] PCI: cadence: Use DT bindings to set PHY latencies Dominic Rath
2022-10-13 13:59   ` Bjorn Helgaas
2022-10-13  6:26 ` [PATCH 3/3] arm64: dts: ti: k3-am64-main: Add latency DT binding Dominic Rath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).