[PATCH v4 07/10] phy: qualcomm: qmp-combo: Update QMP PHY with Glymur settings
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Wed Oct 1 17:58:00 PDT 2025
On Wed, Oct 01, 2025 at 03:05:31PM -0700, Wesley Cheng wrote:
> 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 at oss.qualcomm.com>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 312 ++++++++-
> .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v8.h | 17 +
> .../phy/qualcomm/phy-qcom-qmp-pcs-misc-v8.h | 12 +
> .../qualcomm/phy-qcom-qmp-qserdes-lalb-v8.h | 639 ++++++++++++++++++
> .../phy/qualcomm/phy-qcom-qmp-usb43-pcs-v8.h | 33 +
> .../phy-qcom-qmp-usb43-qserdes-com-v8.h | 224 ++++++
> drivers/phy/qualcomm/phy-qcom-qmp.h | 4 +
> 7 files changed, 1240 insertions(+), 1 deletion(-)
> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v8.h
> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v8.h
> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-lalb-v8.h
> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-usb43-pcs-v8.h
> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-usb43-qserdes-com-v8.h
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.h b/drivers/phy/qualcomm/phy-qcom-qmp.h
> index da2a7ad2cdcc..7211c71fe68c 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp.h
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp.h
> @@ -32,7 +32,9 @@
> #include "phy-qcom-qmp-qserdes-txrx-v7.h"
>
> #include "phy-qcom-qmp-qserdes-com-v8.h"
> +#include "phy-qcom-qmp-usb43-qserdes-com-v8.h"
> #include "phy-qcom-qmp-qserdes-txrx-v8.h"
> +#include "phy-qcom-qmp-qserdes-lalb-v8.h"
>
> #include "phy-qcom-qmp-qserdes-pll.h"
>
> @@ -60,6 +62,8 @@
>
> #include "phy-qcom-qmp-pcs-v8_50.h"
>
> +#include "phy-qcom-qmp-usb43-pcs-v8.h"
Let's not include USB-specific header into the generic header.
With that fixed:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
> +
> /* QPHY_SW_RESET bit */
> #define SW_RESET BIT(0)
> /* QPHY_POWER_DOWN_CONTROL */
>
> --
> linux-phy mailing list
> linux-phy at lists.infradead.org
> https://lists.infradead.org/mailman/listinfo/linux-phy
--
With best wishes
Dmitry
More information about the linux-phy
mailing list