PCI: dwc: dra7xx: Invoke phy_set_mode() API to set PHY mode to PHY_MODE_PCIE
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 24 Jan 2019 10:45:37 +0000 (16:15 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 31 Jan 2019 17:21:17 +0000 (17:21 +0000)
commit65c839a134e6afca13822eeb6e22abea37f86e76
tree1a365945a562c0d22cac4719eb24768b37f9b7e7
parentc232c0df9610bf2055ff002ecafb4915f0aff528
PCI: dwc: dra7xx: Invoke phy_set_mode() API to set PHY mode to PHY_MODE_PCIE

Certain PHYs used with PCIe controller can also be used with other
controllers such as USB or SATA. In order to configure the PHY
to work with PCIe controller, invoke phy_set_mode() API with mode
set to PHY_MODE_PCIE.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-dra7xx.c