Lines Matching +full:0 +full:x0019
36 #define DP_PLL0 BIT(0)
39 #define TORRENT_COMMON_CDB_OFFSET 0x0
42 ((0x4000 << (block_offset)) + \
46 ((0x8000 << (block_offset)) + \
50 (0xC000 << (block_offset))
53 ((0xD000 << (block_offset)) + \
57 (0xE000 << (block_offset))
59 #define TORRENT_DPTX_PHY_OFFSET 0x0
63 * register base + 0x30a00)
65 #define PHY_AUX_CTRL 0x04
66 #define PHY_RESET 0x20
68 #define PHY_PMA_XCVR_PLLCLK_EN 0x24
69 #define PHY_PMA_XCVR_PLLCLK_EN_ACK 0x28
70 #define PHY_PMA_XCVR_POWER_STATE_REQ 0x2c
72 #define PMA_XCVR_POWER_STATE_REQ_LN_MASK 0x3FU
73 #define PHY_PMA_XCVR_POWER_STATE_ACK 0x30
74 #define PHY_PMA_CMN_READY 0x34
78 * register base + 0x500000)
80 #define CMN_SSM_BANDGAP_TMR 0x0021U
81 #define CMN_SSM_BIAS_TMR 0x0022U
82 #define CMN_PLLSM0_PLLPRE_TMR 0x002AU
83 #define CMN_PLLSM0_PLLLOCK_TMR 0x002CU
84 #define CMN_PLLSM1_PLLPRE_TMR 0x0032U
85 #define CMN_PLLSM1_PLLLOCK_TMR 0x0034U
86 #define CMN_CDIAG_CDB_PWRI_OVRD 0x0041U
87 #define CMN_CDIAG_XCVRC_PWRI_OVRD 0x0047U
88 #define CMN_CDIAG_REFCLK_OVRD 0x004CU
89 #define CMN_CDIAG_REFCLK_DRV0_CTRL 0x0050U
90 #define CMN_BGCAL_INIT_TMR 0x0064U
91 #define CMN_BGCAL_ITER_TMR 0x0065U
92 #define CMN_IBCAL_INIT_TMR 0x0074U
93 #define CMN_PLL0_VCOCAL_TCTRL 0x0082U
94 #define CMN_PLL0_VCOCAL_INIT_TMR 0x0084U
95 #define CMN_PLL0_VCOCAL_ITER_TMR 0x0085U
96 #define CMN_PLL0_VCOCAL_REFTIM_START 0x0086U
97 #define CMN_PLL0_VCOCAL_PLLCNT_START 0x0088U
98 #define CMN_PLL0_INTDIV_M0 0x0090U
99 #define CMN_PLL0_FRACDIVL_M0 0x0091U
100 #define CMN_PLL0_FRACDIVH_M0 0x0092U
101 #define CMN_PLL0_HIGH_THR_M0 0x0093U
102 #define CMN_PLL0_DSM_DIAG_M0 0x0094U
103 #define CMN_PLL0_DSM_FBH_OVRD_M0 0x0095U
104 #define CMN_PLL0_DSM_FBL_OVRD_M0 0x0096U
105 #define CMN_PLL0_SS_CTRL1_M0 0x0098U
106 #define CMN_PLL0_SS_CTRL2_M0 0x0099U
107 #define CMN_PLL0_SS_CTRL3_M0 0x009AU
108 #define CMN_PLL0_SS_CTRL4_M0 0x009BU
109 #define CMN_PLL0_LOCK_REFCNT_START 0x009CU
110 #define CMN_PLL0_LOCK_PLLCNT_START 0x009EU
111 #define CMN_PLL0_LOCK_PLLCNT_THR 0x009FU
112 #define CMN_PLL0_INTDIV_M1 0x00A0U
113 #define CMN_PLL0_FRACDIVH_M1 0x00A2U
114 #define CMN_PLL0_HIGH_THR_M1 0x00A3U
115 #define CMN_PLL0_DSM_DIAG_M1 0x00A4U
116 #define CMN_PLL0_SS_CTRL1_M1 0x00A8U
117 #define CMN_PLL0_SS_CTRL2_M1 0x00A9U
118 #define CMN_PLL0_SS_CTRL3_M1 0x00AAU
119 #define CMN_PLL0_SS_CTRL4_M1 0x00ABU
120 #define CMN_PLL1_VCOCAL_TCTRL 0x00C2U
121 #define CMN_PLL1_VCOCAL_INIT_TMR 0x00C4U
122 #define CMN_PLL1_VCOCAL_ITER_TMR 0x00C5U
123 #define CMN_PLL1_VCOCAL_REFTIM_START 0x00C6U
124 #define CMN_PLL1_VCOCAL_PLLCNT_START 0x00C8U
125 #define CMN_PLL1_INTDIV_M0 0x00D0U
126 #define CMN_PLL1_FRACDIVL_M0 0x00D1U
127 #define CMN_PLL1_FRACDIVH_M0 0x00D2U
128 #define CMN_PLL1_HIGH_THR_M0 0x00D3U
129 #define CMN_PLL1_DSM_DIAG_M0 0x00D4U
130 #define CMN_PLL1_DSM_FBH_OVRD_M0 0x00D5U
131 #define CMN_PLL1_DSM_FBL_OVRD_M0 0x00D6U
132 #define CMN_PLL1_SS_CTRL1_M0 0x00D8U
133 #define CMN_PLL1_SS_CTRL2_M0 0x00D9U
134 #define CMN_PLL1_SS_CTRL3_M0 0x00DAU
135 #define CMN_PLL1_SS_CTRL4_M0 0x00DBU
136 #define CMN_PLL1_LOCK_REFCNT_START 0x00DCU
137 #define CMN_PLL1_LOCK_PLLCNT_START 0x00DEU
138 #define CMN_PLL1_LOCK_PLLCNT_THR 0x00DFU
139 #define CMN_TXPUCAL_TUNE 0x0103U
140 #define CMN_TXPUCAL_INIT_TMR 0x0104U
141 #define CMN_TXPUCAL_ITER_TMR 0x0105U
142 #define CMN_TXPDCAL_TUNE 0x010BU
143 #define CMN_TXPDCAL_INIT_TMR 0x010CU
144 #define CMN_TXPDCAL_ITER_TMR 0x010DU
145 #define CMN_RXCAL_INIT_TMR 0x0114U
146 #define CMN_RXCAL_ITER_TMR 0x0115U
147 #define CMN_SD_CAL_INIT_TMR 0x0124U
148 #define CMN_SD_CAL_ITER_TMR 0x0125U
149 #define CMN_SD_CAL_REFTIM_START 0x0126U
150 #define CMN_SD_CAL_PLLCNT_START 0x0128U
151 #define CMN_PDIAG_PLL0_CTRL_M0 0x01A0U
152 #define CMN_PDIAG_PLL0_CLK_SEL_M0 0x01A1U
153 #define CMN_PDIAG_PLL0_CP_PADJ_M0 0x01A4U
154 #define CMN_PDIAG_PLL0_CP_IADJ_M0 0x01A5U
155 #define CMN_PDIAG_PLL0_FILT_PADJ_M0 0x01A6U
156 #define CMN_PDIAG_PLL0_CTRL_M1 0x01B0U
157 #define CMN_PDIAG_PLL0_CLK_SEL_M1 0x01B1U
158 #define CMN_PDIAG_PLL0_CP_PADJ_M1 0x01B4U
159 #define CMN_PDIAG_PLL0_CP_IADJ_M1 0x01B5U
160 #define CMN_PDIAG_PLL0_FILT_PADJ_M1 0x01B6U
161 #define CMN_PDIAG_PLL1_CTRL_M0 0x01C0U
162 #define CMN_PDIAG_PLL1_CLK_SEL_M0 0x01C1U
163 #define CMN_PDIAG_PLL1_CP_PADJ_M0 0x01C4U
164 #define CMN_PDIAG_PLL1_CP_IADJ_M0 0x01C5U
165 #define CMN_PDIAG_PLL1_FILT_PADJ_M0 0x01C6U
166 #define CMN_DIAG_BIAS_OVRD1 0x01E1U
169 #define TX_TXCC_CTRL 0x0040U
170 #define TX_TXCC_CPOST_MULT_00 0x004CU
171 #define TX_TXCC_CPOST_MULT_01 0x004DU
172 #define TX_TXCC_MGNFS_MULT_000 0x0050U
173 #define TX_TXCC_MGNFS_MULT_100 0x0054U
174 #define DRV_DIAG_TX_DRV 0x00C6U
175 #define XCVR_DIAG_PLLDRC_CTRL 0x00E5U
176 #define XCVR_DIAG_HSCLK_SEL 0x00E6U
177 #define XCVR_DIAG_HSCLK_DIV 0x00E7U
178 #define XCVR_DIAG_RXCLK_CTRL 0x00E9U
179 #define XCVR_DIAG_BIDI_CTRL 0x00EAU
180 #define XCVR_DIAG_PSC_OVRD 0x00EBU
181 #define TX_PSC_A0 0x0100U
182 #define TX_PSC_A1 0x0101U
183 #define TX_PSC_A2 0x0102U
184 #define TX_PSC_A3 0x0103U
185 #define TX_RCVDET_ST_TMR 0x0123U
186 #define TX_DIAG_ACYA 0x01E7U
187 #define TX_DIAG_ACYA_HBDC_MASK 0x0001U
190 #define RX_PSC_A0 0x0000U
191 #define RX_PSC_A1 0x0001U
192 #define RX_PSC_A2 0x0002U
193 #define RX_PSC_A3 0x0003U
194 #define RX_PSC_CAL 0x0006U
195 #define RX_SDCAL0_INIT_TMR 0x0044U
196 #define RX_SDCAL0_ITER_TMR 0x0045U
197 #define RX_SDCAL1_INIT_TMR 0x004CU
198 #define RX_SDCAL1_ITER_TMR 0x004DU
199 #define RX_CDRLF_CNFG 0x0080U
200 #define RX_CDRLF_CNFG3 0x0082U
201 #define RX_SIGDET_HL_FILT_TMR 0x0090U
202 #define RX_REE_GCSM1_CTRL 0x0108U
203 #define RX_REE_GCSM1_EQENM_PH1 0x0109U
204 #define RX_REE_GCSM1_EQENM_PH2 0x010AU
205 #define RX_REE_GCSM2_CTRL 0x0110U
206 #define RX_REE_PERGCSM_CTRL 0x0118U
207 #define RX_REE_ATTEN_THR 0x0149U
208 #define RX_REE_TAP1_CLIP 0x0171U
209 #define RX_REE_TAP2TON_CLIP 0x0172U
210 #define RX_REE_SMGM_CTRL1 0x0177U
211 #define RX_REE_SMGM_CTRL2 0x0178U
212 #define RX_DIAG_DFE_CTRL 0x01E0U
213 #define RX_DIAG_DFE_AMP_TUNE_2 0x01E2U
214 #define RX_DIAG_DFE_AMP_TUNE_3 0x01E3U
215 #define RX_DIAG_NQST_CTRL 0x01E5U
216 #define RX_DIAG_SIGDET_TUNE 0x01E8U
217 #define RX_DIAG_PI_RATE 0x01F4U
218 #define RX_DIAG_PI_CAP 0x01F5U
219 #define RX_DIAG_ACYA 0x01FFU
222 #define PHY_PIPE_CMN_CTRL1 0x0000U
223 #define PHY_PLL_CFG 0x000EU
224 #define PHY_PIPE_USB3_GEN2_PRE_CFG0 0x0020U
225 #define PHY_PIPE_USB3_GEN2_POST_CFG0 0x0022U
226 #define PHY_PIPE_USB3_GEN2_POST_CFG1 0x0023U
229 #define PHY_PCS_ISO_LINK_CTRL 0x000BU
232 #define PHY_PMA_CMN_CTRL1 0x0000U
233 #define PHY_PMA_CMN_CTRL2 0x0001U
234 #define PHY_PMA_PLL_RAW_CTRL 0x0003U
245 REG_FIELD(PHY_PLL_CFG, 0, 1);
248 REG_FIELD(PHY_PMA_CMN_CTRL1, 0, 0);
251 REG_FIELD(PHY_PMA_CMN_CTRL2, 0, 7);
254 REG_FIELD(PHY_PMA_PLL_RAW_CTRL, 0, 1);
262 static const struct reg_field phy_pipe_cmn_ctrl1_0 = REG_FIELD(PHY_PIPE_CMN_CTRL1, 0, 0);
288 static u32 cdns_torrent_refclk_driver_mux_table[] = { 1, 0 };
326 #define SSC_SHIFT 0
327 #define SSC_MASK GENMASK(2, 0)
381 POWERSTATE_A0 = 0,
464 for (i = 0; i < tbl->num_entries; i++) { in cdns_torrent_get_tbl_vals()
479 return 0; in cdns_regmap_write()
488 return 0; in cdns_regmap_read()
499 return 0; in cdns_regmap_dptx_write()
509 return 0; in cdns_regmap_dptx_read()
531 TORRENT_TX_LANE_CDB_REGMAP_CONF("0"),
538 TORRENT_RX_LANE_CDB_REGMAP_CONF("0"),
562 TORRENT_PHY_PCS_LANE_CDB_REGMAP_CONF("0"),
638 * of 0xFFFF is a placeholder for invalid combination, and will never be used.
641 /* voltage swing 0, pre-emphasis 0->3 */
642 { {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x002A,
643 .cpost_mult = 0x0000},
644 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x001F,
645 .cpost_mult = 0x0014},
646 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0012,
647 .cpost_mult = 0x0020},
648 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0000,
649 .cpost_mult = 0x002A}
652 /* voltage swing 1, pre-emphasis 0->3 */
653 { {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x001F,
654 .cpost_mult = 0x0000},
655 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0013,
656 .cpost_mult = 0x0012},
657 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0000,
658 .cpost_mult = 0x001F},
659 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
660 .cpost_mult = 0xFFFF}
663 /* voltage swing 2, pre-emphasis 0->3 */
664 { {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0013,
665 .cpost_mult = 0x0000},
666 {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0000,
667 .cpost_mult = 0x0013},
668 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
669 .cpost_mult = 0xFFFF},
670 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
671 .cpost_mult = 0xFFFF}
674 /* voltage swing 3, pre-emphasis 0->3 */
675 { {.diag_tx_drv = 0x0003, .mgnfs_mult = 0x0000,
676 .cpost_mult = 0x0000},
677 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
678 .cpost_mult = 0xFFFF},
679 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
680 .cpost_mult = 0xFFFF},
681 {.diag_tx_drv = 0xFFFF, .mgnfs_mult = 0xFFFF,
682 .cpost_mult = 0xFFFF}
716 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL1_M0, 0x0001); in cdns_torrent_dp_enable_ssc_19_2mhz()
719 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL4_M0, 0x0003); in cdns_torrent_dp_enable_ssc_19_2mhz()
720 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL1_M0, 0x0001); in cdns_torrent_dp_enable_ssc_19_2mhz()
723 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL4_M0, 0x0003); in cdns_torrent_dp_enable_ssc_19_2mhz()
737 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0119); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
738 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x4000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
739 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
740 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x00BC); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
741 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0012); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
742 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0119); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
743 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x4000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
744 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
745 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x00BC); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
746 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0012); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
748 cdns_torrent_dp_enable_ssc_19_2mhz(cdns_phy, 0x033A, 0x006A); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
754 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x01FA); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
755 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x4000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
756 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
757 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x0152); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
758 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
759 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x01FA); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
760 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x4000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
761 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
762 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x0152); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
763 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
765 cdns_torrent_dp_enable_ssc_19_2mhz(cdns_phy, 0x05DD, 0x0069); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
770 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x01C2); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
771 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
772 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
773 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x012C); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
774 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
775 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x01C2); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
776 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
777 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
778 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x012C); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
779 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
781 cdns_torrent_dp_enable_ssc_19_2mhz(cdns_phy, 0x0536, 0x0069); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
785 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x01A5); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
786 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0xE000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
787 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
788 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x011A); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
789 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
790 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x01A5); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
791 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0xE000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
792 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
793 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x011A); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
794 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
796 cdns_torrent_dp_enable_ssc_19_2mhz(cdns_phy, 0x04D7, 0x006A); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
801 cdns_torrent_phy_write(regmap, CMN_PLL0_VCOCAL_PLLCNT_START, 0x025E); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
802 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_PLLCNT_THR, 0x0005); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
803 cdns_torrent_phy_write(regmap, CMN_PLL1_VCOCAL_PLLCNT_START, 0x025E); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
804 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_PLLCNT_THR, 0x0005); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
806 cdns_torrent_phy_write(regmap, CMN_PLL0_VCOCAL_PLLCNT_START, 0x0260); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
807 cdns_torrent_phy_write(regmap, CMN_PLL1_VCOCAL_PLLCNT_START, 0x0260); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
809 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL1_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
810 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL2_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
811 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL3_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
812 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL4_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
813 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_PLLCNT_THR, 0x0003); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
814 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL1_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
815 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL2_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
816 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL3_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
817 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL4_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
818 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_PLLCNT_THR, 0x0003); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
821 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_REFCNT_START, 0x0099); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
822 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_PLLCNT_START, 0x0099); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
823 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_REFCNT_START, 0x0099); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
824 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_PLLCNT_START, 0x0099); in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
836 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL1_M0, 0x0001); in cdns_torrent_dp_enable_ssc_25mhz()
838 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL1_M0, 0x007F); in cdns_torrent_dp_enable_ssc_25mhz()
839 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL4_M0, 0x0003); in cdns_torrent_dp_enable_ssc_25mhz()
840 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL1_M0, 0x0001); in cdns_torrent_dp_enable_ssc_25mhz()
842 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL1_M0, 0x007F); in cdns_torrent_dp_enable_ssc_25mhz()
843 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL4_M0, 0x0003); in cdns_torrent_dp_enable_ssc_25mhz()
857 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x01B0); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
858 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
859 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
860 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x0120); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
861 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x01B0); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
862 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
863 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
864 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x0120); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
866 cdns_torrent_dp_enable_ssc_25mhz(cdns_phy, 0x0423); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
872 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0184); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
873 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0xCCCD); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
874 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
875 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x0104); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
876 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0184); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
877 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0xCCCD); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
878 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
879 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x0104); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
881 cdns_torrent_dp_enable_ssc_25mhz(cdns_phy, 0x03B9); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
886 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0159); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
887 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x999A); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
888 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
889 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x00E7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
890 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0159); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
891 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x999A); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
892 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
893 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x00E7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
895 cdns_torrent_dp_enable_ssc_25mhz(cdns_phy, 0x034F); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
899 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0144); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
900 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
901 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
902 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x00D8); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
903 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0144); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
904 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
905 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
906 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x00D8); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
908 cdns_torrent_dp_enable_ssc_25mhz(cdns_phy, 0x031A); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
912 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
913 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
917 CMN_PLL0_VCOCAL_PLLCNT_START, 0x0315); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
919 CMN_PLL0_LOCK_PLLCNT_THR, 0x0005); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
921 CMN_PLL1_VCOCAL_PLLCNT_START, 0x0315); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
923 CMN_PLL1_LOCK_PLLCNT_THR, 0x0005); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
926 CMN_PLL0_VCOCAL_PLLCNT_START, 0x0317); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
928 CMN_PLL1_VCOCAL_PLLCNT_START, 0x0317); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
930 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL1_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
931 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL2_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
932 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL3_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
933 cdns_torrent_phy_write(regmap, CMN_PLL0_SS_CTRL4_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
935 CMN_PLL0_LOCK_PLLCNT_THR, 0x0003); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
936 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL1_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
937 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL2_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
938 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL3_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
939 cdns_torrent_phy_write(regmap, CMN_PLL1_SS_CTRL4_M0, 0x0000); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
941 CMN_PLL1_LOCK_PLLCNT_THR, 0x0003); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
944 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_REFCNT_START, 0x00C7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
945 cdns_torrent_phy_write(regmap, CMN_PLL0_LOCK_PLLCNT_START, 0x00C7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
946 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_REFCNT_START, 0x00C7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
947 cdns_torrent_phy_write(regmap, CMN_PLL1_LOCK_PLLCNT_START, 0x00C7); in cdns_torrent_dp_pma_cmn_vco_cfg_25mhz()
962 cdns_torrent_phy_write(regmap, CMN_PLL0_DSM_FBH_OVRD_M0, 0x0022); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
965 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_PADJ_M0, 0x0028); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
966 cdns_torrent_phy_write(regmap, CMN_PLL1_DSM_FBH_OVRD_M0, 0x0022); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
967 cdns_torrent_phy_write(regmap, CMN_PLL1_DSM_FBL_OVRD_M0, 0x000C); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
975 cdns_torrent_phy_write(regmap, CMN_PLL0_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
976 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
977 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
978 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
979 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0061); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
980 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x3333); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
981 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
982 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x0042); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
983 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
986 cdns_torrent_phy_write(regmap, CMN_PLL1_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
987 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
988 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
989 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
990 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0061); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
991 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x3333); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
992 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
993 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x0042); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
994 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1001 cdns_torrent_phy_write(regmap, CMN_PLL0_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1002 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1003 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1004 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1005 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0056); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1006 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVL_M0, 0x6666); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1007 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1008 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x003A); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1009 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1012 cdns_torrent_phy_write(regmap, CMN_PLL1_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1013 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1014 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1015 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1016 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0056); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1017 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVL_M0, 0x6666); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1018 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1019 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x003A); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1020 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1026 cdns_torrent_phy_write(regmap, CMN_PLL0_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1027 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1028 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1029 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1030 cdns_torrent_phy_write(regmap, CMN_PLL0_INTDIV_M0, 0x0051); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1031 cdns_torrent_phy_write(regmap, CMN_PLL0_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1032 cdns_torrent_phy_write(regmap, CMN_PLL0_HIGH_THR_M0, 0x0036); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1033 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL0_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1036 cdns_torrent_phy_write(regmap, CMN_PLL1_DSM_DIAG_M0, 0x0004); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1037 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_PADJ_M0, 0x0509); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1038 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CP_IADJ_M0, 0x0F00); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1039 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_FILT_PADJ_M0, 0x0F08); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1040 cdns_torrent_phy_write(regmap, CMN_PLL1_INTDIV_M0, 0x0051); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1041 cdns_torrent_phy_write(regmap, CMN_PLL1_FRACDIVH_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1042 cdns_torrent_phy_write(regmap, CMN_PLL1_HIGH_THR_M0, 0x0036); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1043 cdns_torrent_phy_write(regmap, CMN_PDIAG_PLL1_CTRL_M0, 0x0002); in cdns_torrent_dp_pma_cmn_vco_cfg_100mhz()
1070 return 0; in cdns_torrent_dp_get_pll()
1103 pll_ack_val = 0; in cdns_torrent_dp_set_pll_en()
1113 0, POLL_TIMEOUT_US); in cdns_torrent_dp_set_pll_en()
1125 u32 value = 0; in cdns_torrent_dp_set_power_state()
1126 u32 mask = 0; in cdns_torrent_dp_set_power_state()
1133 value_part = 0x01U; in cdns_torrent_dp_set_power_state()
1136 value_part = 0x04U; in cdns_torrent_dp_set_power_state()
1140 value_part = 0x08U; in cdns_torrent_dp_set_power_state()
1146 for (i = 0; i < num_lanes; i++) { in cdns_torrent_dp_set_power_state()
1155 read_val, (read_val & mask) == value, 0, in cdns_torrent_dp_set_power_state()
1160 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_POWER_STATE_REQ, 0x00000000); in cdns_torrent_dp_set_power_state()
1179 0, POLL_TIMEOUT_US); in cdns_torrent_dp_run()
1206 reg & 1, 0, POLL_TIMEOUT_US); in cdns_torrent_dp_wait_pma_cmn_ready()
1213 return 0; in cdns_torrent_dp_wait_pma_cmn_ready()
1220 unsigned int clk_sel_val = 0; in cdns_torrent_dp_pma_cmn_rate()
1221 unsigned int hsclk_div_val = 0; in cdns_torrent_dp_pma_cmn_rate()
1226 clk_sel_val = 0x0f01; in cdns_torrent_dp_pma_cmn_rate()
1232 clk_sel_val = 0x0701; in cdns_torrent_dp_pma_cmn_rate()
1236 clk_sel_val = 0x0b00; in cdns_torrent_dp_pma_cmn_rate()
1241 clk_sel_val = 0x0301; in cdns_torrent_dp_pma_cmn_rate()
1242 hsclk_div_val = 0; in cdns_torrent_dp_pma_cmn_rate()
1245 clk_sel_val = 0x0200; in cdns_torrent_dp_pma_cmn_rate()
1246 hsclk_div_val = 0; in cdns_torrent_dp_pma_cmn_rate()
1259 for (i = 0; i < num_lanes; i++) in cdns_torrent_dp_pma_cmn_rate()
1293 ((read_val >> 2) & 0x01) != 0, in cdns_torrent_dp_configure_rate()
1294 0, POLL_TIMEOUT_US); in cdns_torrent_dp_configure_rate()
1302 ((read_val >> 3) & 0x01) != 0, in cdns_torrent_dp_configure_rate()
1303 0, POLL_TIMEOUT_US); in cdns_torrent_dp_configure_rate()
1331 * For PLL0 - PHY_PMA_CMN_CTRL2[0] == 1 in cdns_torrent_dp_configure_rate()
1337 (read_val & 0x01) != 0, in cdns_torrent_dp_configure_rate()
1338 0, POLL_TIMEOUT_US); in cdns_torrent_dp_configure_rate()
1346 ((read_val >> 1) & 0x01) != 0, in cdns_torrent_dp_configure_rate()
1347 0, POLL_TIMEOUT_US); in cdns_torrent_dp_configure_rate()
1399 for (i = 0; i < dp->lanes; i++) { in cdns_torrent_dp_verify_config()
1411 return 0; in cdns_torrent_dp_verify_config()
1414 /* Set power state A0 and PLL clock enable to 0 on enabled lanes. */
1426 for (i = 0; i < num_lanes; i++) { in cdns_torrent_dp_set_a0_pll()
1430 pll_clk_en &= ~(0x01U << (inst->mlane + i)); in cdns_torrent_dp_set_a0_pll()
1446 u8 pma_tx_elec_idle_mask = 0; in cdns_torrent_dp_set_lanes()
1473 for (i = 0; i < inst->num_lanes; i++) in cdns_torrent_dp_set_lanes()
1484 for (i = 0; i < inst->num_lanes; i++) in cdns_torrent_dp_set_lanes()
1487 for (i = 0; i < inst->num_lanes; i++) in cdns_torrent_dp_set_lanes()
1554 for (lane = 0; lane < dp->lanes; lane++) { in cdns_torrent_dp_set_voltages()
1558 * Write 1 to register bit TX_DIAG_ACYA[0] to freeze the in cdns_torrent_dp_set_voltages()
1566 TX_TXCC_CTRL, 0x08A4); in cdns_torrent_dp_set_voltages()
1582 * Write 0 to register bit TX_DIAG_ACYA[0] to allow the state of in cdns_torrent_dp_set_voltages()
1645 * PHY_PMA_CMN_CTRL1[0] == 1 in cdns_torrent_phy_on()
1665 return 0; in cdns_torrent_phy_on()
1675 return 0; in cdns_torrent_phy_off()
1691 cdns_torrent_dp_write(regmap, PHY_AUX_CTRL, 0x0003); /* enable AUX */ in cdns_torrent_dp_common_init()
1695 * Set lines pll clk enable to 0 in cdns_torrent_dp_common_init()
1706 val |= (0xF & lane_bits); in cdns_torrent_dp_common_init()
1736 regmap_field_write(cdns_phy->phy_reset_ctrl, 0x1); in cdns_torrent_dp_common_init()
1805 return 0; in cdns_torrent_derived_refclk_enable()
1812 regmap_field_write(derived_refclk->phy_pipe_cmn_ctrl1_0, 0); in cdns_torrent_derived_refclk_disable()
1813 regmap_field_write(derived_refclk->cmn_cdiag_refclk_ovrd_4, 0); in cdns_torrent_derived_refclk_disable()
1864 init->flags = 0; in cdns_torrent_derived_refclk_register()
1879 return 0; in cdns_torrent_derived_refclk_register()
1888 return 0; in cdns_torrent_received_refclk_enable()
1895 regmap_field_write(received_refclk->phy_pipe_cmn_ctrl1_0, 0); in cdns_torrent_received_refclk_disable()
1947 init->flags = 0; in cdns_torrent_received_refclk_register()
1962 return 0; in cdns_torrent_received_refclk_register()
1969 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_6], 0); in cdns_torrent_refclk_driver_enable()
1971 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], 0); in cdns_torrent_refclk_driver_enable()
1973 return 0; in cdns_torrent_refclk_driver_enable()
1999 return clk_mux_val_to_index(hw, cdns_torrent_refclk_driver_mux_table, 0, val); in cdns_torrent_refclk_driver_get_parent()
2042 for (i = 0; i < num_parents; i++) { in cdns_torrent_refclk_driver_register()
2064 for (i = 0; i < REFCLK_OUT_NUM_CMN_CONFIG; i++) { in cdns_torrent_refclk_driver_register()
2085 return 0; in cdns_torrent_refclk_driver_register()
2120 return 0; in cdns_torrent_dp_regfield_init()
2178 for (i = 0; i < MAX_NUM_LANES; i++) { in cdns_torrent_regfield_init()
2188 return 0; in cdns_torrent_regfield_init()
2211 return 0; in cdns_torrent_dp_regmap_init()
2226 for (i = 0; i < MAX_NUM_LANES; i++) { in cdns_torrent_regmap_init()
2291 return 0; in cdns_torrent_regmap_init()
2314 return 0; in cdns_torrent_phy_init()
2338 regmap_field_write(cdns_phy->phy_pll_cfg, reg_pairs[0].val); in cdns_torrent_phy_init()
2352 for (i = 0; i < inst->num_lanes; i++) { in cdns_torrent_phy_init()
2354 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_init()
2369 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_init()
2383 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_init()
2397 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_init()
2410 for (i = 0; i < inst->num_lanes; i++) { in cdns_torrent_phy_init()
2412 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_init()
2426 for (i = 0; i < inst->num_lanes; i++) { in cdns_torrent_phy_init()
2428 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_init()
2437 return 0; in cdns_torrent_phy_init()
2453 return 0; in cdns_torrent_noop_phy_on()
2480 phy_t1 = cdns_phy->phys[0].phy_type; in cdns_torrent_phy_configure_multilink()
2487 for (node = 0; node < cdns_phy->nsubnodes; node++) { in cdns_torrent_phy_configure_multilink()
2524 reg_pairs[0].val); in cdns_torrent_phy_configure_multilink()
2537 for (i = 0; i < num_lanes; i++) { in cdns_torrent_phy_configure_multilink()
2539 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_configure_multilink()
2553 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_configure_multilink()
2566 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_configure_multilink()
2578 for (i = 0; i < num_lanes; i++) { in cdns_torrent_phy_configure_multilink()
2580 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_configure_multilink()
2593 for (i = 0; i < num_lanes; i++) { in cdns_torrent_phy_configure_multilink()
2595 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_configure_multilink()
2615 return 0; in cdns_torrent_phy_configure_multilink()
2663 return 0; in cdns_torrent_clk_register()
2670 cdns_phy->phy_rst = devm_reset_control_get_exclusive_by_index(dev, 0); in cdns_torrent_reset()
2684 return 0; in cdns_torrent_reset()
2731 return 0; in cdns_torrent_clk()
2741 int ret, subnodes, node = 0, i; in cdns_torrent_phy_probe()
2742 u32 total_num_lanes = 0; in cdns_torrent_phy_probe()
2744 u8 init_dp_regmap = 0; in cdns_torrent_phy_probe()
2760 cdns_phy->sd_base = devm_platform_ioremap_resource(pdev, 0); in cdns_torrent_phy_probe()
2765 if (subnodes == 0) { in cdns_torrent_phy_probe()
2968 cdns_torrent_get_phy_type(cdns_phy->phys[0].phy_type), in cdns_torrent_phy_probe()
2969 cdns_phy->phys[0].num_lanes, in cdns_torrent_phy_probe()
2974 cdns_torrent_get_phy_type(cdns_phy->phys[0].phy_type), in cdns_torrent_phy_probe()
2975 cdns_phy->phys[0].num_lanes); in cdns_torrent_phy_probe()
2977 return 0; in cdns_torrent_phy_probe()
2982 for (i = 0; i < node; i++) in cdns_torrent_phy_probe()
2999 for (i = 0; i < cdns_phy->nsubnodes; i++) { in cdns_torrent_phy_remove()
3010 {0x0002, PHY_PLL_CFG},
3011 {0x8600, CMN_PDIAG_PLL0_CLK_SEL_M0}
3015 {0x0000, XCVR_DIAG_HSCLK_SEL},
3016 {0x0001, XCVR_DIAG_HSCLK_DIV},
3017 {0x0041, XCVR_DIAG_PLLDRC_CTRL}
3021 {0x0001, XCVR_DIAG_HSCLK_SEL},
3022 {0x0009, XCVR_DIAG_PLLDRC_CTRL}
3042 {0x0040, PHY_PMA_CMN_CTRL1},
3052 {0x0000, PHY_PLL_CFG},
3053 {0x0400, CMN_PDIAG_PLL0_CLK_SEL_M0}
3057 {0x0000, XCVR_DIAG_HSCLK_SEL},
3058 {0x0001, XCVR_DIAG_HSCLK_DIV},
3059 {0x0001, XCVR_DIAG_PLLDRC_CTRL}
3074 {0x0014, CMN_SSM_BIAS_TMR},
3075 {0x0028, CMN_PLLSM0_PLLPRE_TMR},
3076 {0x00A4, CMN_PLLSM0_PLLLOCK_TMR},
3077 {0x0028, CMN_PLLSM1_PLLPRE_TMR},
3078 {0x00A4, CMN_PLLSM1_PLLLOCK_TMR},
3079 {0x0062, CMN_BGCAL_INIT_TMR},
3080 {0x0062, CMN_BGCAL_ITER_TMR},
3081 {0x0014, CMN_IBCAL_INIT_TMR},
3082 {0x0018, CMN_TXPUCAL_INIT_TMR},
3083 {0x0005, CMN_TXPUCAL_ITER_TMR},
3084 {0x0018, CMN_TXPDCAL_INIT_TMR},
3085 {0x0005, CMN_TXPDCAL_ITER_TMR},
3086 {0x024A, CMN_RXCAL_INIT_TMR},
3087 {0x0005, CMN_RXCAL_ITER_TMR},
3088 {0x000B, CMN_SD_CAL_REFTIM_START},
3089 {0x0132, CMN_SD_CAL_PLLCNT_START},
3090 {0x0028, CMN_PDIAG_PLL1_CP_PADJ_M0},
3091 {0x0014, CMN_PLL0_DSM_FBH_OVRD_M0},
3092 {0x0014, CMN_PLL1_DSM_FBH_OVRD_M0},
3093 {0x0005, CMN_PLL0_DSM_FBL_OVRD_M0},
3094 {0x0005, CMN_PLL1_DSM_FBL_OVRD_M0},
3095 {0x061B, CMN_PLL0_VCOCAL_INIT_TMR},
3096 {0x061B, CMN_PLL1_VCOCAL_INIT_TMR},
3097 {0x0019, CMN_PLL0_VCOCAL_ITER_TMR},
3098 {0x0019, CMN_PLL1_VCOCAL_ITER_TMR},
3099 {0x1354, CMN_PLL0_VCOCAL_REFTIM_START},
3100 {0x1354, CMN_PLL1_VCOCAL_REFTIM_START},
3101 {0x1354, CMN_PLL0_VCOCAL_PLLCNT_START},
3102 {0x1354, CMN_PLL1_VCOCAL_PLLCNT_START},
3103 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3104 {0x0003, CMN_PLL1_VCOCAL_TCTRL},
3105 {0x0138, CMN_PLL0_LOCK_REFCNT_START},
3106 {0x0138, CMN_PLL1_LOCK_REFCNT_START},
3107 {0x0138, CMN_PLL0_LOCK_PLLCNT_START},
3108 {0x0138, CMN_PLL1_LOCK_PLLCNT_START}
3112 {0x07A2, TX_RCVDET_ST_TMR},
3113 {0x00F3, TX_PSC_A0},
3114 {0x04A2, TX_PSC_A2},
3115 {0x04A2, TX_PSC_A3},
3116 {0x0000, TX_TXCC_CPOST_MULT_00},
3117 {0x0000, XCVR_DIAG_PSC_OVRD}
3121 {0x0014, RX_SDCAL0_INIT_TMR},
3122 {0x0062, RX_SDCAL0_ITER_TMR},
3123 {0x0014, RX_SDCAL1_INIT_TMR},
3124 {0x0062, RX_SDCAL1_ITER_TMR},
3125 {0x091D, RX_PSC_A0},
3126 {0x0900, RX_PSC_A2},
3127 {0x0100, RX_PSC_A3},
3128 {0x0030, RX_REE_SMGM_CTRL1},
3129 {0x03C7, RX_REE_GCSM1_EQENM_PH1},
3130 {0x01C7, RX_REE_GCSM1_EQENM_PH2},
3131 {0x0000, RX_DIAG_DFE_CTRL},
3132 {0x0019, RX_REE_TAP1_CLIP},
3133 {0x0019, RX_REE_TAP2TON_CLIP},
3134 {0x00B9, RX_DIAG_NQST_CTRL},
3135 {0x0C21, RX_DIAG_DFE_AMP_TUNE_2},
3136 {0x0002, RX_DIAG_DFE_AMP_TUNE_3},
3137 {0x0033, RX_DIAG_PI_RATE},
3138 {0x0001, RX_DIAG_ACYA},
3139 {0x018C, RX_CDRLF_CNFG}
3159 {0x0003, PHY_PLL_CFG},
3160 {0x0601, CMN_PDIAG_PLL0_CLK_SEL_M0},
3161 {0x0400, CMN_PDIAG_PLL0_CLK_SEL_M1}
3165 {0x0000, XCVR_DIAG_HSCLK_SEL},
3166 {0x0001, XCVR_DIAG_HSCLK_DIV},
3167 {0x0012, XCVR_DIAG_PLLDRC_CTRL}
3171 {0x0001, XCVR_DIAG_HSCLK_SEL},
3172 {0x0009, XCVR_DIAG_PLLDRC_CTRL}
3192 {0x007F, CMN_TXPUCAL_TUNE},
3193 {0x007F, CMN_TXPDCAL_TUNE}
3197 {0x00FB, TX_PSC_A0},
3198 {0x04AA, TX_PSC_A2},
3199 {0x04AA, TX_PSC_A3},
3200 {0x000F, XCVR_DIAG_BIDI_CTRL}
3204 {0x0000, RX_PSC_A0},
3205 {0x0000, RX_PSC_A2},
3206 {0x0000, RX_PSC_A3},
3207 {0x0000, RX_PSC_CAL},
3208 {0x0000, RX_REE_GCSM1_CTRL},
3209 {0x0000, RX_REE_GCSM2_CTRL},
3210 {0x0000, RX_REE_PERGCSM_CTRL}
3230 {0x0000, PHY_PLL_CFG},
3234 {0x0000, XCVR_DIAG_HSCLK_SEL},
3235 {0x0001, XCVR_DIAG_PLLDRC_CTRL}
3250 {0x0014, CMN_SSM_BIAS_TMR},
3251 {0x0027, CMN_PLLSM0_PLLPRE_TMR},
3252 {0x00A1, CMN_PLLSM0_PLLLOCK_TMR},
3253 {0x0027, CMN_PLLSM1_PLLPRE_TMR},
3254 {0x00A1, CMN_PLLSM1_PLLLOCK_TMR},
3255 {0x0060, CMN_BGCAL_INIT_TMR},
3256 {0x0060, CMN_BGCAL_ITER_TMR},
3257 {0x0014, CMN_IBCAL_INIT_TMR},
3258 {0x0018, CMN_TXPUCAL_INIT_TMR},
3259 {0x0005, CMN_TXPUCAL_ITER_TMR},
3260 {0x0018, CMN_TXPDCAL_INIT_TMR},
3261 {0x0005, CMN_TXPDCAL_ITER_TMR},
3262 {0x0240, CMN_RXCAL_INIT_TMR},
3263 {0x0005, CMN_RXCAL_ITER_TMR},
3264 {0x0002, CMN_SD_CAL_INIT_TMR},
3265 {0x0002, CMN_SD_CAL_ITER_TMR},
3266 {0x000B, CMN_SD_CAL_REFTIM_START},
3267 {0x0137, CMN_SD_CAL_PLLCNT_START},
3268 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3269 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3270 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3271 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3272 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3273 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3274 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3275 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3276 {0x00C0, CMN_PLL0_VCOCAL_INIT_TMR},
3277 {0x0004, CMN_PLL0_VCOCAL_ITER_TMR},
3278 {0x00C0, CMN_PLL1_VCOCAL_INIT_TMR},
3279 {0x0004, CMN_PLL1_VCOCAL_ITER_TMR},
3280 {0x0260, CMN_PLL0_VCOCAL_REFTIM_START},
3281 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3282 {0x0260, CMN_PLL1_VCOCAL_REFTIM_START},
3283 {0x0003, CMN_PLL1_VCOCAL_TCTRL}
3287 {0x0780, TX_RCVDET_ST_TMR},
3288 {0x00FB, TX_PSC_A0},
3289 {0x04AA, TX_PSC_A2},
3290 {0x04AA, TX_PSC_A3},
3291 {0x000F, XCVR_DIAG_BIDI_CTRL}
3295 {0x0000, RX_PSC_A0},
3296 {0x0000, RX_PSC_A2},
3297 {0x0000, RX_PSC_A3},
3298 {0x0000, RX_PSC_CAL},
3299 {0x0000, RX_REE_GCSM1_CTRL},
3300 {0x0000, RX_REE_GCSM2_CTRL},
3301 {0x0000, RX_REE_PERGCSM_CTRL}
3321 {0x0019, CMN_SSM_BIAS_TMR},
3322 {0x0032, CMN_PLLSM0_PLLPRE_TMR},
3323 {0x00D1, CMN_PLLSM0_PLLLOCK_TMR},
3324 {0x0032, CMN_PLLSM1_PLLPRE_TMR},
3325 {0x00D1, CMN_PLLSM1_PLLLOCK_TMR},
3326 {0x007D, CMN_BGCAL_INIT_TMR},
3327 {0x007D, CMN_BGCAL_ITER_TMR},
3328 {0x0019, CMN_IBCAL_INIT_TMR},
3329 {0x001E, CMN_TXPUCAL_INIT_TMR},
3330 {0x0006, CMN_TXPUCAL_ITER_TMR},
3331 {0x001E, CMN_TXPDCAL_INIT_TMR},
3332 {0x0006, CMN_TXPDCAL_ITER_TMR},
3333 {0x02EE, CMN_RXCAL_INIT_TMR},
3334 {0x0006, CMN_RXCAL_ITER_TMR},
3335 {0x0002, CMN_SD_CAL_INIT_TMR},
3336 {0x0002, CMN_SD_CAL_ITER_TMR},
3337 {0x000E, CMN_SD_CAL_REFTIM_START},
3338 {0x012B, CMN_SD_CAL_PLLCNT_START},
3339 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3340 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3341 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3342 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3343 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3344 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3345 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3346 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3347 {0x00FA, CMN_PLL0_VCOCAL_INIT_TMR},
3348 {0x0004, CMN_PLL0_VCOCAL_ITER_TMR},
3349 {0x00FA, CMN_PLL1_VCOCAL_INIT_TMR},
3350 {0x0004, CMN_PLL1_VCOCAL_ITER_TMR},
3351 {0x0317, CMN_PLL0_VCOCAL_REFTIM_START},
3352 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3353 {0x0317, CMN_PLL1_VCOCAL_REFTIM_START},
3354 {0x0003, CMN_PLL1_VCOCAL_TCTRL}
3358 {0x09C4, TX_RCVDET_ST_TMR},
3359 {0x00FB, TX_PSC_A0},
3360 {0x04AA, TX_PSC_A2},
3361 {0x04AA, TX_PSC_A3},
3362 {0x000F, XCVR_DIAG_BIDI_CTRL}
3366 {0x0000, RX_PSC_A0},
3367 {0x0000, RX_PSC_A2},
3368 {0x0000, RX_PSC_A3},
3369 {0x0000, RX_PSC_CAL},
3370 {0x0000, RX_REE_GCSM1_CTRL},
3371 {0x0000, RX_REE_GCSM2_CTRL},
3372 {0x0000, RX_REE_PERGCSM_CTRL}
3392 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3393 {0x0003, CMN_PLL1_VCOCAL_TCTRL}
3397 {0x00FB, TX_PSC_A0},
3398 {0x04AA, TX_PSC_A2},
3399 {0x04AA, TX_PSC_A3},
3400 {0x000F, XCVR_DIAG_BIDI_CTRL}
3404 {0x0000, RX_PSC_A0},
3405 {0x0000, RX_PSC_A2},
3406 {0x0000, RX_PSC_A3},
3407 {0x0000, RX_PSC_CAL},
3408 {0x0000, RX_REE_GCSM1_CTRL},
3409 {0x0000, RX_REE_GCSM2_CTRL},
3410 {0x0000, RX_REE_PERGCSM_CTRL}
3430 {0x0002, PHY_PLL_CFG},
3431 {0x8600, CMN_PDIAG_PLL0_CLK_SEL_M0},
3432 {0x0601, CMN_PDIAG_PLL1_CLK_SEL_M0}
3436 {0x0000, XCVR_DIAG_HSCLK_SEL},
3437 {0x0001, XCVR_DIAG_HSCLK_DIV},
3438 {0x0041, XCVR_DIAG_PLLDRC_CTRL}
3442 {0x0011, XCVR_DIAG_HSCLK_SEL},
3443 {0x0003, XCVR_DIAG_HSCLK_DIV},
3444 {0x009B, XCVR_DIAG_PLLDRC_CTRL}
3464 {0x0003, PHY_PLL_CFG},
3465 {0x0601, CMN_PDIAG_PLL0_CLK_SEL_M0},
3466 {0x0400, CMN_PDIAG_PLL0_CLK_SEL_M1},
3467 {0x8600, CMN_PDIAG_PLL1_CLK_SEL_M0}
3471 {0x0000, XCVR_DIAG_HSCLK_SEL},
3472 {0x0001, XCVR_DIAG_HSCLK_DIV},
3473 {0x0012, XCVR_DIAG_PLLDRC_CTRL}
3477 {0x0011, XCVR_DIAG_HSCLK_SEL},
3478 {0x0001, XCVR_DIAG_HSCLK_DIV},
3479 {0x00C9, XCVR_DIAG_PLLDRC_CTRL}
3499 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3500 {0x0004, CMN_PLL0_DSM_DIAG_M1},
3501 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3502 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3503 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M1},
3504 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3505 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3506 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M1},
3507 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3508 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3509 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M1},
3510 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3511 {0x0064, CMN_PLL0_INTDIV_M0},
3512 {0x0050, CMN_PLL0_INTDIV_M1},
3513 {0x0064, CMN_PLL1_INTDIV_M0},
3514 {0x0002, CMN_PLL0_FRACDIVH_M0},
3515 {0x0002, CMN_PLL0_FRACDIVH_M1},
3516 {0x0002, CMN_PLL1_FRACDIVH_M0},
3517 {0x0044, CMN_PLL0_HIGH_THR_M0},
3518 {0x0036, CMN_PLL0_HIGH_THR_M1},
3519 {0x0044, CMN_PLL1_HIGH_THR_M0},
3520 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
3521 {0x0002, CMN_PDIAG_PLL0_CTRL_M1},
3522 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
3523 {0x0001, CMN_PLL0_SS_CTRL1_M0},
3524 {0x0001, CMN_PLL0_SS_CTRL1_M1},
3525 {0x0001, CMN_PLL1_SS_CTRL1_M0},
3526 {0x011B, CMN_PLL0_SS_CTRL2_M0},
3527 {0x011B, CMN_PLL0_SS_CTRL2_M1},
3528 {0x011B, CMN_PLL1_SS_CTRL2_M0},
3529 {0x006E, CMN_PLL0_SS_CTRL3_M0},
3530 {0x0058, CMN_PLL0_SS_CTRL3_M1},
3531 {0x006E, CMN_PLL1_SS_CTRL3_M0},
3532 {0x000E, CMN_PLL0_SS_CTRL4_M0},
3533 {0x0012, CMN_PLL0_SS_CTRL4_M1},
3534 {0x000E, CMN_PLL1_SS_CTRL4_M0},
3535 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
3536 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
3537 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
3538 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
3539 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
3540 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
3541 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
3542 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
3543 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
3544 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR},
3545 {0x8200, CMN_CDIAG_CDB_PWRI_OVRD},
3546 {0x8200, CMN_CDIAG_XCVRC_PWRI_OVRD},
3547 {0x007F, CMN_TXPUCAL_TUNE},
3548 {0x007F, CMN_TXPDCAL_TUNE}
3558 {0x0000, PHY_PLL_CFG},
3559 {0x8600, CMN_PDIAG_PLL0_CLK_SEL_M0}
3563 {0x0000, XCVR_DIAG_HSCLK_SEL},
3564 {0x0001, XCVR_DIAG_HSCLK_DIV},
3565 {0x0041, XCVR_DIAG_PLLDRC_CTRL}
3580 {0x0A0A, PHY_PIPE_USB3_GEN2_PRE_CFG0},
3581 {0x1000, PHY_PIPE_USB3_GEN2_POST_CFG0},
3582 {0x0010, PHY_PIPE_USB3_GEN2_POST_CFG1}
3592 {0x0028, CMN_PDIAG_PLL1_CP_PADJ_M0},
3593 {0x001E, CMN_PLL1_DSM_FBH_OVRD_M0},
3594 {0x000C, CMN_PLL1_DSM_FBL_OVRD_M0},
3595 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3596 {0x0003, CMN_PLL1_VCOCAL_TCTRL},
3597 {0x8200, CMN_CDIAG_CDB_PWRI_OVRD},
3598 {0x8200, CMN_CDIAG_XCVRC_PWRI_OVRD}
3607 {0x8200, CMN_CDIAG_CDB_PWRI_OVRD},
3608 {0x8200, CMN_CDIAG_XCVRC_PWRI_OVRD},
3609 {0x007F, CMN_TXPUCAL_TUNE},
3610 {0x007F, CMN_TXPDCAL_TUNE}
3614 {0x02FF, TX_PSC_A0},
3615 {0x06AF, TX_PSC_A1},
3616 {0x06AE, TX_PSC_A2},
3617 {0x06AE, TX_PSC_A3},
3618 {0x2A82, TX_TXCC_CTRL},
3619 {0x0014, TX_TXCC_CPOST_MULT_01},
3620 {0x0003, XCVR_DIAG_PSC_OVRD}
3624 {0x0D1D, RX_PSC_A0},
3625 {0x0D1D, RX_PSC_A1},
3626 {0x0D00, RX_PSC_A2},
3627 {0x0500, RX_PSC_A3},
3628 {0x0013, RX_SIGDET_HL_FILT_TMR},
3629 {0x0000, RX_REE_GCSM1_CTRL},
3630 {0x0C02, RX_REE_ATTEN_THR},
3631 {0x0330, RX_REE_SMGM_CTRL1},
3632 {0x0300, RX_REE_SMGM_CTRL2},
3633 {0x0019, RX_REE_TAP1_CLIP},
3634 {0x0019, RX_REE_TAP2TON_CLIP},
3635 {0x1004, RX_DIAG_SIGDET_TUNE},
3636 {0x00F9, RX_DIAG_NQST_CTRL},
3637 {0x0C01, RX_DIAG_DFE_AMP_TUNE_2},
3638 {0x0002, RX_DIAG_DFE_AMP_TUNE_3},
3639 {0x0000, RX_DIAG_PI_CAP},
3640 {0x0031, RX_DIAG_PI_RATE},
3641 {0x0001, RX_DIAG_ACYA},
3642 {0x018C, RX_CDRLF_CNFG},
3643 {0x0003, RX_CDRLF_CNFG3}
3663 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3664 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3665 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3666 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3667 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3668 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3669 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3670 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3671 {0x0064, CMN_PLL0_INTDIV_M0},
3672 {0x0064, CMN_PLL1_INTDIV_M0},
3673 {0x0002, CMN_PLL0_FRACDIVH_M0},
3674 {0x0002, CMN_PLL1_FRACDIVH_M0},
3675 {0x0044, CMN_PLL0_HIGH_THR_M0},
3676 {0x0044, CMN_PLL1_HIGH_THR_M0},
3677 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
3678 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
3679 {0x0001, CMN_PLL0_SS_CTRL1_M0},
3680 {0x0001, CMN_PLL1_SS_CTRL1_M0},
3681 {0x011B, CMN_PLL0_SS_CTRL2_M0},
3682 {0x011B, CMN_PLL1_SS_CTRL2_M0},
3683 {0x006E, CMN_PLL0_SS_CTRL3_M0},
3684 {0x006E, CMN_PLL1_SS_CTRL3_M0},
3685 {0x000E, CMN_PLL0_SS_CTRL4_M0},
3686 {0x000E, CMN_PLL1_SS_CTRL4_M0},
3687 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
3688 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
3689 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
3690 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
3691 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3692 {0x0003, CMN_PLL1_VCOCAL_TCTRL},
3693 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
3694 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
3695 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
3696 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
3697 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
3698 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR},
3699 {0x8200, CMN_CDIAG_CDB_PWRI_OVRD},
3700 {0x8200, CMN_CDIAG_XCVRC_PWRI_OVRD}
3710 {0x0003, PHY_PLL_CFG},
3711 {0x0601, CMN_PDIAG_PLL0_CLK_SEL_M0},
3712 {0x0400, CMN_PDIAG_PLL0_CLK_SEL_M1},
3713 {0x0601, CMN_PDIAG_PLL1_CLK_SEL_M0}
3717 {0x0000, XCVR_DIAG_HSCLK_SEL},
3718 {0x0001, XCVR_DIAG_HSCLK_DIV},
3719 {0x0012, XCVR_DIAG_PLLDRC_CTRL}
3723 {0x0011, XCVR_DIAG_HSCLK_SEL},
3724 {0x0003, XCVR_DIAG_HSCLK_DIV},
3725 {0x009B, XCVR_DIAG_PLLDRC_CTRL}
3745 {0x0028, CMN_PDIAG_PLL1_CP_PADJ_M0},
3746 {0x001E, CMN_PLL1_DSM_FBH_OVRD_M0},
3747 {0x000C, CMN_PLL1_DSM_FBL_OVRD_M0},
3748 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3749 {0x0003, CMN_PLL1_VCOCAL_TCTRL}
3758 {0x007F, CMN_TXPUCAL_TUNE},
3759 {0x007F, CMN_TXPDCAL_TUNE}
3763 {0x00F3, TX_PSC_A0},
3764 {0x04A2, TX_PSC_A2},
3765 {0x04A2, TX_PSC_A3},
3766 {0x0000, TX_TXCC_CPOST_MULT_00},
3767 {0x00B3, DRV_DIAG_TX_DRV}
3771 {0x00F3, TX_PSC_A0},
3772 {0x04A2, TX_PSC_A2},
3773 {0x04A2, TX_PSC_A3},
3774 {0x0000, TX_TXCC_CPOST_MULT_00},
3775 {0x00B3, DRV_DIAG_TX_DRV},
3776 {0x4000, XCVR_DIAG_RXCLK_CTRL},
3780 {0x091D, RX_PSC_A0},
3781 {0x0900, RX_PSC_A2},
3782 {0x0100, RX_PSC_A3},
3783 {0x03C7, RX_REE_GCSM1_EQENM_PH1},
3784 {0x01C7, RX_REE_GCSM1_EQENM_PH2},
3785 {0x0000, RX_DIAG_DFE_CTRL},
3786 {0x0019, RX_REE_TAP1_CLIP},
3787 {0x0019, RX_REE_TAP2TON_CLIP},
3788 {0x0098, RX_DIAG_NQST_CTRL},
3789 {0x0C01, RX_DIAG_DFE_AMP_TUNE_2},
3790 {0x0000, RX_DIAG_DFE_AMP_TUNE_3},
3791 {0x0000, RX_DIAG_PI_CAP},
3792 {0x0010, RX_DIAG_PI_RATE},
3793 {0x0001, RX_DIAG_ACYA},
3794 {0x018C, RX_CDRLF_CNFG},
3819 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3820 {0x0004, CMN_PLL0_DSM_DIAG_M1},
3821 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3822 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3823 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M1},
3824 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3825 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3826 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M1},
3827 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3828 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3829 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M1},
3830 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3831 {0x0064, CMN_PLL0_INTDIV_M0},
3832 {0x0050, CMN_PLL0_INTDIV_M1},
3833 {0x0064, CMN_PLL1_INTDIV_M0},
3834 {0x0002, CMN_PLL0_FRACDIVH_M0},
3835 {0x0002, CMN_PLL0_FRACDIVH_M1},
3836 {0x0002, CMN_PLL1_FRACDIVH_M0},
3837 {0x0044, CMN_PLL0_HIGH_THR_M0},
3838 {0x0036, CMN_PLL0_HIGH_THR_M1},
3839 {0x0044, CMN_PLL1_HIGH_THR_M0},
3840 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
3841 {0x0002, CMN_PDIAG_PLL0_CTRL_M1},
3842 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
3843 {0x0001, CMN_PLL0_SS_CTRL1_M0},
3844 {0x0001, CMN_PLL0_SS_CTRL1_M1},
3845 {0x0001, CMN_PLL1_SS_CTRL1_M0},
3846 {0x011B, CMN_PLL0_SS_CTRL2_M0},
3847 {0x011B, CMN_PLL0_SS_CTRL2_M1},
3848 {0x011B, CMN_PLL1_SS_CTRL2_M0},
3849 {0x006E, CMN_PLL0_SS_CTRL3_M0},
3850 {0x0058, CMN_PLL0_SS_CTRL3_M1},
3851 {0x006E, CMN_PLL1_SS_CTRL3_M0},
3852 {0x000E, CMN_PLL0_SS_CTRL4_M0},
3853 {0x0012, CMN_PLL0_SS_CTRL4_M1},
3854 {0x000E, CMN_PLL1_SS_CTRL4_M0},
3855 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
3856 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
3857 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
3858 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
3859 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
3860 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
3861 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
3862 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
3863 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
3864 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR},
3865 {0x007F, CMN_TXPUCAL_TUNE},
3866 {0x007F, CMN_TXPDCAL_TUNE}
3876 {0x0028, CMN_PDIAG_PLL1_CP_PADJ_M0},
3877 {0x001E, CMN_PLL1_DSM_FBH_OVRD_M0},
3878 {0x000C, CMN_PLL1_DSM_FBL_OVRD_M0},
3879 {0x0003, CMN_PLL0_VCOCAL_TCTRL},
3880 {0x0003, CMN_PLL1_VCOCAL_TCTRL}
3889 {0x007F, CMN_TXPUCAL_TUNE},
3890 {0x007F, CMN_TXPDCAL_TUNE}
3894 {0x00F3, TX_PSC_A0},
3895 {0x04A2, TX_PSC_A2},
3896 {0x04A2, TX_PSC_A3},
3897 {0x0000, TX_TXCC_CPOST_MULT_00},
3898 {0x0011, TX_TXCC_MGNFS_MULT_100},
3899 {0x0003, DRV_DIAG_TX_DRV}
3903 {0x00F3, TX_PSC_A0},
3904 {0x04A2, TX_PSC_A2},
3905 {0x04A2, TX_PSC_A3},
3906 {0x0000, TX_TXCC_CPOST_MULT_00},
3907 {0x0011, TX_TXCC_MGNFS_MULT_100},
3908 {0x0003, DRV_DIAG_TX_DRV},
3909 {0x4000, XCVR_DIAG_RXCLK_CTRL},
3913 {0x091D, RX_PSC_A0},
3914 {0x0900, RX_PSC_A2},
3915 {0x0100, RX_PSC_A3},
3916 {0x03C7, RX_REE_GCSM1_EQENM_PH1},
3917 {0x01C7, RX_REE_GCSM1_EQENM_PH2},
3918 {0x0000, RX_DIAG_DFE_CTRL},
3919 {0x0019, RX_REE_TAP1_CLIP},
3920 {0x0019, RX_REE_TAP2TON_CLIP},
3921 {0x0098, RX_DIAG_NQST_CTRL},
3922 {0x0C01, RX_DIAG_DFE_AMP_TUNE_2},
3923 {0x0000, RX_DIAG_DFE_AMP_TUNE_3},
3924 {0x0000, RX_DIAG_PI_CAP},
3925 {0x0010, RX_DIAG_PI_RATE},
3926 {0x0001, RX_DIAG_ACYA},
3927 {0x018C, RX_CDRLF_CNFG},
3952 {0x0004, CMN_PLL0_DSM_DIAG_M0},
3953 {0x0004, CMN_PLL0_DSM_DIAG_M1},
3954 {0x0004, CMN_PLL1_DSM_DIAG_M0},
3955 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
3956 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M1},
3957 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
3958 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
3959 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M1},
3960 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
3961 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
3962 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M1},
3963 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
3964 {0x0064, CMN_PLL0_INTDIV_M0},
3965 {0x0050, CMN_PLL0_INTDIV_M1},
3966 {0x0064, CMN_PLL1_INTDIV_M0},
3967 {0x0002, CMN_PLL0_FRACDIVH_M0},
3968 {0x0002, CMN_PLL0_FRACDIVH_M1},
3969 {0x0002, CMN_PLL1_FRACDIVH_M0},
3970 {0x0044, CMN_PLL0_HIGH_THR_M0},
3971 {0x0036, CMN_PLL0_HIGH_THR_M1},
3972 {0x0044, CMN_PLL1_HIGH_THR_M0},
3973 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
3974 {0x0002, CMN_PDIAG_PLL0_CTRL_M1},
3975 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
3976 {0x0001, CMN_PLL0_SS_CTRL1_M0},
3977 {0x0001, CMN_PLL0_SS_CTRL1_M1},
3978 {0x0001, CMN_PLL1_SS_CTRL1_M0},
3979 {0x011B, CMN_PLL0_SS_CTRL2_M0},
3980 {0x011B, CMN_PLL0_SS_CTRL2_M1},
3981 {0x011B, CMN_PLL1_SS_CTRL2_M0},
3982 {0x006E, CMN_PLL0_SS_CTRL3_M0},
3983 {0x0058, CMN_PLL0_SS_CTRL3_M1},
3984 {0x006E, CMN_PLL1_SS_CTRL3_M0},
3985 {0x000E, CMN_PLL0_SS_CTRL4_M0},
3986 {0x0012, CMN_PLL0_SS_CTRL4_M1},
3987 {0x000E, CMN_PLL1_SS_CTRL4_M0},
3988 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
3989 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
3990 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
3991 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
3992 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
3993 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
3994 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
3995 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
3996 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
3997 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR},
3998 {0x007F, CMN_TXPUCAL_TUNE},
3999 {0x007F, CMN_TXPDCAL_TUNE}
4009 {0x0000, PHY_PLL_CFG},
4010 {0x0601, CMN_PDIAG_PLL0_CLK_SEL_M0}
4014 {0x0000, XCVR_DIAG_HSCLK_SEL},
4015 {0x0003, XCVR_DIAG_HSCLK_DIV},
4016 {0x0013, XCVR_DIAG_PLLDRC_CTRL}
4031 {0x0004, CMN_PLL0_DSM_DIAG_M0},
4032 {0x0004, CMN_PLL0_DSM_DIAG_M1},
4033 {0x0004, CMN_PLL1_DSM_DIAG_M0},
4034 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
4035 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M1},
4036 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
4037 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
4038 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M1},
4039 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
4040 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
4041 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M1},
4042 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
4043 {0x0064, CMN_PLL0_INTDIV_M0},
4044 {0x0050, CMN_PLL0_INTDIV_M1},
4045 {0x0064, CMN_PLL1_INTDIV_M0},
4046 {0x0002, CMN_PLL0_FRACDIVH_M0},
4047 {0x0002, CMN_PLL0_FRACDIVH_M1},
4048 {0x0002, CMN_PLL1_FRACDIVH_M0},
4049 {0x0044, CMN_PLL0_HIGH_THR_M0},
4050 {0x0036, CMN_PLL0_HIGH_THR_M1},
4051 {0x0044, CMN_PLL1_HIGH_THR_M0},
4052 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
4053 {0x0002, CMN_PDIAG_PLL0_CTRL_M1},
4054 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
4055 {0x0001, CMN_PLL0_SS_CTRL1_M0},
4056 {0x0001, CMN_PLL0_SS_CTRL1_M1},
4057 {0x0001, CMN_PLL1_SS_CTRL1_M0},
4058 {0x011B, CMN_PLL0_SS_CTRL2_M0},
4059 {0x011B, CMN_PLL0_SS_CTRL2_M1},
4060 {0x011B, CMN_PLL1_SS_CTRL2_M0},
4061 {0x006E, CMN_PLL0_SS_CTRL3_M0},
4062 {0x0058, CMN_PLL0_SS_CTRL3_M1},
4063 {0x006E, CMN_PLL1_SS_CTRL3_M0},
4064 {0x000E, CMN_PLL0_SS_CTRL4_M0},
4065 {0x0012, CMN_PLL0_SS_CTRL4_M1},
4066 {0x000E, CMN_PLL1_SS_CTRL4_M0},
4067 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
4068 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
4069 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
4070 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
4071 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
4072 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
4073 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
4074 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
4075 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
4076 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR}
4086 {0x0004, CMN_PLL0_DSM_DIAG_M0},
4087 {0x0004, CMN_PLL0_DSM_DIAG_M1},
4088 {0x0004, CMN_PLL1_DSM_DIAG_M0},
4089 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M0},
4090 {0x0509, CMN_PDIAG_PLL0_CP_PADJ_M1},
4091 {0x0509, CMN_PDIAG_PLL1_CP_PADJ_M0},
4092 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M0},
4093 {0x0F00, CMN_PDIAG_PLL0_CP_IADJ_M1},
4094 {0x0F00, CMN_PDIAG_PLL1_CP_IADJ_M0},
4095 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M0},
4096 {0x0F08, CMN_PDIAG_PLL0_FILT_PADJ_M1},
4097 {0x0F08, CMN_PDIAG_PLL1_FILT_PADJ_M0},
4098 {0x0064, CMN_PLL0_INTDIV_M0},
4099 {0x0050, CMN_PLL0_INTDIV_M1},
4100 {0x0050, CMN_PLL1_INTDIV_M0},
4101 {0x0002, CMN_PLL0_FRACDIVH_M0},
4102 {0x0002, CMN_PLL0_FRACDIVH_M1},
4103 {0x0002, CMN_PLL1_FRACDIVH_M0},
4104 {0x0044, CMN_PLL0_HIGH_THR_M0},
4105 {0x0036, CMN_PLL0_HIGH_THR_M1},
4106 {0x0036, CMN_PLL1_HIGH_THR_M0},
4107 {0x0002, CMN_PDIAG_PLL0_CTRL_M0},
4108 {0x0002, CMN_PDIAG_PLL0_CTRL_M1},
4109 {0x0002, CMN_PDIAG_PLL1_CTRL_M0},
4110 {0x0001, CMN_PLL0_SS_CTRL1_M0},
4111 {0x0001, CMN_PLL0_SS_CTRL1_M1},
4112 {0x0001, CMN_PLL1_SS_CTRL1_M0},
4113 {0x011B, CMN_PLL0_SS_CTRL2_M0},
4114 {0x011B, CMN_PLL0_SS_CTRL2_M1},
4115 {0x011B, CMN_PLL1_SS_CTRL2_M0},
4116 {0x006E, CMN_PLL0_SS_CTRL3_M0},
4117 {0x0058, CMN_PLL0_SS_CTRL3_M1},
4118 {0x0058, CMN_PLL1_SS_CTRL3_M0},
4119 {0x000E, CMN_PLL0_SS_CTRL4_M0},
4120 {0x0012, CMN_PLL0_SS_CTRL4_M1},
4121 {0x0012, CMN_PLL1_SS_CTRL4_M0},
4122 {0x0C5E, CMN_PLL0_VCOCAL_REFTIM_START},
4123 {0x0C5E, CMN_PLL1_VCOCAL_REFTIM_START},
4124 {0x0C56, CMN_PLL0_VCOCAL_PLLCNT_START},
4125 {0x0C56, CMN_PLL1_VCOCAL_PLLCNT_START},
4126 {0x00C7, CMN_PLL0_LOCK_REFCNT_START},
4127 {0x00C7, CMN_PLL1_LOCK_REFCNT_START},
4128 {0x00C7, CMN_PLL0_LOCK_PLLCNT_START},
4129 {0x00C7, CMN_PLL1_LOCK_PLLCNT_START},
4130 {0x0005, CMN_PLL0_LOCK_PLLCNT_THR},
4131 {0x0005, CMN_PLL1_LOCK_PLLCNT_THR}
4141 {0x0028, CMN_PDIAG_PLL1_CP_PADJ_M0},
4142 {0x001E, CMN_PLL1_DSM_FBH_OVRD_M0},
4143 {0x000C, CMN_PLL1_DSM_FBL_OVRD_M0}
4147 {0x0019, RX_REE_TAP1_CLIP},
4148 {0x0019, RX_REE_TAP2TON_CLIP},
4149 {0x0001, RX_DIAG_ACYA}
4428 .block_offset_shift = 0x2,
4429 .reg_offset_shift = 0x2,
4528 .block_offset_shift = 0x0,
4529 .reg_offset_shift = 0x1,