public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 00/20] TI/Cadence: Add Sierra/Torrent SERDES driver
Date: Tue, 4 May 2021 16:11:35 +0530	[thread overview]
Message-ID: <20210504104155.19222-1-kishon@ti.com> (raw)

Patch series adds Sierra and Torrent SERDES driver for the SERDES
used in TI's K3 platforms. This SERDES is used by USB3, PCIe and
Ethernet. This series is mostly an adaptation of drivers added in
upstream Linux kernel.

Changes from v2:
1) Re-worked "Handle gracefully NULL pointers" to fix Simons comments
2) Ported the part that allows creating clocks without explicit
sub-nodes in DT from the upstream linux kernel.

Changes from v1:
1) Fixed string comparison strncmp() to remove "=="
2) Added a test for node name comparison to ignore unit address
   in test/dm
3) Added better commit message in "drivers: reset: Handle gracefully
   NULL pointers"

Alan Douglas (1):
  phy: cadence: Add driver for Sierra PHY

Aswath Govindraju (7):
  dt-bindings: phy: Add definitions for additional phy types
  phy: cadence: Add driver for Torrent SERDES
  board: ti: j721e: Add support for probing and configuring Torrent
    serdes on J7200
  arm: dts: k3-j7200-main: Add DT node for torrent serdes
  arm: dts: k3-j7200-common-proc-board: Enable SERDES DT
  arm: dts: k3-j7200-common-proc-board-u-boot: Add u-boot tags for
    torrent serdes
  configs: j7200_evm_a72_defconfig: Add config for torrent serdes and
    common clock framework

Jean-Jacques Hiblot (2):
  phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC
  configs: j721e_evm_a72: Enable the drivers required for the USB3
    support

Kishon Vijay Abraham I (10):
  dm: core: Add helper to compare node names
  dm: test: Add test case to check node name ignoring unit address
  drivers: reset: Handle gracefully NULL pointers
  dt-bindings: phy: Add defines for AM64 SERDES Wrapper
  dt-bindings: phy: cadence-torrent: Add defines for refclk driver
  dt-bindings: ti-serdes-mux: Add defines for AM64 SoC
  usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name
  ARM: dts: k3-j721e: Add the entries required for USB3 support on USB0
  env: ti: j721e-evm: Add env variable to power on & reset QSGMII PHY in
    J7200 EVM
  configs: j7200_evm_a72: Enhance bootcmd to configure ethernet PHY

 .../k3-j7200-common-proc-board-u-boot.dtsi    |   12 +
 arch/arm/dts/k3-j7200-common-proc-board.dts   |   23 +
 arch/arm/dts/k3-j7200-main.dtsi               |   63 +
 .../k3-j721e-common-proc-board-u-boot.dtsi    |   19 +-
 board/ti/j721e/evm.c                          |   34 +-
 configs/j7200_evm_a72_defconfig               |    9 +-
 configs/j721e_evm_a72_defconfig               |    6 +
 drivers/core/ofnode.c                         |   13 +
 drivers/phy/Kconfig                           |    3 +
 drivers/phy/Makefile                          |    2 +
 drivers/phy/cadence/Kconfig                   |   11 +
 drivers/phy/cadence/Makefile                  |    2 +
 drivers/phy/cadence/phy-cadence-sierra.c      |  757 +++++
 drivers/phy/cadence/phy-cadence-torrent.c     | 2468 +++++++++++++++++
 drivers/phy/ti/Kconfig                        |    9 +
 drivers/phy/ti/Makefile                       |    1 +
 drivers/phy/ti/phy-j721e-wiz.c                | 1154 ++++++++
 drivers/reset/reset-uclass.c                  |   35 +-
 drivers/usb/cdns3/cdns3-ti.c                  |    2 +-
 include/configs/j721e_evm.h                   |   16 +-
 include/dm/ofnode.h                           |   10 +
 include/dt-bindings/mux/ti-serdes.h           |    5 +
 include/dt-bindings/phy/phy-cadence.h         |   20 +
 include/dt-bindings/phy/phy-ti.h              |   21 +
 include/dt-bindings/phy/phy.h                 |    1 +
 test/dm/core.c                                |   14 +
 26 files changed, 4700 insertions(+), 10 deletions(-)
 create mode 100644 drivers/phy/cadence/Kconfig
 create mode 100644 drivers/phy/cadence/Makefile
 create mode 100644 drivers/phy/cadence/phy-cadence-sierra.c
 create mode 100644 drivers/phy/cadence/phy-cadence-torrent.c
 create mode 100644 drivers/phy/ti/Kconfig
 create mode 100644 drivers/phy/ti/Makefile
 create mode 100644 drivers/phy/ti/phy-j721e-wiz.c
 create mode 100644 include/dt-bindings/phy/phy-cadence.h
 create mode 100644 include/dt-bindings/phy/phy-ti.h

