]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommbe: ipq9574: align USXGMII bring-up with SSDK 24033/head
authorKenneth Kasilag <kenneth@kasilag.me>
Thu, 2 Jul 2026 11:32:51 +0000 (11:32 +0000)
committerRobert Marko <robimarko@gmail.com>
Mon, 6 Jul 2026 09:53:43 +0000 (11:53 +0200)
commitc16ef4f318cee471fa604096194d2ffef1d91332
treeae110e3222630de44f22c5c9a37f402a50715ade
parentd9a98ed59de0d2c135a7396081499dcf4797298b
qualcommbe: ipq9574: align USXGMII bring-up with SSDK

Align the USXGMII configuration sequence with the vendor SSDK:

- Reset the PCS PLL by programming the whole reset register with the
  documented assert and release values and 100ms holds, instead of
  toggling a single bit for 1ms and relying on the power-on state of
  the remaining analog enables.

- Keep the uniphy port clocks disabled across the reconfiguration and
  re-enable them after calibration, before releasing the XPCS reset.

- Select in-band link detection explicitly rather than the SFP
  loss-of-signal input, which does not exist on non-SFP ports.

- Wait for the 10GBASE-R receiver to link before enabling the USXGMII
  adaptation layer. Best-effort, since the PHY SerDes may only come
  up later.

Other interface modes keep the previous behaviour.

Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me>
Link: https://github.com/openwrt/openwrt/pull/24033
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommbe/patches-6.18/0361-net-pcs-qcom-ipq9574-align-USXGMII-bring-up-with-SSDK.patch [new file with mode: 0644]