aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/clock.c
diff options
context:
space:
mode:
authorSundar Iyer <sundar.iyer@stericsson.com>2010-12-03 10:05:52 -0500
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-08 07:15:12 -0500
commit592b2f254d68b6eb8665658cc7d8fc3cd61ebc94 (patch)
tree0c066274eb104a9056fd85fd4037b88657b9519f /arch/arm/mach-ux500/clock.c
parentf306954c9b69aa21bd26724c59ac8c98b7d6e003 (diff)
mach-ux500: clean up checkpatch spits
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r--arch/arm/mach-ux500/clock.c118
1 files changed, 59 insertions, 59 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c
index a7cd0d55828e..3d4e8eb403ba 100644
--- a/arch/arm/mach-ux500/clock.c
+++ b/arch/arm/mach-ux500/clock.c
@@ -335,92 +335,92 @@ static DEFINE_PRCMU_CLK(uiccclk, 0x4, 1, UICCCLK); /* v1 */
335 */ 335 */
336 336
337/* Peripheral Cluster #1 */ 337/* Peripheral Cluster #1 */
338static DEFINE_PRCC_CLK(1, i2c4, 10, 9, &clk_i2cclk); 338static DEFINE_PRCC_CLK(1, i2c4, 10, 9, &clk_i2cclk);
339static DEFINE_PRCC_CLK(1, gpio0, 9, -1, NULL); 339static DEFINE_PRCC_CLK(1, gpio0, 9, -1, NULL);
340static DEFINE_PRCC_CLK(1, slimbus0, 8, 8, &clk_slimclk); 340static DEFINE_PRCC_CLK(1, slimbus0, 8, 8, &clk_slimclk);
341static DEFINE_PRCC_CLK(1, spi3_ed, 7, 7, NULL); 341static DEFINE_PRCC_CLK(1, spi3_ed, 7, 7, NULL);
342static DEFINE_PRCC_CLK(1, spi3_v1, 7, -1, NULL); 342static DEFINE_PRCC_CLK(1, spi3_v1, 7, -1, NULL);
343static DEFINE_PRCC_CLK(1, i2c2, 6, 6, &clk_i2cclk); 343static DEFINE_PRCC_CLK(1, i2c2, 6, 6, &clk_i2cclk);
344static DEFINE_PRCC_CLK(1, sdi0, 5, 5, &clk_sdmmcclk); 344static DEFINE_PRCC_CLK(1, sdi0, 5, 5, &clk_sdmmcclk);
345static DEFINE_PRCC_CLK(1, msp1_ed, 4, 4, &clk_msp02clk); 345static DEFINE_PRCC_CLK(1, msp1_ed, 4, 4, &clk_msp02clk);
346static DEFINE_PRCC_CLK(1, msp1_v1, 4, 4, &clk_msp1clk); 346static DEFINE_PRCC_CLK(1, msp1_v1, 4, 4, &clk_msp1clk);
347static DEFINE_PRCC_CLK(1, msp0, 3, 3, &clk_msp02clk); 347static DEFINE_PRCC_CLK(1, msp0, 3, 3, &clk_msp02clk);
348static DEFINE_PRCC_CLK(1, i2c1, 2, 2, &clk_i2cclk); 348static DEFINE_PRCC_CLK(1, i2c1, 2, 2, &clk_i2cclk);
349static DEFINE_PRCC_CLK(1, uart1, 1, 1, &clk_uartclk); 349static DEFINE_PRCC_CLK(1, uart1, 1, 1, &clk_uartclk);
350static DEFINE_PRCC_CLK(1, uart0, 0, 0, &clk_uartclk); 350static DEFINE_PRCC_CLK(1, uart0, 0, 0, &clk_uartclk);
351 351
352/* Peripheral Cluster #2 */ 352/* Peripheral Cluster #2 */
353 353
354static DEFINE_PRCC_CLK(2, gpio1_ed, 12, -1, NULL); 354static DEFINE_PRCC_CLK(2, gpio1_ed, 12, -1, NULL);
355static DEFINE_PRCC_CLK(2, ssitx_ed, 11, -1, NULL); 355static DEFINE_PRCC_CLK(2, ssitx_ed, 11, -1, NULL);
356static DEFINE_PRCC_CLK(2, ssirx_ed, 10, -1, NULL); 356static DEFINE_PRCC_CLK(2, ssirx_ed, 10, -1, NULL);
357static DEFINE_PRCC_CLK(2, spi0_ed, 9, -1, NULL); 357static DEFINE_PRCC_CLK(2, spi0_ed, 9, -1, NULL);
358static DEFINE_PRCC_CLK(2, sdi3_ed, 8, 6, &clk_sdmmcclk); 358static DEFINE_PRCC_CLK(2, sdi3_ed, 8, 6, &clk_sdmmcclk);
359static DEFINE_PRCC_CLK(2, sdi1_ed, 7, 5, &clk_sdmmcclk); 359static DEFINE_PRCC_CLK(2, sdi1_ed, 7, 5, &clk_sdmmcclk);
360static DEFINE_PRCC_CLK(2, msp2_ed, 6, 4, &clk_msp02clk); 360static DEFINE_PRCC_CLK(2, msp2_ed, 6, 4, &clk_msp02clk);
361static DEFINE_PRCC_CLK(2, sdi4_ed, 4, 2, &clk_sdmmcclk); 361static DEFINE_PRCC_CLK(2, sdi4_ed, 4, 2, &clk_sdmmcclk);
362static DEFINE_PRCC_CLK(2, pwl_ed, 3, 1, NULL); 362static DEFINE_PRCC_CLK(2, pwl_ed, 3, 1, NULL);
363static DEFINE_PRCC_CLK(2, spi1_ed, 2, -1, NULL); 363static DEFINE_PRCC_CLK(2, spi1_ed, 2, -1, NULL);
364static DEFINE_PRCC_CLK(2, spi2_ed, 1, -1, NULL); 364static DEFINE_PRCC_CLK(2, spi2_ed, 1, -1, NULL);
365static DEFINE_PRCC_CLK(2, i2c3_ed, 0, 0, &clk_i2cclk); 365static DEFINE_PRCC_CLK(2, i2c3_ed, 0, 0, &clk_i2cclk);
366 366
367static DEFINE_PRCC_CLK(2, gpio1_v1, 11, -1, NULL); 367static DEFINE_PRCC_CLK(2, gpio1_v1, 11, -1, NULL);
368static DEFINE_PRCC_CLK(2, ssitx_v1, 10, 7, NULL); 368static DEFINE_PRCC_CLK(2, ssitx_v1, 10, 7, NULL);
369static DEFINE_PRCC_CLK(2, ssirx_v1, 9, 6, NULL); 369static DEFINE_PRCC_CLK(2, ssirx_v1, 9, 6, NULL);
370static DEFINE_PRCC_CLK(2, spi0_v1, 8, -1, NULL); 370static DEFINE_PRCC_CLK(2, spi0_v1, 8, -1, NULL);
371static DEFINE_PRCC_CLK(2, sdi3_v1, 7, 5, &clk_sdmmcclk); 371static DEFINE_PRCC_CLK(2, sdi3_v1, 7, 5, &clk_sdmmcclk);
372static DEFINE_PRCC_CLK(2, sdi1_v1, 6, 4, &clk_sdmmcclk); 372static DEFINE_PRCC_CLK(2, sdi1_v1, 6, 4, &clk_sdmmcclk);
373static DEFINE_PRCC_CLK(2, msp2_v1, 5, 3, &clk_msp02clk); 373static DEFINE_PRCC_CLK(2, msp2_v1, 5, 3, &clk_msp02clk);
374static DEFINE_PRCC_CLK(2, sdi4_v1, 4, 2, &clk_sdmmcclk); 374static DEFINE_PRCC_CLK(2, sdi4_v1, 4, 2, &clk_sdmmcclk);
375static DEFINE_PRCC_CLK(2, pwl_v1, 3, 1, NULL); 375static DEFINE_PRCC_CLK(2, pwl_v1, 3, 1, NULL);
376static DEFINE_PRCC_CLK(2, spi1_v1, 2, -1, NULL); 376static DEFINE_PRCC_CLK(2, spi1_v1, 2, -1, NULL);
377static DEFINE_PRCC_CLK(2, spi2_v1, 1, -1, NULL); 377static DEFINE_PRCC_CLK(2, spi2_v1, 1, -1, NULL);
378static DEFINE_PRCC_CLK(2, i2c3_v1, 0, 0, &clk_i2cclk); 378static DEFINE_PRCC_CLK(2, i2c3_v1, 0, 0, &clk_i2cclk);
379 379
380/* Peripheral Cluster #3 */ 380/* Peripheral Cluster #3 */
381static DEFINE_PRCC_CLK(3, gpio2, 8, -1, NULL); 381static DEFINE_PRCC_CLK(3, gpio2, 8, -1, NULL);
382static DEFINE_PRCC_CLK(3, sdi5, 7, 7, &clk_sdmmcclk); 382static DEFINE_PRCC_CLK(3, sdi5, 7, 7, &clk_sdmmcclk);
383static DEFINE_PRCC_CLK(3, uart2, 6, 6, &clk_uartclk); 383static DEFINE_PRCC_CLK(3, uart2, 6, 6, &clk_uartclk);
384static DEFINE_PRCC_CLK(3, ske, 5, 5, &clk_32khz); 384static DEFINE_PRCC_CLK(3, ske, 5, 5, &clk_32khz);
385static DEFINE_PRCC_CLK(3, sdi2, 4, 4, &clk_sdmmcclk); 385static DEFINE_PRCC_CLK(3, sdi2, 4, 4, &clk_sdmmcclk);
386static DEFINE_PRCC_CLK(3, i2c0, 3, 3, &clk_i2cclk); 386static DEFINE_PRCC_CLK(3, i2c0, 3, 3, &clk_i2cclk);
387static DEFINE_PRCC_CLK(3, ssp1_ed, 2, 2, &clk_i2cclk); 387static DEFINE_PRCC_CLK(3, ssp1_ed, 2, 2, &clk_i2cclk);
388static DEFINE_PRCC_CLK(3, ssp0_ed, 1, 1, &clk_i2cclk); 388static DEFINE_PRCC_CLK(3, ssp0_ed, 1, 1, &clk_i2cclk);
389static DEFINE_PRCC_CLK(3, ssp1_v1, 2, 2, &clk_sspclk); 389static DEFINE_PRCC_CLK(3, ssp1_v1, 2, 2, &clk_sspclk);
390static DEFINE_PRCC_CLK(3, ssp0_v1, 1, 1, &clk_sspclk); 390static DEFINE_PRCC_CLK(3, ssp0_v1, 1, 1, &clk_sspclk);
391static DEFINE_PRCC_CLK(3, fsmc, 0, -1, NULL); 391static DEFINE_PRCC_CLK(3, fsmc, 0, -1, NULL);
392 392
393/* Peripheral Cluster #4 is in the always on domain */ 393/* Peripheral Cluster #4 is in the always on domain */
394 394
395/* Peripheral Cluster #5 */ 395/* Peripheral Cluster #5 */
396static DEFINE_PRCC_CLK(5, gpio3, 1, -1, NULL); 396static DEFINE_PRCC_CLK(5, gpio3, 1, -1, NULL);
397static DEFINE_PRCC_CLK(5, usb_ed, 0, 0, &clk_i2cclk); 397static DEFINE_PRCC_CLK(5, usb_ed, 0, 0, &clk_i2cclk);
398static DEFINE_PRCC_CLK(5, usb_v1, 0, 0, NULL); 398static DEFINE_PRCC_CLK(5, usb_v1, 0, 0, NULL);
399 399
400/* Peripheral Cluster #6 */ 400/* Peripheral Cluster #6 */
401 401
402/* MTU ID in data */ 402/* MTU ID in data */
403static DEFINE_PRCC_CLK_CUSTOM(6, mtu1_v1, 8, -1, NULL, clk_mtu_get_rate, 1); 403static DEFINE_PRCC_CLK_CUSTOM(6, mtu1_v1, 8, -1, NULL, clk_mtu_get_rate, 1);
404static DEFINE_PRCC_CLK_CUSTOM(6, mtu0_v1, 7, -1, NULL, clk_mtu_get_rate, 0); 404static DEFINE_PRCC_CLK_CUSTOM(6, mtu0_v1, 7, -1, NULL, clk_mtu_get_rate, 0);
405static DEFINE_PRCC_CLK(6, cfgreg_v1, 6, 6, NULL); 405static DEFINE_PRCC_CLK(6, cfgreg_v1, 6, 6, NULL);
406static DEFINE_PRCC_CLK(6, dmc_ed, 6, 6, NULL); 406static DEFINE_PRCC_CLK(6, dmc_ed, 6, 6, NULL);
407static DEFINE_PRCC_CLK(6, hash1, 5, -1, NULL); 407static DEFINE_PRCC_CLK(6, hash1, 5, -1, NULL);
408static DEFINE_PRCC_CLK(6, unipro_v1, 4, 1, &clk_uniproclk); 408static DEFINE_PRCC_CLK(6, unipro_v1, 4, 1, &clk_uniproclk);
409static DEFINE_PRCC_CLK(6, cryp1_ed, 4, -1, NULL); 409static DEFINE_PRCC_CLK(6, cryp1_ed, 4, -1, NULL);
410static DEFINE_PRCC_CLK(6, pka, 3, -1, NULL); 410static DEFINE_PRCC_CLK(6, pka, 3, -1, NULL);
411static DEFINE_PRCC_CLK(6, hash0, 2, -1, NULL); 411static DEFINE_PRCC_CLK(6, hash0, 2, -1, NULL);
412static DEFINE_PRCC_CLK(6, cryp0, 1, -1, NULL); 412static DEFINE_PRCC_CLK(6, cryp0, 1, -1, NULL);
413static DEFINE_PRCC_CLK(6, rng_ed, 0, 0, &clk_i2cclk); 413static DEFINE_PRCC_CLK(6, rng_ed, 0, 0, &clk_i2cclk);
414static DEFINE_PRCC_CLK(6, rng_v1, 0, 0, &clk_rngclk); 414static DEFINE_PRCC_CLK(6, rng_v1, 0, 0, &clk_rngclk);
415 415
416/* Peripheral Cluster #7 */ 416/* Peripheral Cluster #7 */
417 417
418static DEFINE_PRCC_CLK(7, tzpc0_ed, 4, -1, NULL); 418static DEFINE_PRCC_CLK(7, tzpc0_ed, 4, -1, NULL);
419/* MTU ID in data */ 419/* MTU ID in data */
420static DEFINE_PRCC_CLK_CUSTOM(7, mtu1_ed, 3, -1, NULL, clk_mtu_get_rate, 1); 420static DEFINE_PRCC_CLK_CUSTOM(7, mtu1_ed, 3, -1, NULL, clk_mtu_get_rate, 1);
421static DEFINE_PRCC_CLK_CUSTOM(7, mtu0_ed, 2, -1, NULL, clk_mtu_get_rate, 0); 421static DEFINE_PRCC_CLK_CUSTOM(7, mtu0_ed, 2, -1, NULL, clk_mtu_get_rate, 0);
422static DEFINE_PRCC_CLK(7, wdg_ed, 1, -1, NULL); 422static DEFINE_PRCC_CLK(7, wdg_ed, 1, -1, NULL);
423static DEFINE_PRCC_CLK(7, cfgreg_ed, 0, -1, NULL); 423static DEFINE_PRCC_CLK(7, cfgreg_ed, 0, -1, NULL);
424 424
425static struct clk clk_dummy_apb_pclk; 425static struct clk clk_dummy_apb_pclk;
426 426
@@ -523,7 +523,7 @@ static struct clk_lookup u8500_ed_clks[] = {
523 523
524static struct clk_lookup u8500_v1_clks[] = { 524static struct clk_lookup u8500_v1_clks[] = {
525 /* Peripheral Cluster #1 */ 525 /* Peripheral Cluster #1 */
526 CLK(i2c4, "nmk-i2c.4", NULL), 526 CLK(i2c4, "nmk-i2c.4", NULL),
527 CLK(spi3_v1, "spi3", NULL), 527 CLK(spi3_v1, "spi3", NULL),
528 CLK(msp1_v1, "msp1", NULL), 528 CLK(msp1_v1, "msp1", NULL),
529 529