1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <device/mmio.h> 4 5 /* USB3PHY_PCIE_USB3_PCS_PCS_STATUS bit */ 6 #define USB3_PCS_PHYSTATUS BIT(6) 7 8 struct qmp_phy_init_tbl { 9 u32 *address; 10 u32 val; 11 }; 12 13 struct ss_usb_phy_reg { 14 /* Init sequence for QMP PHY blocks - serdes, tx, rx, pcs */ 15 const struct qmp_phy_init_tbl *serdes_tbl; 16 int serdes_tbl_num; 17 18 const struct qmp_phy_init_tbl *tx_tbl; 19 int tx_tbl_num; 20 21 const struct qmp_phy_init_tbl *rx_tbl; 22 int rx_tbl_num; 23 24 const struct qmp_phy_init_tbl *pcs_tbl; 25 int pcs_tbl_num; 26 27 struct usb3_phy_pcs_reg_layout *qmp_pcs_reg; 28 }; 29 30 void ss_qmp_phy_init(void); 31