mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 09:22:08 +00:00

Define several registers to be used by PCIe QMP PHYs on v6 platforms. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20241021-sar2130p-phys-v2-5-d883acf170f7@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
21 lines
654 B
C
21 lines
654 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2023, Linaro Limited
|
|
*/
|
|
|
|
#ifndef QCOM_PHY_QMP_PCS_PCIE_V6_H_
|
|
#define QCOM_PHY_QMP_PCS_PCIE_V6_H_
|
|
|
|
/* Only for QMP V6 PHY - PCIE have different offsets than V5 */
|
|
#define QPHY_PCIE_V6_PCS_PCIE_EQ_CONFIG1 0xa4
|
|
#define QPHY_PCIE_V6_PCS_PCIE_RXEQEVAL_TIME 0xf4
|
|
#define QPHY_PCIE_V6_PCS_PCIE_POWER_STATE_CONFIG2 0x0c
|
|
#define QPHY_PCIE_V6_PCS_PCIE_POWER_STATE_CONFIG4 0x14
|
|
#define QPHY_PCIE_V6_PCS_PCIE_ENDPOINT_REFCLK_DRIVE 0x20
|
|
#define QPHY_PCIE_V6_PCS_PCIE_OSC_DTCT_ACTIONS 0x94
|
|
|
|
#define QPHY_PCIE_V6_PCS_LANE1_INSIG_SW_CTRL2 0x024
|
|
#define QPHY_PCIE_V6_PCS_LANE1_INSIG_MX_CTRL2 0x028
|
|
|
|
#endif
|