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 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html