Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-sdm660: Move parent tables after PLLs

In the next patch we're going to change these tables to reference the
PLL structures directly. Let's move them here so the diff is easier to
read. No functional change in this patch.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>

+102 -102
+102 -102
drivers/clk/qcom/gcc-sdm660.c
··· 37 37 P_GPLL1_EARLY_DIV, 38 38 }; 39 39 40 - static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div[] = { 41 - { P_XO, 0 }, 42 - { P_GPLL0, 1 }, 43 - { P_GPLL0_EARLY_DIV, 6 }, 44 - }; 45 - 46 - static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div[] = { 47 - "xo", 48 - "gpll0", 49 - "gpll0_early_div", 50 - }; 51 - 52 - static const struct parent_map gcc_parent_map_xo_gpll0[] = { 53 - { P_XO, 0 }, 54 - { P_GPLL0, 1 }, 55 - }; 56 - 57 - static const char * const gcc_parent_names_xo_gpll0[] = { 58 - "xo", 59 - "gpll0", 60 - }; 61 - 62 - static const struct parent_map gcc_parent_map_xo_gpll0_sleep_clk_gpll0_early_div[] = { 63 - { P_XO, 0 }, 64 - { P_GPLL0, 1 }, 65 - { P_SLEEP_CLK, 5 }, 66 - { P_GPLL0_EARLY_DIV, 6 }, 67 - }; 68 - 69 - static const char * const gcc_parent_names_xo_gpll0_sleep_clk_gpll0_early_div[] = { 70 - "xo", 71 - "gpll0", 72 - "sleep_clk", 73 - "gpll0_early_div", 74 - }; 75 - 76 - static const struct parent_map gcc_parent_map_xo_sleep_clk[] = { 77 - { P_XO, 0 }, 78 - { P_SLEEP_CLK, 5 }, 79 - }; 80 - 81 - static const char * const gcc_parent_names_xo_sleep_clk[] = { 82 - "xo", 83 - "sleep_clk", 84 - }; 85 - 86 - static const struct parent_map gcc_parent_map_xo_gpll4[] = { 87 - { P_XO, 0 }, 88 - { P_GPLL4, 5 }, 89 - }; 90 - 91 - static const char * const gcc_parent_names_xo_gpll4[] = { 92 - "xo", 93 - "gpll4", 94 - }; 95 - 96 - static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div_gpll1_gpll4_gpll1_early_div[] = { 97 - { P_XO, 0 }, 98 - { P_GPLL0, 1 }, 99 - { P_GPLL0_EARLY_DIV, 3 }, 100 - { P_GPLL1, 4 }, 101 - { P_GPLL4, 5 }, 102 - { P_GPLL1_EARLY_DIV, 6 }, 103 - }; 104 - 105 - static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div_gpll1_gpll4_gpll1_early_div[] = { 106 - "xo", 107 - "gpll0", 108 - "gpll0_early_div", 109 - "gpll1", 110 - "gpll4", 111 - "gpll1_early_div", 112 - }; 113 - 114 - static const struct parent_map gcc_parent_map_xo_gpll0_gpll4_gpll0_early_div[] = { 115 - { P_XO, 0 }, 116 - { P_GPLL0, 1 }, 117 - { P_GPLL4, 5 }, 118 - { P_GPLL0_EARLY_DIV, 6 }, 119 - }; 120 - 121 - static const char * const gcc_parent_names_xo_gpll0_gpll4_gpll0_early_div[] = { 122 - "xo", 123 - "gpll0", 124 - "gpll4", 125 - "gpll0_early_div", 126 - }; 127 - 128 - static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div_gpll4[] = { 129 - { P_XO, 0 }, 130 - { P_GPLL0, 1 }, 131 - { P_GPLL0_EARLY_DIV, 2 }, 132 - { P_GPLL4, 5 }, 133 - }; 134 - 135 - static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div_gpll4[] = { 136 - "xo", 137 - "gpll0", 138 - "gpll0_early_div", 139 - "gpll4", 140 - }; 141 - 142 40 static struct clk_fixed_factor xo = { 143 41 .mult = 1, 144 42 .div = 1, ··· 147 249 .num_parents = 1, 148 250 .ops = &clk_alpha_pll_postdiv_ops, 149 251 }, 252 + }; 253 + 254 + static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div[] = { 255 + { P_XO, 0 }, 256 + { P_GPLL0, 1 }, 257 + { P_GPLL0_EARLY_DIV, 6 }, 258 + }; 259 + 260 + static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div[] = { 261 + "xo", 262 + "gpll0", 263 + "gpll0_early_div", 264 + }; 265 + 266 + static const struct parent_map gcc_parent_map_xo_gpll0[] = { 267 + { P_XO, 0 }, 268 + { P_GPLL0, 1 }, 269 + }; 270 + 271 + static const char * const gcc_parent_names_xo_gpll0[] = { 272 + "xo", 273 + "gpll0", 274 + }; 275 + 276 + static const struct parent_map gcc_parent_map_xo_gpll0_sleep_clk_gpll0_early_div[] = { 277 + { P_XO, 0 }, 278 + { P_GPLL0, 1 }, 279 + { P_SLEEP_CLK, 5 }, 280 + { P_GPLL0_EARLY_DIV, 6 }, 281 + }; 282 + 283 + static const char * const gcc_parent_names_xo_gpll0_sleep_clk_gpll0_early_div[] = { 284 + "xo", 285 + "gpll0", 286 + "sleep_clk", 287 + "gpll0_early_div", 288 + }; 289 + 290 + static const struct parent_map gcc_parent_map_xo_sleep_clk[] = { 291 + { P_XO, 0 }, 292 + { P_SLEEP_CLK, 5 }, 293 + }; 294 + 295 + static const char * const gcc_parent_names_xo_sleep_clk[] = { 296 + "xo", 297 + "sleep_clk", 298 + }; 299 + 300 + static const struct parent_map gcc_parent_map_xo_gpll4[] = { 301 + { P_XO, 0 }, 302 + { P_GPLL4, 5 }, 303 + }; 304 + 305 + static const char * const gcc_parent_names_xo_gpll4[] = { 306 + "xo", 307 + "gpll4", 308 + }; 309 + 310 + static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div_gpll1_gpll4_gpll1_early_div[] = { 311 + { P_XO, 0 }, 312 + { P_GPLL0, 1 }, 313 + { P_GPLL0_EARLY_DIV, 3 }, 314 + { P_GPLL1, 4 }, 315 + { P_GPLL4, 5 }, 316 + { P_GPLL1_EARLY_DIV, 6 }, 317 + }; 318 + 319 + static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div_gpll1_gpll4_gpll1_early_div[] = { 320 + "xo", 321 + "gpll0", 322 + "gpll0_early_div", 323 + "gpll1", 324 + "gpll4", 325 + "gpll1_early_div", 326 + }; 327 + 328 + static const struct parent_map gcc_parent_map_xo_gpll0_gpll4_gpll0_early_div[] = { 329 + { P_XO, 0 }, 330 + { P_GPLL0, 1 }, 331 + { P_GPLL4, 5 }, 332 + { P_GPLL0_EARLY_DIV, 6 }, 333 + }; 334 + 335 + static const char * const gcc_parent_names_xo_gpll0_gpll4_gpll0_early_div[] = { 336 + "xo", 337 + "gpll0", 338 + "gpll4", 339 + "gpll0_early_div", 340 + }; 341 + 342 + static const struct parent_map gcc_parent_map_xo_gpll0_gpll0_early_div_gpll4[] = { 343 + { P_XO, 0 }, 344 + { P_GPLL0, 1 }, 345 + { P_GPLL0_EARLY_DIV, 2 }, 346 + { P_GPLL4, 5 }, 347 + }; 348 + 349 + static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div_gpll4[] = { 350 + "xo", 351 + "gpll0", 352 + "gpll0_early_div", 353 + "gpll4", 150 354 }; 151 355 152 356 static const struct freq_tbl ftbl_blsp1_qup1_i2c_apps_clk_src[] = {