diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-05-06 17:38:00 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-05-06 17:38:00 -0400 |
commit | 4183bef2e093a2f0aab45f2d5fed82b0e02aeacf (patch) | |
tree | e84c484db3746a0f3ead0fb7a2bb9e5a42b89e85 /arch/arm/mach-omap2/io.c | |
parent | 662478d060a39b8faf2b1fe2fbbb212556c2e052 (diff) | |
parent | 775c4f66fd855e68a98fc5049003810fe98e2e20 (diff) |
Merge branch 'late/dt' into next/dt2
This is support for the ARM Chromebook, originally scheduled
as a "late" pull request. Since it's already late now, we
can combine this into the existing next/dt2 branch.
* late/dt:
ARM: exynos: dts: cros5250: add EC device
ARM: dts: Add sbs-battery for exynos5250-snow
ARM: dts: Add i2c-arbitrator bus for exynos5250-snow
ARM: dts: Add chip-id controller node on Exynos4/5 SoC
ARM: EXYNOS: Create virtual I/O mapping for Chip-ID controller using device tree
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 2bef5a7e6af8..e210fa830f8d 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -55,6 +55,12 @@ | |||
55 | #include "prm44xx.h" | 55 | #include "prm44xx.h" |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * omap_clk_init: points to a function that does the SoC-specific | ||
59 | * clock initializations | ||
60 | */ | ||
61 | int (*omap_clk_init)(void); | ||
62 | |||
63 | /* | ||
58 | * The machine specific code may provide the extra mapping besides the | 64 | * The machine specific code may provide the extra mapping besides the |
59 | * default mapping provided here. | 65 | * default mapping provided here. |
60 | */ | 66 | */ |
@@ -406,7 +412,7 @@ void __init omap2420_init_early(void) | |||
406 | omap242x_clockdomains_init(); | 412 | omap242x_clockdomains_init(); |
407 | omap2420_hwmod_init(); | 413 | omap2420_hwmod_init(); |
408 | omap_hwmod_init_postsetup(); | 414 | omap_hwmod_init_postsetup(); |
409 | omap2420_clk_init(); | 415 | omap_clk_init = omap2420_clk_init; |
410 | } | 416 | } |
411 | 417 | ||
412 | void __init omap2420_init_late(void) | 418 | void __init omap2420_init_late(void) |
@@ -436,7 +442,7 @@ void __init omap2430_init_early(void) | |||
436 | omap243x_clockdomains_init(); | 442 | omap243x_clockdomains_init(); |
437 | omap2430_hwmod_init(); | 443 | omap2430_hwmod_init(); |
438 | omap_hwmod_init_postsetup(); | 444 | omap_hwmod_init_postsetup(); |
439 | omap2430_clk_init(); | 445 | omap_clk_init = omap2430_clk_init; |
440 | } | 446 | } |
441 | 447 | ||
442 | void __init omap2430_init_late(void) | 448 | void __init omap2430_init_late(void) |
@@ -471,7 +477,7 @@ void __init omap3_init_early(void) | |||
471 | omap3xxx_clockdomains_init(); | 477 | omap3xxx_clockdomains_init(); |
472 | omap3xxx_hwmod_init(); | 478 | omap3xxx_hwmod_init(); |
473 | omap_hwmod_init_postsetup(); | 479 | omap_hwmod_init_postsetup(); |
474 | omap3xxx_clk_init(); | 480 | omap_clk_init = omap3xxx_clk_init; |
475 | } | 481 | } |
476 | 482 | ||
477 | void __init omap3430_init_early(void) | 483 | void __init omap3430_init_early(void) |
@@ -509,7 +515,7 @@ void __init ti81xx_init_early(void) | |||
509 | omap3xxx_clockdomains_init(); | 515 | omap3xxx_clockdomains_init(); |
510 | omap3xxx_hwmod_init(); | 516 | omap3xxx_hwmod_init(); |
511 | omap_hwmod_init_postsetup(); | 517 | omap_hwmod_init_postsetup(); |
512 | omap3xxx_clk_init(); | 518 | omap_clk_init = omap3xxx_clk_init; |
513 | } | 519 | } |
514 | 520 | ||
515 | void __init omap3_init_late(void) | 521 | void __init omap3_init_late(void) |
@@ -577,7 +583,7 @@ void __init am33xx_init_early(void) | |||
577 | am33xx_clockdomains_init(); | 583 | am33xx_clockdomains_init(); |
578 | am33xx_hwmod_init(); | 584 | am33xx_hwmod_init(); |
579 | omap_hwmod_init_postsetup(); | 585 | omap_hwmod_init_postsetup(); |
580 | am33xx_clk_init(); | 586 | omap_clk_init = am33xx_clk_init; |
581 | } | 587 | } |
582 | #endif | 588 | #endif |
583 | 589 | ||
@@ -602,7 +608,7 @@ void __init omap4430_init_early(void) | |||
602 | omap44xx_clockdomains_init(); | 608 | omap44xx_clockdomains_init(); |
603 | omap44xx_hwmod_init(); | 609 | omap44xx_hwmod_init(); |
604 | omap_hwmod_init_postsetup(); | 610 | omap_hwmod_init_postsetup(); |
605 | omap4xxx_clk_init(); | 611 | omap_clk_init = omap4xxx_clk_init; |
606 | } | 612 | } |
607 | 613 | ||
608 | void __init omap4430_init_late(void) | 614 | void __init omap4430_init_late(void) |