diff options
author | Swapnil Jakhade <sjakhade@cadence.com> | 2021-12-23 07:01:35 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-27 16:35:09 +0530 |
commit | 8a1b82d744a97949f13acee6644b19eb3b5a4102 (patch) | |
tree | 9423dfbb8ff071cc87dadc9f0f95255c5c56ff4e /net/ceph | |
parent | 6b81f05a8755a63d1acbcc1604f1e0f4534d36d8 (diff) | |
download | linux-8a1b82d744a97949f13acee6644b19eb3b5a4102.tar.bz2 |
phy: cadence: Sierra: Add PCIe + QSGMII PHY multilink configuration
Add register sequences for PCIe + QSGMII PHY multilink configuration.
PHY configuration for multi-link operation is done in two steps.
e.g. Consider a case for a 4 lane PHY with PCIe using 2 lanes and QSGMII
other 2 lanes. Sierra PHY has 2 PLLs, viz. PLLLC and PLLLC1. So in this
case, PLLLC is used for PCIe and PLLLC1 is used for QSGMII.
PHY is configured in two steps as described below.
[1] For first step, the register values are selected as
[TYPE_PCIE][TYPE_QSGMII][ssc].
This will configure PHY registers associated for PCIe involving PLLLC
registers and registers for first 2 lanes of PHY.
[2] In second step, the register values are selected as
[TYPE_QSGMII][TYPE_PCIE][ssc].
This will configure PHY registers associated for QSGMII involving
PLLLC1 registers and registers for other 2 lanes of PHY.
This completes the PHY configuration for multilink operation.
Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Link: https://lore.kernel.org/r/20211223060137.9252-14-sjakhade@cadence.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions