phy: cadence-torrent: Add support for PHY multilink configuration
authorSwapnil Jakhade <sjakhade@cadence.com>
Thu, 17 Sep 2020 07:30:38 +0000 (09:30 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 18 Sep 2020 05:17:19 +0000 (10:47 +0530)
commit6bcf3cb300376b73abcb2d241ffce4e909741ac5
tree85cae65f66cbc930df049c94501be12a23741f1c
parent51862859fb7483421a6f498ffd364f06a51a57bf
phy: cadence-torrent: Add support for PHY multilink configuration

Added support for multilink configuration of Torrent PHY. Currently,
maximum two links are supported. In case of multilink configuration,
PHY needs to be configured for both the protocols simultaneously at
the beginning as per the requirement of Torrent PHY.
Also, register sequences for PCIe + SGMII/QSGMII Unique SSC PHY multilink
configurations are added.

Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com>
Link: https://lore.kernel.org/r/1600327846-9733-6-git-send-email-sjakhade@cadence.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-torrent.c