-- 
2.17.1

             reply	other threads:[~2021-05-04 10:41 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04 10:41 Kishon Vijay Abraham I [this message]
2021-05-04 10:41 ` [PATCH v3 01/20] dm: core: Add helper to compare node names Kishon Vijay Abraham I
2021-05-04 16:58   ` Simon Glass
2021-05-04 10:41 ` [PATCH v3 02/20] dm: test: Add test case to check node name ignoring unit address Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 03/20] drivers: reset: Handle gracefully NULL pointers Kishon Vijay Abraham I
2021-05-04 16:58   ` Simon Glass
2021-05-05  4:25     ` Kishon Vijay Abraham I
2021-05-05 23:37       ` Simon Glass
2021-05-06 13:09         ` Kishon Vijay Abraham I
2021-05-06 15:06           ` Simon Glass
2021-05-04 10:41 ` [PATCH v3 04/20] dt-bindings: phy: Add definitions for additional phy types Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 05/20] dt-bindings: phy: Add defines for AM64 SERDES Wrapper Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 06/20] dt-bindings: phy: cadence-torrent: Add defines for refclk driver Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 07/20] dt-bindings: ti-serdes-mux: Add defines for AM64 SoC Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 08/20] phy: cadence: Add driver for Sierra PHY Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 09/20] phy: cadence: Add driver for Torrent SERDES Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 10/20] phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 11/20] usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 12/20] board: ti: j721e: Add support for probing and configuring Torrent serdes on J7200 Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 13/20] ARM: dts: k3-j721e: Add the entries required for USB3 support on USB0 Kishon Vijay Abraham I
2021-05-07 17:14   ` Tom Rini
2021-07-09 14:06     ` Kishon Vijay Abraham I
2021-07-09 14:16       ` Tom Rini
2021-05-04 10:41 ` [PATCH v3 14/20] arm: dts: k3-j7200-main: Add DT node for torrent serdes Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 15/20] arm: dts: k3-j7200-common-proc-board: Enable SERDES DT Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 16/20] arm: dts: k3-j7200-common-proc-board-u-boot: Add u-boot tags for torrent serdes Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 17/20] configs: j721e_evm_a72: Enable the drivers required for the USB3 support Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 18/20] configs: j7200_evm_a72_defconfig: Add config for torrent serdes and common clock framework Kishon Vijay Abraham I
2021-05-04 10:41 ` [PATCH v3 19/20] env: ti: j721e-evm: Add env variable to power on & reset QSGMII PHY in J7200 EVM Kishon Vijay Abraham I
2021-05-07 17:14   ` Tom Rini
2021-05-11 13:58     ` Kishon Vijay Abraham I
2021-05-11 14:33       ` Tom Rini
2021-07-09 14:32         ` Kishon Vijay Abraham I
2021-07-09 14:36           ` Tom Rini
2021-05-04 10:41 ` [PATCH v3 20/20] configs: j7200_evm_a72: Enhance bootcmd to configure ethernet PHY Kishon Vijay Abraham I
2021-05-07 17:16 ` [PATCH v3 00/20] TI/Cadence: Add Sierra/Torrent SERDES driver Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210504104155.19222-1-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox