Skip to content

Commit bc2ba6e

Browse files
Prudhvi Yarlagaddavinodkoul
authored andcommitted
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>
1 parent d877f88 commit bc2ba6e

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

drivers/phy/qualcomm/phy-qcom-qmp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858

5959
#include "phy-qcom-qmp-pcs-v8.h"
6060

61+
#include "phy-qcom-qmp-pcs-v8_50.h"
62+
6163
/* QPHY_SW_RESET bit */
6264
#define SW_RESET BIT(0)
6365
/* QPHY_POWER_DOWN_CONTROL */

0 commit comments

Comments
 (0)