Skip to content

PHY: Add support for SERDES in TI's J721E SoC

Kishon Vijay Abraham I linux-arm-kernel linux-devicetree lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest14 patches 2 repliesIn review
  2. v314 patches 3 repliesSuperseded
  3. v214 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches1 replySuperseded

Changes in v4 from the cover letter

*) Fix Rob's comments on dt bindings

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14dt-bindings: phy: Sierra: Add bindings for Sierra in TI's J721EDocumentation/devicetree/bindings/phy/phy-cadence-sierra.txt+8 -50 replies
2/14phy: cadence: Sierra: Make "phy_clk" and "sierra_apb" optional resourcesdrivers/phy/cadence/phy-cadence-sierra.c+2 -20 replies
3/14phy: cadence: Sierra: Use "regmap" for read and write to Sierra registersdrivers/phy/cadence/phy-cadence-sierra.c+237 -540 replies
4/14phy: cadence: Sierra: Add support for SERDES_16G used in J721E SoCdrivers/phy/cadence/phy-cadence-sierra.c+14 -00 replies
5/14phy: cadence: Sierra: Make cdns_sierra_phy_init() as phy_opsdrivers/phy/cadence/phy-cadence-sierra.c+9 -60 replies
6/14phy: cadence: Sierra: Modify register macro names to be in sync with Sierra user guidedrivers/phy/cadence/phy-cadence-sierra.c+84 -830 replies
7/14phy: cadence: Sierra: Configure both lane cdb and common cdb registers for external SSCdrivers/phy/cadence/phy-cadence-sierra.c+254 -960 replies
8/14phy: cadence: Sierra: Get reset control "array" for each linkdrivers/phy/cadence/phy-cadence-sierra.c+1 -10 replies
9/14phy: cadence: Sierra: Check for PLL lock during PHY power ondrivers/phy/cadence/phy-cadence-sierra.c+32 -10 replies
10/14phy: cadence: Sierra: Change MAX_LANES of Sierra to 16drivers/phy/cadence/phy-cadence-sierra.c+21 -10 replies
11/14phy: cadence: Sierra: Set cmn_refclk_dig_div/cmn_refclk1_dig_div frequency to 25MHzdrivers/phy/cadence/phy-cadence-sierra.c+21 -00 replies
12/14phy: cadence: Sierra: Use correct dev pointer in cdns_sierra_phy_remove()drivers/phy/cadence/phy-cadence-sierra.c+1 -10 replies
13/14dt-bindings: phy: Document WIZ (SERDES wrapper) bindingsDocumentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml+204 -06 replies
14/14phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoCdrivers/phy/ti/Kconfig drivers/phy/ti/Makefile drivers/phy/ti/phy-j721e-wiz.c+914 -00 replies

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/14R-b
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14R-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/14] PHY: Add support for SERDES in TI's J721E SoC

TI's J721E SoC uses Cadence Sierra SERDES for USB, PCIe and SGMII. TI has a wrapper named WIZ to control input signals to Sierra and Torrent SERDES.

This patch series:
1) Add support to WIZ module present in TI's J721E SoC
2) Adapt Cadence Sierra PHY driver to be used for J721E SoC

Changes from v3:
*) Fix Rob's comments on dt bindings

        -> Add properties to be added in WIZ child nodes to binding
        -> Use '-' rather than '_' in node names

Changes from v2:
*) Deprecate "phy_clk" binding
*) Fix Rob's comment on dt bindings

        -> Include BSD-2-Clause license identifier
        -> drop "oneOf" and "items" for compatible
        -> Fixed "num-lanes" to include only scalar keywords
        -> Change to 32-bit address space for child nodes

*) Rename cmn_refclk/cmn_refclk1 to cmn_refclk_dig_div/
cmn_refclk1_dig_div

Changes from v1:
*) Change the dt binding Documentation of WIZ wrapper to YAML format *) Fix an issue in Sierra while doimg rmmod

The series has also been pushed to
https://github.com/kishon/linux-wip.git j7_serdes_v4

Anil Varughese (1):
phy: cadence: Sierra: Configure both lane cdb and common cdb registers
for external SSC

Kishon Vijay Abraham I (13):
dt-bindings: phy: Sierra: Add bindings for Sierra in TI's J721E
phy: cadence: Sierra: Make "phy_clk" and "sierra_apb" optional
resources
phy: cadence: Sierra: Use "regmap" for read and write to Sierra
registers
phy: cadence: Sierra: Add support for SERDES_16G used in J721E SoC
phy: cadence: Sierra: Make cdns_sierra_phy_init() as phy_ops
phy: cadence: Sierra: Modify register macro names to be in sync with
Sierra user guide
phy: cadence: Sierra: Get reset control "array" for each link
phy: cadence: Sierra: Check for PLL lock during PHY power on
phy: cadence: Sierra: Change MAX_LANES of Sierra to 16
phy: cadence: Sierra: Set cmn_refclk_dig_div/cmn_refclk1_dig_div
frequency to 25MHz
phy: cadence: Sierra: Use correct dev pointer in
cdns_sierra_phy_remove()
dt-bindings: phy: Document WIZ (SERDES wrapper) bindings
phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC

 .../bindings/phy/phy-cadence-sierra.txt       |  13 +-
 .../bindings/phy/ti,phy-j721e-wiz.yaml        | 204 ++++
 drivers/phy/cadence/phy-cadence-sierra.c      | 699 +++++++++++---
 drivers/phy/ti/Kconfig                        |  15 +
 drivers/phy/ti/Makefile                       |   1 +
 drivers/phy/ti/phy-j721e-wiz.c                | 898 ++++++++++++++++++
 6 files changed, 1691 insertions(+), 139 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
 create mode 100644 drivers/phy/ti/phy-j721e-wiz.c
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel