[PATCH v3 0/7] PHY: Prepare Cadence Torrent PHY driver to support multilink configurations

From: Swapnil Jakhade
Date: Wed Sep 16 2020 - 14:38:47 EST


Cadence Torrent PHY is a multiprotocol PHY supporting different multilink
PHY configurations including DisplayPort, PCIe, USB, SGMII, QSGMII etc.
Existing Torrent PHY driver supports only DisplayPort. This patch series
prepares Torrent PHY driver so that different multilink configurations can
be supported. It also updates DT bindings accordingly. This doesn't affect
ABI as Torrent PHY driver has never been functional, and therefore do not
exist in any active use case.

Support for different multilink configurations with register sequences for
protocols above will be added in a separate patch series.

Version History:

v3:
- Rebased on latest PHY next
- Fixed v2 review comments for DT patch 7/7

v2:
- Rebased on latest PHY next and new PHY attributes patch series [1]

Swapnil Jakhade (7):
phy: cadence-torrent: Use of_device_get_match_data() to get driver
data
phy: cadence-torrent: Use devm_platform_ioremap_resource() to get reg
addresses
phy: cadence-torrent: Enable support for multiple subnodes
phy: cadence-torrent: Add separate regmap functions for torrent and DP
phy: cadence-torrent: Check total lane count for all subnodes is
within limit
dt-bindings: phy: cadence-torrent: Add binding to specify SSC mode
dt-bindings: phy: cadence-torrent: Update Torrent PHY bindings for
generic use

.../bindings/phy/phy-cadence-torrent.yaml | 86 +++++++++--
drivers/phy/cadence/phy-cadence-torrent.c | 146 ++++++++++--------
include/dt-bindings/phy/phy-cadence-torrent.h | 13 ++
3 files changed, 166 insertions(+), 79 deletions(-)
create mode 100644 include/dt-bindings/phy/phy-cadence-torrent.h

--
2.26.1