]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: qualcomm: qmp-combo: Update QMP PHY with Glymur settings
authorWesley Cheng <wesley.cheng@oss.qualcomm.com>
Tue, 9 Dec 2025 23:09:44 +0000 (15:09 -0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 17:41:07 +0000 (23:11 +0530)
commit5b289913959b9bc93bab9e0beeab269c33c969b7
tree02fd28cb46c119e435656de075fa0a101be52216
parentc9543cca9417d83f8ca6a8ce0a5279a3fba7a02b
phy: qualcomm: qmp-combo: Update QMP PHY with Glymur settings

For SuperSpeed USB to work properly, there is a set of HW settings that
need to be programmed into the USB blocks within the QMP PHY.  Ensure that
these settings follow the latest settings mentioned in the HW programming
guide.  The QMP USB PHY on Glymur is a USB43 based PHY that will have some
new ways to define certain registers, such as the replacement of TXA/RXA
and TXB/RXB register sets.  This was replaced with the LALB register set.

There are also some PHY init updates to modify the PCS MISC register space.
Without these, the QMP PHY PLL locking fails.

Signed-off-by: Wesley Cheng <wesley.cheng@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20251209-linux-next-12825-v8-8-42133596bda0@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v8.h [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v8.h [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp-qserdes-lalb-v8.h [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp-usb43-pcs-v8.h [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp-usb43-qserdes-com-v8.h [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp.h