Commit adb11a40 authored by Georgi Djakov's avatar Georgi Djakov Committed by Stephen Boyd

clk: qcom: Constify the parent names arrays

Make const both the array and the strings, so they can be
moved to .rodata section.
Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 78e50c6d
...@@ -48,7 +48,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = { ...@@ -48,7 +48,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = {
{ P_GPLL0, 1 } { P_GPLL0, 1 }
}; };
static const char *gcc_xo_gpll0[] = { static const char * const gcc_xo_gpll0[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
}; };
...@@ -59,7 +59,7 @@ static const struct parent_map gcc_xo_gpll0_gpll4_map[] = { ...@@ -59,7 +59,7 @@ static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
{ P_GPLL4, 5 } { P_GPLL4, 5 }
}; };
static const char *gcc_xo_gpll0_gpll4[] = { static const char * const gcc_xo_gpll0_gpll4[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll4_vote", "gpll4_vote",
...@@ -70,7 +70,7 @@ static const struct parent_map gcc_xo_sata_asic0_map[] = { ...@@ -70,7 +70,7 @@ static const struct parent_map gcc_xo_sata_asic0_map[] = {
{ P_SATA_ASIC0_CLK, 2 } { P_SATA_ASIC0_CLK, 2 }
}; };
static const char *gcc_xo_sata_asic0[] = { static const char * const gcc_xo_sata_asic0[] = {
"xo", "xo",
"sata_asic0_clk", "sata_asic0_clk",
}; };
...@@ -80,7 +80,7 @@ static const struct parent_map gcc_xo_sata_rx_map[] = { ...@@ -80,7 +80,7 @@ static const struct parent_map gcc_xo_sata_rx_map[] = {
{ P_SATA_RX_CLK, 2} { P_SATA_RX_CLK, 2}
}; };
static const char *gcc_xo_sata_rx[] = { static const char * const gcc_xo_sata_rx[] = {
"xo", "xo",
"sata_rx_clk", "sata_rx_clk",
}; };
...@@ -90,7 +90,7 @@ static const struct parent_map gcc_xo_pcie_map[] = { ...@@ -90,7 +90,7 @@ static const struct parent_map gcc_xo_pcie_map[] = {
{ P_PCIE_0_1_PIPE_CLK, 2 } { P_PCIE_0_1_PIPE_CLK, 2 }
}; };
static const char *gcc_xo_pcie[] = { static const char * const gcc_xo_pcie[] = {
"xo", "xo",
"pcie_pipe", "pcie_pipe",
}; };
...@@ -100,7 +100,7 @@ static const struct parent_map gcc_xo_pcie_sleep_map[] = { ...@@ -100,7 +100,7 @@ static const struct parent_map gcc_xo_pcie_sleep_map[] = {
{ P_SLEEP_CLK, 6 } { P_SLEEP_CLK, 6 }
}; };
static const char *gcc_xo_pcie_sleep[] = { static const char * const gcc_xo_pcie_sleep[] = {
"xo", "xo",
"sleep_clk_src", "sleep_clk_src",
}; };
......
...@@ -188,7 +188,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = { ...@@ -188,7 +188,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = {
{ P_PLL8, 3 } { P_PLL8, 3 }
}; };
static const char *gcc_pxo_pll8[] = { static const char * const gcc_pxo_pll8[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
}; };
...@@ -199,7 +199,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = { ...@@ -199,7 +199,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
{ P_CXO, 5 } { P_CXO, 5 }
}; };
static const char *gcc_pxo_pll8_cxo[] = { static const char * const gcc_pxo_pll8_cxo[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"cxo", "cxo",
...@@ -215,7 +215,7 @@ static const struct parent_map gcc_pxo_pll3_sata_map[] = { ...@@ -215,7 +215,7 @@ static const struct parent_map gcc_pxo_pll3_sata_map[] = {
{ P_PLL3, 6 } { P_PLL3, 6 }
}; };
static const char *gcc_pxo_pll3[] = { static const char * const gcc_pxo_pll3[] = {
"pxo", "pxo",
"pll3", "pll3",
}; };
...@@ -226,7 +226,7 @@ static const struct parent_map gcc_pxo_pll8_pll0[] = { ...@@ -226,7 +226,7 @@ static const struct parent_map gcc_pxo_pll8_pll0[] = {
{ P_PLL0, 2 } { P_PLL0, 2 }
}; };
static const char *gcc_pxo_pll8_pll0_map[] = { static const char * const gcc_pxo_pll8_pll0_map[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll0_vote", "pll0_vote",
...@@ -240,7 +240,7 @@ static const struct parent_map gcc_pxo_pll8_pll14_pll18_pll0_map[] = { ...@@ -240,7 +240,7 @@ static const struct parent_map gcc_pxo_pll8_pll14_pll18_pll0_map[] = {
{ P_PLL18, 1 } { P_PLL18, 1 }
}; };
static const char *gcc_pxo_pll8_pll14_pll18_pll0[] = { static const char * const gcc_pxo_pll8_pll14_pll18_pll0[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll0_vote", "pll0_vote",
......
...@@ -70,7 +70,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = { ...@@ -70,7 +70,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = {
{ P_PLL8, 3 } { P_PLL8, 3 }
}; };
static const char *gcc_pxo_pll8[] = { static const char * const gcc_pxo_pll8[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
}; };
...@@ -81,7 +81,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = { ...@@ -81,7 +81,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
{ P_CXO, 5 } { P_CXO, 5 }
}; };
static const char *gcc_pxo_pll8_cxo[] = { static const char * const gcc_pxo_pll8_cxo[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"cxo", "cxo",
...@@ -1917,7 +1917,7 @@ static struct clk_rcg usb_fs1_xcvr_fs_src = { ...@@ -1917,7 +1917,7 @@ static struct clk_rcg usb_fs1_xcvr_fs_src = {
} }
}; };
static const char *usb_fs1_xcvr_fs_src_p[] = { "usb_fs1_xcvr_fs_src" }; static const char * const usb_fs1_xcvr_fs_src_p[] = { "usb_fs1_xcvr_fs_src" };
static struct clk_branch usb_fs1_xcvr_fs_clk = { static struct clk_branch usb_fs1_xcvr_fs_clk = {
.halt_reg = 0x2fcc, .halt_reg = 0x2fcc,
...@@ -1984,7 +1984,7 @@ static struct clk_rcg usb_fs2_xcvr_fs_src = { ...@@ -1984,7 +1984,7 @@ static struct clk_rcg usb_fs2_xcvr_fs_src = {
} }
}; };
static const char *usb_fs2_xcvr_fs_src_p[] = { "usb_fs2_xcvr_fs_src" }; static const char * const usb_fs2_xcvr_fs_src_p[] = { "usb_fs2_xcvr_fs_src" };
static struct clk_branch usb_fs2_xcvr_fs_clk = { static struct clk_branch usb_fs2_xcvr_fs_clk = {
.halt_reg = 0x2fcc, .halt_reg = 0x2fcc,
......
...@@ -51,7 +51,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = { ...@@ -51,7 +51,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = {
{ P_GPLL0, 1 }, { P_GPLL0, 1 },
}; };
static const char *gcc_xo_gpll0[] = { static const char * const gcc_xo_gpll0[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
}; };
...@@ -62,7 +62,7 @@ static const struct parent_map gcc_xo_gpll0_bimc_map[] = { ...@@ -62,7 +62,7 @@ static const struct parent_map gcc_xo_gpll0_bimc_map[] = {
{ P_BIMC, 2 }, { P_BIMC, 2 },
}; };
static const char *gcc_xo_gpll0_bimc[] = { static const char * const gcc_xo_gpll0_bimc[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"bimc_pll_vote", "bimc_pll_vote",
...@@ -75,7 +75,7 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2a_map[] = { ...@@ -75,7 +75,7 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2a_map[] = {
{ P_GPLL2_AUX, 2 }, { P_GPLL2_AUX, 2 },
}; };
static const char *gcc_xo_gpll0a_gpll1_gpll2a[] = { static const char * const gcc_xo_gpll0a_gpll1_gpll2a[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll1_vote", "gpll1_vote",
...@@ -88,7 +88,7 @@ static const struct parent_map gcc_xo_gpll0_gpll2_map[] = { ...@@ -88,7 +88,7 @@ static const struct parent_map gcc_xo_gpll0_gpll2_map[] = {
{ P_GPLL2, 2 }, { P_GPLL2, 2 },
}; };
static const char *gcc_xo_gpll0_gpll2[] = { static const char * const gcc_xo_gpll0_gpll2[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll2_vote", "gpll2_vote",
...@@ -99,7 +99,7 @@ static const struct parent_map gcc_xo_gpll0a_map[] = { ...@@ -99,7 +99,7 @@ static const struct parent_map gcc_xo_gpll0a_map[] = {
{ P_GPLL0_AUX, 2 }, { P_GPLL0_AUX, 2 },
}; };
static const char *gcc_xo_gpll0a[] = { static const char * const gcc_xo_gpll0a[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
}; };
...@@ -111,7 +111,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_sleep_map[] = { ...@@ -111,7 +111,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_sleep_map[] = {
{ P_SLEEP_CLK, 6 }, { P_SLEEP_CLK, 6 },
}; };
static const char *gcc_xo_gpll0_gpll1a_sleep[] = { static const char * const gcc_xo_gpll0_gpll1a_sleep[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll1_vote", "gpll1_vote",
...@@ -124,7 +124,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_map[] = { ...@@ -124,7 +124,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_map[] = {
{ P_GPLL1_AUX, 2 }, { P_GPLL1_AUX, 2 },
}; };
static const char *gcc_xo_gpll0_gpll1a[] = { static const char * const gcc_xo_gpll0_gpll1a[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll1_vote", "gpll1_vote",
...@@ -135,7 +135,7 @@ static const struct parent_map gcc_xo_dsibyte_map[] = { ...@@ -135,7 +135,7 @@ static const struct parent_map gcc_xo_dsibyte_map[] = {
{ P_DSI0_PHYPLL_BYTE, 2 }, { P_DSI0_PHYPLL_BYTE, 2 },
}; };
static const char *gcc_xo_dsibyte[] = { static const char * const gcc_xo_dsibyte[] = {
"xo", "xo",
"dsi0pllbyte", "dsi0pllbyte",
}; };
...@@ -146,7 +146,7 @@ static const struct parent_map gcc_xo_gpll0a_dsibyte_map[] = { ...@@ -146,7 +146,7 @@ static const struct parent_map gcc_xo_gpll0a_dsibyte_map[] = {
{ P_DSI0_PHYPLL_BYTE, 1 }, { P_DSI0_PHYPLL_BYTE, 1 },
}; };
static const char *gcc_xo_gpll0a_dsibyte[] = { static const char * const gcc_xo_gpll0a_dsibyte[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"dsi0pllbyte", "dsi0pllbyte",
...@@ -158,7 +158,7 @@ static const struct parent_map gcc_xo_gpll0_dsiphy_map[] = { ...@@ -158,7 +158,7 @@ static const struct parent_map gcc_xo_gpll0_dsiphy_map[] = {
{ P_DSI0_PHYPLL_DSI, 2 }, { P_DSI0_PHYPLL_DSI, 2 },
}; };
static const char *gcc_xo_gpll0_dsiphy[] = { static const char * const gcc_xo_gpll0_dsiphy[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"dsi0pll", "dsi0pll",
...@@ -170,7 +170,7 @@ static const struct parent_map gcc_xo_gpll0a_dsiphy_map[] = { ...@@ -170,7 +170,7 @@ static const struct parent_map gcc_xo_gpll0a_dsiphy_map[] = {
{ P_DSI0_PHYPLL_DSI, 1 }, { P_DSI0_PHYPLL_DSI, 1 },
}; };
static const char *gcc_xo_gpll0a_dsiphy[] = { static const char * const gcc_xo_gpll0a_dsiphy[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"dsi0pll", "dsi0pll",
...@@ -183,7 +183,7 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2_map[] = { ...@@ -183,7 +183,7 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2_map[] = {
{ P_GPLL2, 2 }, { P_GPLL2, 2 },
}; };
static const char *gcc_xo_gpll0a_gpll1_gpll2[] = { static const char * const gcc_xo_gpll0a_gpll1_gpll2[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll1_vote", "gpll1_vote",
......
...@@ -125,7 +125,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = { ...@@ -125,7 +125,7 @@ static const struct parent_map gcc_pxo_pll8_map[] = {
{ P_PLL8, 3 } { P_PLL8, 3 }
}; };
static const char *gcc_pxo_pll8[] = { static const char * const gcc_pxo_pll8[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
}; };
...@@ -136,7 +136,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = { ...@@ -136,7 +136,7 @@ static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
{ P_CXO, 5 } { P_CXO, 5 }
}; };
static const char *gcc_pxo_pll8_cxo[] = { static const char * const gcc_pxo_pll8_cxo[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"cxo", "cxo",
...@@ -148,7 +148,7 @@ static const struct parent_map gcc_pxo_pll8_pll3_map[] = { ...@@ -148,7 +148,7 @@ static const struct parent_map gcc_pxo_pll8_pll3_map[] = {
{ P_PLL3, 6 } { P_PLL3, 6 }
}; };
static const char *gcc_pxo_pll8_pll3[] = { static const char * const gcc_pxo_pll8_pll3[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll3", "pll3",
...@@ -2085,7 +2085,7 @@ static struct clk_rcg usb_hsic_xcvr_fs_src = { ...@@ -2085,7 +2085,7 @@ static struct clk_rcg usb_hsic_xcvr_fs_src = {
} }
}; };
static const char *usb_hsic_xcvr_fs_src_p[] = { "usb_hsic_xcvr_fs_src" }; static const char * const usb_hsic_xcvr_fs_src_p[] = { "usb_hsic_xcvr_fs_src" };
static struct clk_branch usb_hsic_xcvr_fs_clk = { static struct clk_branch usb_hsic_xcvr_fs_clk = {
.halt_reg = 0x2fc8, .halt_reg = 0x2fc8,
...@@ -2181,7 +2181,7 @@ static struct clk_rcg usb_fs1_xcvr_fs_src = { ...@@ -2181,7 +2181,7 @@ static struct clk_rcg usb_fs1_xcvr_fs_src = {
} }
}; };
static const char *usb_fs1_xcvr_fs_src_p[] = { "usb_fs1_xcvr_fs_src" }; static const char * const usb_fs1_xcvr_fs_src_p[] = { "usb_fs1_xcvr_fs_src" };
static struct clk_branch usb_fs1_xcvr_fs_clk = { static struct clk_branch usb_fs1_xcvr_fs_clk = {
.halt_reg = 0x2fcc, .halt_reg = 0x2fcc,
...@@ -2248,7 +2248,7 @@ static struct clk_rcg usb_fs2_xcvr_fs_src = { ...@@ -2248,7 +2248,7 @@ static struct clk_rcg usb_fs2_xcvr_fs_src = {
} }
}; };
static const char *usb_fs2_xcvr_fs_src_p[] = { "usb_fs2_xcvr_fs_src" }; static const char * const usb_fs2_xcvr_fs_src_p[] = { "usb_fs2_xcvr_fs_src" };
static struct clk_branch usb_fs2_xcvr_fs_clk = { static struct clk_branch usb_fs2_xcvr_fs_clk = {
.halt_reg = 0x2fcc, .halt_reg = 0x2fcc,
......
...@@ -44,7 +44,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = { ...@@ -44,7 +44,7 @@ static const struct parent_map gcc_xo_gpll0_map[] = {
{ P_GPLL0, 1 } { P_GPLL0, 1 }
}; };
static const char *gcc_xo_gpll0[] = { static const char * const gcc_xo_gpll0[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
}; };
...@@ -55,7 +55,7 @@ static const struct parent_map gcc_xo_gpll0_gpll4_map[] = { ...@@ -55,7 +55,7 @@ static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
{ P_GPLL4, 5 } { P_GPLL4, 5 }
}; };
static const char *gcc_xo_gpll0_gpll4[] = { static const char * const gcc_xo_gpll0_gpll4[] = {
"xo", "xo",
"gpll0_vote", "gpll0_vote",
"gpll4_vote", "gpll4_vote",
......
...@@ -71,7 +71,7 @@ static const struct parent_map lcc_pxo_pll4_map[] = { ...@@ -71,7 +71,7 @@ static const struct parent_map lcc_pxo_pll4_map[] = {
{ P_PLL4, 2 } { P_PLL4, 2 }
}; };
static const char *lcc_pxo_pll4[] = { static const char * const lcc_pxo_pll4[] = {
"pxo", "pxo",
"pll4_vote", "pll4_vote",
}; };
...@@ -146,7 +146,7 @@ static struct clk_rcg mi2s_osr_src = { ...@@ -146,7 +146,7 @@ static struct clk_rcg mi2s_osr_src = {
}, },
}; };
static const char *lcc_mi2s_parents[] = { static const char * const lcc_mi2s_parents[] = {
"mi2s_osr_src", "mi2s_osr_src",
}; };
...@@ -340,7 +340,7 @@ static struct clk_rcg spdif_src = { ...@@ -340,7 +340,7 @@ static struct clk_rcg spdif_src = {
}, },
}; };
static const char *lcc_spdif_parents[] = { static const char * const lcc_spdif_parents[] = {
"spdif_src", "spdif_src",
}; };
......
...@@ -57,7 +57,7 @@ static const struct parent_map lcc_pxo_pll4_map[] = { ...@@ -57,7 +57,7 @@ static const struct parent_map lcc_pxo_pll4_map[] = {
{ P_PLL4, 2 } { P_PLL4, 2 }
}; };
static const char *lcc_pxo_pll4[] = { static const char * const lcc_pxo_pll4[] = {
"pxo", "pxo",
"pll4_vote", "pll4_vote",
}; };
...@@ -127,7 +127,7 @@ static struct clk_rcg mi2s_osr_src = { ...@@ -127,7 +127,7 @@ static struct clk_rcg mi2s_osr_src = {
}, },
}; };
static const char *lcc_mi2s_parents[] = { static const char * const lcc_mi2s_parents[] = {
"mi2s_osr_src", "mi2s_osr_src",
}; };
...@@ -233,7 +233,7 @@ static struct clk_rcg prefix##_osr_src = { \ ...@@ -233,7 +233,7 @@ static struct clk_rcg prefix##_osr_src = { \
}, \ }, \
}; \ }; \
\ \
static const char *lcc_##prefix##_parents[] = { \ static const char * const lcc_##prefix##_parents[] = { \
#prefix "_osr_src", \ #prefix "_osr_src", \
}; \ }; \
\ \
...@@ -445,7 +445,7 @@ static struct clk_rcg slimbus_src = { ...@@ -445,7 +445,7 @@ static struct clk_rcg slimbus_src = {
}, },
}; };
static const char *lcc_slimbus_parents[] = { static const char * const lcc_slimbus_parents[] = {
"slimbus_src", "slimbus_src",
}; };
......
...@@ -53,7 +53,7 @@ static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = { ...@@ -53,7 +53,7 @@ static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = {
{ P_GPLL0, 5 } { P_GPLL0, 5 }
}; };
static const char *mmcc_xo_mmpll0_mmpll1_gpll0[] = { static const char * const mmcc_xo_mmpll0_mmpll1_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -69,7 +69,7 @@ static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = { ...@@ -69,7 +69,7 @@ static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = {
{ P_DSI1PLL, 3 } { P_DSI1PLL, 3 }
}; };
static const char *mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = { static const char * const mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"hdmipll", "hdmipll",
...@@ -86,7 +86,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = { ...@@ -86,7 +86,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = {
{ P_MMPLL2, 3 } { P_MMPLL2, 3 }
}; };
static const char *mmcc_xo_mmpll0_1_2_gpll0[] = { static const char * const mmcc_xo_mmpll0_1_2_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -102,7 +102,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = { ...@@ -102,7 +102,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = {
{ P_MMPLL3, 3 } { P_MMPLL3, 3 }
}; };
static const char *mmcc_xo_mmpll0_1_3_gpll0[] = { static const char * const mmcc_xo_mmpll0_1_3_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -119,7 +119,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = { ...@@ -119,7 +119,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = {
{ P_DSI1PLL, 2 } { P_DSI1PLL, 2 }
}; };
static const char *mmcc_xo_dsi_hdmi_edp[] = { static const char * const mmcc_xo_dsi_hdmi_edp[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
...@@ -137,7 +137,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = { ...@@ -137,7 +137,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = {
{ P_DSI1PLL, 2 } { P_DSI1PLL, 2 }
}; };
static const char *mmcc_xo_dsi_hdmi_edp_gpll0[] = { static const char * const mmcc_xo_dsi_hdmi_edp_gpll0[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
...@@ -155,7 +155,7 @@ static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = { ...@@ -155,7 +155,7 @@ static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = {
{ P_DSI1PLL_BYTE, 2 } { P_DSI1PLL_BYTE, 2 }
}; };
static const char *mmcc_xo_dsibyte_hdmi_edp_gpll0[] = { static const char * const mmcc_xo_dsibyte_hdmi_edp_gpll0[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
...@@ -172,7 +172,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll0_map[] = { ...@@ -172,7 +172,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll0_map[] = {
{ P_MMPLL4, 3 } { P_MMPLL4, 3 }
}; };
static const char *mmcc_xo_mmpll0_1_4_gpll0[] = { static const char * const mmcc_xo_mmpll0_1_4_gpll0[] = {
"xo", "xo",
"mmpll0", "mmpll0",
"mmpll1", "mmpll1",
...@@ -189,7 +189,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_map[] = { ...@@ -189,7 +189,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_map[] = {
{ P_GPLL1, 4 } { P_GPLL1, 4 }
}; };
static const char *mmcc_xo_mmpll0_1_4_gpll1_0[] = { static const char * const mmcc_xo_mmpll0_1_4_gpll1_0[] = {
"xo", "xo",
"mmpll0", "mmpll0",
"mmpll1", "mmpll1",
...@@ -208,7 +208,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_sleep_map[] = { ...@@ -208,7 +208,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_sleep_map[] = {
{ P_MMSLEEP, 6 } { P_MMSLEEP, 6 }
}; };
static const char *mmcc_xo_mmpll0_1_4_gpll1_0_sleep[] = { static const char * const mmcc_xo_mmpll0_1_4_gpll1_0_sleep[] = {
"xo", "xo",
"mmpll0", "mmpll0",
"mmpll1", "mmpll1",
......
...@@ -50,7 +50,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_map[] = { ...@@ -50,7 +50,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_map[] = {
{ P_PLL2, 1 } { P_PLL2, 1 }
}; };
static const char *mmcc_pxo_pll8_pll2[] = { static const char * const mmcc_pxo_pll8_pll2[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll2", "pll2",
...@@ -63,7 +63,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_pll3_map[] = { ...@@ -63,7 +63,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_pll3_map[] = {
{ P_PLL3, 3 } { P_PLL3, 3 }
}; };
static const char *mmcc_pxo_pll8_pll2_pll15[] = { static const char * const mmcc_pxo_pll8_pll2_pll15[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll2", "pll2",
...@@ -77,7 +77,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_pll15_map[] = { ...@@ -77,7 +77,7 @@ static const struct parent_map mmcc_pxo_pll8_pll2_pll15_map[] = {
{ P_PLL15, 3 } { P_PLL15, 3 }
}; };
static const char *mmcc_pxo_pll8_pll2_pll3[] = { static const char * const mmcc_pxo_pll8_pll2_pll3[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll2", "pll2",
...@@ -579,7 +579,7 @@ static const struct clk_ops clk_ops_pix_rdi = { ...@@ -579,7 +579,7 @@ static const struct clk_ops clk_ops_pix_rdi = {
.determine_rate = __clk_mux_determine_rate, .determine_rate = __clk_mux_determine_rate,
}; };
static const char *pix_rdi_parents[] = { static const char * const pix_rdi_parents[] = {
"csi0_clk", "csi0_clk",
"csi1_clk", "csi1_clk",
"csi2_clk", "csi2_clk",
...@@ -709,7 +709,7 @@ static struct clk_rcg csiphytimer_src = { ...@@ -709,7 +709,7 @@ static struct clk_rcg csiphytimer_src = {
}, },
}; };
static const char *csixphy_timer_src[] = { "csiphytimer_src" }; static const char * const csixphy_timer_src[] = { "csiphytimer_src" };
static struct clk_branch csiphy0_timer_clk = { static struct clk_branch csiphy0_timer_clk = {
.halt_reg = 0x01e8, .halt_reg = 0x01e8,
...@@ -1385,7 +1385,7 @@ static const struct parent_map mmcc_pxo_hdmi_map[] = { ...@@ -1385,7 +1385,7 @@ static const struct parent_map mmcc_pxo_hdmi_map[] = {
{ P_HDMI_PLL, 3 } { P_HDMI_PLL, 3 }
}; };
static const char *mmcc_pxo_hdmi[] = { static const char * const mmcc_pxo_hdmi[] = {
"pxo", "pxo",
"hdmi_pll", "hdmi_pll",
}; };
...@@ -1428,7 +1428,7 @@ static struct clk_rcg tv_src = { ...@@ -1428,7 +1428,7 @@ static struct clk_rcg tv_src = {
}, },
}; };
static const char *tv_src_name[] = { "tv_src" }; static const char * const tv_src_name[] = { "tv_src" };
static struct clk_branch tv_enc_clk = { static struct clk_branch tv_enc_clk = {
.halt_reg = 0x01d4, .halt_reg = 0x01d4,
......
...@@ -56,7 +56,7 @@ static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = { ...@@ -56,7 +56,7 @@ static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = {
{ P_GPLL0, 5 } { P_GPLL0, 5 }
}; };
static const char *mmcc_xo_mmpll0_mmpll1_gpll0[] = { static const char * const mmcc_xo_mmpll0_mmpll1_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -72,7 +72,7 @@ static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = { ...@@ -72,7 +72,7 @@ static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = {
{ P_DSI1PLL, 3 } { P_DSI1PLL, 3 }
}; };
static const char *mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = { static const char * const mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"hdmipll", "hdmipll",
...@@ -89,7 +89,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = { ...@@ -89,7 +89,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = {
{ P_MMPLL2, 3 } { P_MMPLL2, 3 }
}; };
static const char *mmcc_xo_mmpll0_1_2_gpll0[] = { static const char * const mmcc_xo_mmpll0_1_2_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -105,7 +105,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = { ...@@ -105,7 +105,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = {
{ P_MMPLL3, 3 } { P_MMPLL3, 3 }
}; };
static const char *mmcc_xo_mmpll0_1_3_gpll0[] = { static const char * const mmcc_xo_mmpll0_1_3_gpll0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -121,7 +121,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_gpll1_0_map[] = { ...@@ -121,7 +121,7 @@ static const struct parent_map mmcc_xo_mmpll0_1_gpll1_0_map[] = {
{ P_GPLL1, 4 } { P_GPLL1, 4 }
}; };
static const char *mmcc_xo_mmpll0_1_gpll1_0[] = { static const char * const mmcc_xo_mmpll0_1_gpll1_0[] = {
"xo", "xo",
"mmpll0_vote", "mmpll0_vote",
"mmpll1_vote", "mmpll1_vote",
...@@ -138,7 +138,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = { ...@@ -138,7 +138,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = {
{ P_DSI1PLL, 2 } { P_DSI1PLL, 2 }
}; };
static const char *mmcc_xo_dsi_hdmi_edp[] = { static const char * const mmcc_xo_dsi_hdmi_edp[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
...@@ -156,7 +156,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = { ...@@ -156,7 +156,7 @@ static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = {
{ P_DSI1PLL, 2 } { P_DSI1PLL, 2 }
}; };
static const char *mmcc_xo_dsi_hdmi_edp_gpll0[] = { static const char * const mmcc_xo_dsi_hdmi_edp_gpll0[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
...@@ -174,7 +174,7 @@ static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = { ...@@ -174,7 +174,7 @@ static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = {
{ P_DSI1PLL_BYTE, 2 } { P_DSI1PLL_BYTE, 2 }
}; };
static const char *mmcc_xo_dsibyte_hdmi_edp_gpll0[] = { static const char * const mmcc_xo_dsibyte_hdmi_edp_gpll0[] = {
"xo", "xo",
"edp_link_clk", "edp_link_clk",
"hdmipll", "hdmipll",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment