@@ -432,7 +432,7 @@ struct cdns_torrent_vals_entry {
432
432
};
433
433
434
434
struct cdns_torrent_vals_table {
435
- struct cdns_torrent_vals_entry * entries ;
435
+ const struct cdns_torrent_vals_entry * entries ;
436
436
u32 num_entries ;
437
437
};
438
438
@@ -4611,7 +4611,7 @@ static struct cdns_torrent_vals pcie_100_no_ssc_rx_ln_vals = {
4611
4611
.num_regs = ARRAY_SIZE (pcie_100_ext_no_ssc_rx_ln_regs ),
4612
4612
};
4613
4613
4614
- static struct cdns_torrent_vals_entry link_cmn_vals_entries [] = {
4614
+ static const struct cdns_torrent_vals_entry link_cmn_vals_entries [] = {
4615
4615
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_NONE ), & sl_dp_link_cmn_vals },
4616
4616
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_PCIE ), & pcie_dp_link_cmn_vals },
4617
4617
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_USB ), & usb_dp_link_cmn_vals },
@@ -4647,7 +4647,7 @@ static struct cdns_torrent_vals_entry link_cmn_vals_entries[] = {
4647
4647
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_QSGMII ), & usxgmii_sgmii_link_cmn_vals },
4648
4648
};
4649
4649
4650
- static struct cdns_torrent_vals_entry xcvr_diag_vals_entries [] = {
4650
+ static const struct cdns_torrent_vals_entry xcvr_diag_vals_entries [] = {
4651
4651
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_NONE ), & sl_dp_xcvr_diag_ln_vals },
4652
4652
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_PCIE ), & dp_pcie_xcvr_diag_ln_vals },
4653
4653
{CDNS_TORRENT_KEY_ANYCLK (TYPE_DP , TYPE_USB ), & dp_usb_xcvr_diag_ln_vals },
@@ -4683,15 +4683,15 @@ static struct cdns_torrent_vals_entry xcvr_diag_vals_entries[] = {
4683
4683
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_QSGMII ), & usxgmii_sgmii_xcvr_diag_ln_vals },
4684
4684
};
4685
4685
4686
- static struct cdns_torrent_vals_entry pcs_cmn_vals_entries [] = {
4686
+ static const struct cdns_torrent_vals_entry pcs_cmn_vals_entries [] = {
4687
4687
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USB , TYPE_NONE ), & usb_phy_pcs_cmn_vals },
4688
4688
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USB , TYPE_PCIE ), & usb_phy_pcs_cmn_vals },
4689
4689
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USB , TYPE_SGMII ), & usb_phy_pcs_cmn_vals },
4690
4690
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USB , TYPE_QSGMII ), & usb_phy_pcs_cmn_vals },
4691
4691
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USB , TYPE_DP ), & usb_phy_pcs_cmn_vals },
4692
4692
};
4693
4693
4694
- static struct cdns_torrent_vals_entry cmn_vals_entries [] = {
4694
+ static const struct cdns_torrent_vals_entry cmn_vals_entries [] = {
4695
4695
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_cmn_vals },
4696
4696
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_cmn_vals },
4697
4697
@@ -4773,7 +4773,7 @@ static struct cdns_torrent_vals_entry cmn_vals_entries[] = {
4773
4773
{CDNS_TORRENT_KEY (CLK_156_25_MHZ , CLK_100_MHZ , TYPE_USXGMII , TYPE_QSGMII , NO_SSC ), & ml_usxgmii_pll0_156_25_no_ssc_cmn_vals },
4774
4774
};
4775
4775
4776
- static struct cdns_torrent_vals_entry cdns_tx_ln_vals_entries [] = {
4776
+ static const struct cdns_torrent_vals_entry cdns_tx_ln_vals_entries [] = {
4777
4777
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_tx_ln_vals },
4778
4778
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_tx_ln_vals },
4779
4779
@@ -4855,7 +4855,7 @@ static struct cdns_torrent_vals_entry cdns_tx_ln_vals_entries[] = {
4855
4855
{CDNS_TORRENT_KEY (CLK_156_25_MHZ , CLK_100_MHZ , TYPE_USXGMII , TYPE_QSGMII , NO_SSC ), & ml_usxgmii_156_25_no_ssc_tx_ln_vals },
4856
4856
};
4857
4857
4858
- static struct cdns_torrent_vals_entry cdns_rx_ln_vals_entries [] = {
4858
+ static const struct cdns_torrent_vals_entry cdns_rx_ln_vals_entries [] = {
4859
4859
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_rx_ln_vals },
4860
4860
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_rx_ln_vals },
4861
4861
@@ -4966,14 +4966,14 @@ static const struct cdns_torrent_data cdns_map_torrent = {
4966
4966
},
4967
4967
};
4968
4968
4969
- static struct cdns_torrent_vals_entry j721e_phy_pma_cmn_vals_entries [] = {
4969
+ static const struct cdns_torrent_vals_entry j721e_phy_pma_cmn_vals_entries [] = {
4970
4970
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_NONE ), & ti_usxgmii_phy_pma_cmn_vals },
4971
4971
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_PCIE ), & ti_usxgmii_phy_pma_cmn_vals },
4972
4972
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_SGMII ), & ti_usxgmii_phy_pma_cmn_vals },
4973
4973
{CDNS_TORRENT_KEY_ANYCLK (TYPE_USXGMII , TYPE_QSGMII ), & ti_usxgmii_phy_pma_cmn_vals },
4974
4974
};
4975
4975
4976
- static struct cdns_torrent_vals_entry ti_tx_ln_vals_entries [] = {
4976
+ static const struct cdns_torrent_vals_entry ti_tx_ln_vals_entries [] = {
4977
4977
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_tx_ln_vals },
4978
4978
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_tx_ln_vals },
4979
4979
@@ -5089,7 +5089,7 @@ static const struct cdns_torrent_data ti_j721e_map_torrent = {
5089
5089
};
5090
5090
5091
5091
/* TI J7200 (Torrent SD0805) */
5092
- static struct cdns_torrent_vals_entry ti_j7200_cmn_vals_entries [] = {
5092
+ static const struct cdns_torrent_vals_entry ti_j7200_cmn_vals_entries [] = {
5093
5093
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_cmn_vals },
5094
5094
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_cmn_vals },
5095
5095
@@ -5171,7 +5171,7 @@ static struct cdns_torrent_vals_entry ti_j7200_cmn_vals_entries[] = {
5171
5171
{CDNS_TORRENT_KEY (CLK_156_25_MHZ , CLK_100_MHZ , TYPE_USXGMII , TYPE_QSGMII , NO_SSC ), & j7200_ml_usxgmii_pll0_156_25_no_ssc_cmn_vals },
5172
5172
};
5173
5173
5174
- static struct cdns_torrent_vals_entry ti_j7200_tx_ln_vals_entries [] = {
5174
+ static const struct cdns_torrent_vals_entry ti_j7200_tx_ln_vals_entries [] = {
5175
5175
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_tx_ln_vals },
5176
5176
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_tx_ln_vals },
5177
5177
@@ -5253,7 +5253,7 @@ static struct cdns_torrent_vals_entry ti_j7200_tx_ln_vals_entries[] = {
5253
5253
{CDNS_TORRENT_KEY (CLK_156_25_MHZ , CLK_100_MHZ , TYPE_USXGMII , TYPE_QSGMII , NO_SSC ), & usxgmii_156_25_no_ssc_tx_ln_vals },
5254
5254
};
5255
5255
5256
- static struct cdns_torrent_vals_entry ti_j7200_rx_ln_vals_entries [] = {
5256
+ static const struct cdns_torrent_vals_entry ti_j7200_rx_ln_vals_entries [] = {
5257
5257
{CDNS_TORRENT_KEY (CLK_19_2_MHZ , CLK_19_2_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_19_2_no_ssc_rx_ln_vals },
5258
5258
{CDNS_TORRENT_KEY (CLK_25_MHZ , CLK_25_MHZ , TYPE_DP , TYPE_NONE , NO_SSC ), & sl_dp_25_no_ssc_rx_ln_vals },
5259
5259
0 commit comments