2019-11-27 19:32:33 +05:30
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2018-01-16 16:27:05 +05:30
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QCOM_PHY_QMP_H_
|
|
|
|
#define QCOM_PHY_QMP_H_
|
|
|
|
|
2022-07-05 12:43:00 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-com.h"
|
|
|
|
#include "phy-qcom-qmp-qserdes-txrx.h"
|
|
|
|
|
2022-07-05 12:43:01 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v3.h"
|
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v3.h"
|
|
|
|
|
2022-07-05 12:43:02 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v4.h"
|
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v4.h"
|
2022-07-05 12:43:10 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v4_20.h"
|
2022-07-05 12:43:02 +03:00
|
|
|
|
2022-07-05 12:43:03 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v5.h"
|
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v5.h"
|
2022-07-05 12:43:10 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v5_20.h"
|
2022-08-09 21:23:03 -07:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v5_5nm.h"
|
2022-07-05 12:43:03 +03:00
|
|
|
|
2023-01-18 00:41:44 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v6.h"
|
2023-01-18 00:41:45 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v6.h"
|
2023-02-08 20:00:15 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v6_20.h"
|
2023-12-07 14:19:15 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v6_n4.h"
|
2025-06-17 17:08:19 +05:30
|
|
|
#include "phy-qcom-qmp-qserdes-ln-shrd-v5.h"
|
2023-02-08 20:00:16 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-ln-shrd-v6.h"
|
2023-01-18 00:41:44 +02:00
|
|
|
|
2023-12-07 14:19:14 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v7.h"
|
2023-12-07 14:19:16 +02:00
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v7.h"
|
2023-12-07 14:19:14 +02:00
|
|
|
|
2025-05-27 14:04:40 -07:00
|
|
|
#include "phy-qcom-qmp-qserdes-com-v8.h"
|
|
|
|
#include "phy-qcom-qmp-qserdes-txrx-v8.h"
|
|
|
|
|
2022-07-05 12:43:04 +03:00
|
|
|
#include "phy-qcom-qmp-qserdes-pll.h"
|
2021-05-05 12:18:31 +03:00
|
|
|
|
2022-07-05 12:43:05 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v2.h"
|
2018-01-16 16:27:05 +05:30
|
|
|
|
2022-07-05 12:43:06 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v3.h"
|
|
|
|
|
2022-07-05 12:43:07 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v4.h"
|
|
|
|
|
2022-07-05 12:43:11 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v4_20.h"
|
|
|
|
|
2022-07-05 12:43:08 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v5.h"
|
2022-07-05 12:43:11 +03:00
|
|
|
|
2022-11-10 22:22:48 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v5_20.h"
|
2022-07-05 12:43:09 +03:00
|
|
|
|
2023-02-08 20:00:11 +02:00
|
|
|
#include "phy-qcom-qmp-pcs-v6.h"
|
|
|
|
|
2024-05-27 10:20:37 +03:00
|
|
|
#include "phy-qcom-qmp-pcs-v6-n4.h"
|
|
|
|
|
2023-02-08 20:00:12 +02:00
|
|
|
#include "phy-qcom-qmp-pcs-v6_20.h"
|
|
|
|
|
2023-12-07 14:19:12 +02:00
|
|
|
#include "phy-qcom-qmp-pcs-v7.h"
|
|
|
|
|
2025-05-27 14:04:40 -07:00
|
|
|
#include "phy-qcom-qmp-pcs-v8.h"
|
|
|
|
|
2024-01-26 01:22:39 +02:00
|
|
|
/* QPHY_SW_RESET bit */
|
|
|
|
#define SW_RESET BIT(0)
|
|
|
|
/* QPHY_POWER_DOWN_CONTROL */
|
|
|
|
#define SW_PWRDN BIT(0)
|
|
|
|
#define REFCLK_DRV_DSBL BIT(1) /* PCIe */
|
|
|
|
|
|
|
|
/* QPHY_START_CONTROL bits */
|
|
|
|
#define SERDES_START BIT(0)
|
|
|
|
#define PCS_START BIT(1)
|
|
|
|
|
|
|
|
/* QPHY_PCS_STATUS bit */
|
|
|
|
#define PHYSTATUS BIT(6)
|
|
|
|
#define PHYSTATUS_4_20 BIT(7)
|
|
|
|
|
|
|
|
/* QPHY_PCS_AUTONOMOUS_MODE_CTRL register bits */
|
|
|
|
#define ARCVR_DTCT_EN BIT(0)
|
|
|
|
#define ALFPS_DTCT_EN BIT(1)
|
|
|
|
#define ARCVR_DTCT_EVENT_SEL BIT(4)
|
|
|
|
|
|
|
|
/* QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR register bits */
|
|
|
|
#define IRQ_CLEAR BIT(0)
|
|
|
|
|
|
|
|
/* QPHY_PCS_MISC_CLAMP_ENABLE register bits */
|
|
|
|
#define CLAMP_EN BIT(0) /* enables i/o clamp_n */
|
|
|
|
|
2018-01-16 16:27:05 +05:30
|
|
|
#endif
|