Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: qcom-qmp: pcs: Add v8.50 register offsets

The new Glymur SoC bumps up the HW version of QMP phy to v8.50 for PCIE
g5x4. Add the new PCS offsets in a dedicated header file.

Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
Signed-off-by: Wenbin Yao <wenbin.yao@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
Link: https://patch.msgid.link/20251103-glymur-pcie-upstream-v6-2-18a5e0a538dc@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Prudhvi Yarlagadda and committed by
Vinod Koul
bc2ba6e3 d877f881

+15
+13
drivers/phy/qualcomm/phy-qcom-qmp-pcs-v8_50.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 + */ 5 + 6 + #ifndef QCOM_PHY_QMP_PCS_V8_50_H_ 7 + #define QCOM_PHY_QMP_PCS_V8_50_H_ 8 + 9 + #define QPHY_V8_50_PCS_STATUS1 0x010 10 + #define QPHY_V8_50_PCS_START_CONTROL 0x05c 11 + #define QPHY_V8_50_PCS_POWER_DOWN_CONTROL 0x64 12 + 13 + #endif
+2
drivers/phy/qualcomm/phy-qcom-qmp.h
··· 58 58 59 59 #include "phy-qcom-qmp-pcs-v8.h" 60 60 61 + #include "phy-qcom-qmp-pcs-v8_50.h" 62 + 61 63 /* QPHY_SW_RESET bit */ 62 64 #define SW_RESET BIT(0) 63 65 /* QPHY_POWER_DOWN_CONTROL */