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

From: Swapnil Jakhade
Date: Thu Aug 27 2020 - 09:48:36 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.

This patch series is dependent on PHY attributes patch series [1].

[1] https://lkml.org/lkml/2020/8/24/1586

Version History:

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 | 85 +++++++---
drivers/phy/cadence/phy-cadence-torrent.c | 146 ++++++++++--------
include/dt-bindings/phy/phy-cadence-torrent.h | 13 ++
3 files changed, 164 insertions(+), 80 deletions(-)
create mode 100644 include/dt-bindings/phy/phy-cadence-torrent.h

--
2.26.1