imx.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] PCI: imx6: Add a method to handle CLKREQ# override
@ 2025-08-20  8:10 Richard Zhu
  2025-08-20  8:10 ` [PATCH v1 1/2] PCI: dwc: Invoke post_init in dw_pcie_resume_noirq() Richard Zhu
  2025-08-20  8:10 ` [PATCH v1 2/2] PCI: imx6: Add a method to handle CLKREQ# override active low Richard Zhu
  0 siblings, 2 replies; 19+ messages in thread
From: Richard Zhu @ 2025-08-20  8:10 UTC (permalink / raw)
  To: frank.li, l.stach, lpieralisi, kwilczynski, mani, robh, bhelgaas,
	shawnguo, s.hauer, kernel, festevam
  Cc: linux-pci, linux-arm-kernel, imx, linux-kernel

The CLKREQ# is an open drain, active low signal that is driven low by
the card to request reference clock.

Since the reference clock may be required by i.MX PCIe host too. To make
sure this clock is available even when the CLKREQ# isn't driven low by
the card(e.x no card connected), force CLKREQ# override active low for
i.MX PCIe host during initialization.

The CLKREQ# override can be cleared safely when supports-clkreq is
present and PCIe link is up later. Because the CLKREQ# would be driven
low by the card in this case.

[PATCH v1 1/2] PCI: dwc: Invoke post_init in dw_pcie_resume_noirq()
[PATCH v1 2/2] PCI: imx6: Add a method to handle CLKREQ# override

drivers/pci/controller/dwc/pci-imx6.c             | 35 +++++++++++++++++++++++++++++++++++
drivers/pci/controller/dwc/pcie-designware-host.c |  3 +++
2 files changed, 38 insertions(+)


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

end of thread, other threads:[~2025-09-09  7:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20  8:10 [PATCH v1 0/2] PCI: imx6: Add a method to handle CLKREQ# override Richard Zhu
2025-08-20  8:10 ` [PATCH v1 1/2] PCI: dwc: Invoke post_init in dw_pcie_resume_noirq() Richard Zhu
2025-08-20 15:06   ` Frank Li
2025-08-20 15:57   ` Bjorn Helgaas
2025-08-21  5:49     ` Hongxing Zhu
2025-08-20  8:10 ` [PATCH v1 2/2] PCI: imx6: Add a method to handle CLKREQ# override active low Richard Zhu
2025-08-20 15:13   ` Frank Li
2025-08-20 20:35   ` Bjorn Helgaas
2025-08-20 21:02     ` Frank Li
2025-08-20 21:40       ` Bjorn Helgaas
2025-08-21  6:28         ` Hongxing Zhu
2025-08-20 21:40   ` Bjorn Helgaas
2025-08-20 22:25     ` Frank Li
2025-09-08  6:06   ` Manivannan Sadhasivam
2025-09-08 15:26     ` Frank Li
2025-09-08 15:49       ` Manivannan Sadhasivam
2025-09-08 16:32         ` Frank Li
2025-09-09  7:14           ` Hongxing Zhu
2025-09-09  7:17     ` Hongxing Zhu

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).