linux/drivers/phy/ti
Siddharth Vadapalli b4b32423b6 phy: ti: phy-j721e-wiz: fix usxgmii configuration
Commit b64a85fb8f ("phy: ti: phy-j721e-wiz.c: Add usxgmii support in
wiz driver") added support for USXGMII mode. In doing so, P0_REFCLK_SEL
was set to "pcs_mac_clk_divx1_ln_0" (0x3) and P0_STANDARD_MODE was set to
LANE_MODE_GEN1, which results in a data rate of 5.15625 Gbps. However,
since the USXGMII mode can support up to 10.3125 Gbps data rate, the
aforementioned fields should be set to "pcs_mac_clk_divx0_ln_0" (0x2) and
LANE_MODE_GEN2 respectively. The signal corresponding to the USXGMII lane
of the SERDES has been measured as 5 Gbps without the change and 10 Gbps
with the change. Hence, fix the configuration accordingly to support
USXGMII up to 10G.

Fixes: b64a85fb8f ("phy: ti: phy-j721e-wiz.c: Add usxgmii support in wiz driver")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241012053937.3596885-1-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-10-17 20:23:02 +05:30
..
Kconfig phy: ti: fix Kconfig warning and operator precedence 2023-01-11 13:24:33 +05:30
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: ti: am654-serdes: Use scoped device node handling to simplify error paths 2024-08-30 13:26:37 +05:30
phy-da8xx-usb.c phy: ti: phy-da8xx-usb: Add runtime PM support 2024-06-04 15:44:11 +02:00
phy-dm816x-usb.c phy: Drop unnecessary of_match_device() calls 2023-10-13 15:47:53 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: Simplify with dev_err_probe() 2024-08-30 13:26:37 +05:30
phy-j721e-wiz.c phy: ti: phy-j721e-wiz: fix usxgmii configuration 2024-10-17 20:23:02 +05:30
phy-omap-control.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-omap-usb2.c phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-01-30 22:41:11 +05:30
phy-ti-pipe3.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30