Thread (54 messages) 54 messages, 9 authors, 2014-01-16
STALE4550d

[PATCH 09/12] pcie: SPEAr13xx: Add designware pcie support

From: arnd@arndb.de (Arnd Bergmann)
Date: 2013-12-14 19:01:55
Also in: linux-pci

On Friday 13 December 2013, Jingoo Han wrote:
Arnd, do you mean the following?

1. Implement Spear PCIe PHY driver using General PHY framework.
  ./drivers/phy/phy-spear13xx-pcie.c

2. Call General PHY APIs
  ./drivers/pci/host/pcie-spear13xx.c
  #include <linux/phy/phy.h>

  pp->phy = devm_phy_get(pp->dev, ...);

  phy_power_on(pp->phy);

  phy_power_off(pp->phy);
Yes, exactly.

Of course if the phy driver is licensed from some other company such as
designware as well, or if it can handle more than just pcie, the
implementation of the phy driver and the binding should reflect that.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help