linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pci-exynos.c phy_init() usage
@ 2022-06-24 17:35 Bjorn Helgaas
  2022-06-24 18:07 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2022-06-24 17:35 UTC (permalink / raw)
  To: Jaehoon Chung, Jingoo Han
  Cc: Krzysztof Kozlowski, Krzysztof Wilczyński, Alim Akhtar,
	linux-pci, linux-arm-kernel, linux-samsung-soc

In exynos_pcie_host_init() [1], we call:

  phy_reset(ep->phy);
  phy_power_on(ep->phy);
  phy_init(ep->phy);

The phy_init() function comment [2] says it must be called before
phy_power_on().  Is exynos doing this backwards?

Bjorn

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pci-exynos.c?id=v5.19-rc1#n252
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/phy/phy-core.c?id=v5.19-rc1#n233

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

end of thread, other threads:[~2022-06-28 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 17:35 pci-exynos.c phy_init() usage Bjorn Helgaas
2022-06-24 18:07 ` Krzysztof Kozlowski
2022-06-27 10:30   ` Marek Szyprowski
2022-06-27 10:47     ` Krzysztof Kozlowski
2022-06-28  8:13       ` Marek Szyprowski
2022-06-28  8:27         ` Krzysztof Kozlowski
2022-06-28 10:59           ` Bjorn Helgaas

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