phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC

Add support for WIZ module present in TI's J721E SoC. WIZ is a SERDES
wrapper used to configure some of the input signals to the SERDES. It is
used with both Sierra(16G) and Torrent(10G) SERDES. This driver configures
three clock selects (pll0, pll1, dig) and supports resets for each of the
lanes.

This is an adaptation of the linux driver.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210721155849.20994-10-kishon@ti.com
This commit is contained in:
Jean-Jacques Hiblot 2021-07-21 21:28:38 +05:30 committed by Lokesh Vutla
parent 193c735162
commit 1a83f9931e
5 changed files with 1168 additions and 0 deletions

View File

@ -283,5 +283,6 @@ config PHY_IMX8MQ_USB
source "drivers/phy/rockchip/Kconfig"
source "drivers/phy/cadence/Kconfig"
source "drivers/phy/ti/Kconfig"
endmenu

View File

@ -34,3 +34,4 @@ obj-$(CONFIG_PHY_DA8XX_USB) += phy-da8xx-usb.o
obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
obj-$(CONFIG_PHY_IMX8MQ_USB) += phy-imx8mq-usb.o
obj-y += cadence/
obj-y += ti/

9
drivers/phy/ti/Kconfig Normal file
View File

@ -0,0 +1,9 @@
config PHY_J721E_WIZ
tristate "TI J721E WIZ (SERDES Wrapper) support"
depends on ARCH_K3
help
This option enables support for WIZ module present in TI's J721E
SoC. WIZ is a serdes wrapper used to configure some of the input
signals to the SERDES (Sierra/Torrent). This driver configures
three clock selects (pll0, pll1, dig) and resets for each of the
lanes.

1
drivers/phy/ti/Makefile Normal file
View File

@ -0,0 +1 @@
obj-$(CONFIG_$(SPL_)PHY_J721E_WIZ) += phy-j721e-wiz.o

File diff suppressed because it is too large Load Diff