diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 12:15:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 12:15:46 -0500 |
commit | 4025fa97ff39db054b47b9cdb9f3980480637668 (patch) | |
tree | 1be796bfa9b2d7f8b6f9a05034f9cede3eb28e8d /arch/arm/mach-omap2/io.c | |
parent | c397f8fa4379040bada53256c848e62c8b060392 (diff) | |
parent | 11fe05de8b73816b7d12309ae55ca61c531c4e06 (diff) |
Merge tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC non-critical fixes from Olof Johansson:
"Here's a small collection of fixes accrued during the last release
that weren't considered severe enough to merge during the -rc series.
A few of these are around resurrecting TI81xx support that's been
broken for quite a while, the rest are smaller fixes -- most for PXA
but a few across the board.
There are also some updates to MAINTAINERS here, in particular for
Broadcom platforms"
* tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
MAINTAINERS: fix git repositories for Broadcom SoCs
ARM: pxa: fix broken isa interrupts for zeus and viper
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3
ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken
ARM: AM43xx: hwmod: set DSS submodule parent hwmods
ARM: OMAP2+: hwmod: print error if wait_target_ready() failed
MAINTAINERS: add maintainer for OMAP hwmod data
ARM: OMAP2+: Disable omap3 PM init for ti81xx
ARM: OMAP2+: Fix reboot for 81xx
ARM: OMAP2+: Fix dm814 and dm816 for clocks and timer init
ARM: OMAP2+: Fix ti81xx class type
ARM: OMAP2+: Fix ti81xx devtype
ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks
MAINTAINERS: add a git entry for BMIPS-based BCM7xxx SoCs
MAINTAINERS: add a git entry for BCM7xxx ARM-based SoCs
MAINTAINERS: update Broadcom Cygnus SoC git tree
MAINTAINERS: move BCM63xx ARM-based SoCs git tree
hx4700: regulator: declare full constraints
ARM: pxa: add regulator_has_full_constraints to spitz board file
ARM: pxa: add regulator_has_full_constraints to poodle board file
...
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index a1bd6affb508..e4a5630149e1 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -492,9 +492,28 @@ void __init am35xx_init_early(void) | |||
492 | omap_clk_soc_init = am35xx_dt_clk_init; | 492 | omap_clk_soc_init = am35xx_dt_clk_init; |
493 | } | 493 | } |
494 | 494 | ||
495 | void __init ti81xx_init_early(void) | 495 | void __init ti814x_init_early(void) |
496 | { | 496 | { |
497 | omap2_set_globals_tap(OMAP343X_CLASS, | 497 | omap2_set_globals_tap(TI814X_CLASS, |
498 | OMAP2_L4_IO_ADDRESS(TI81XX_TAP_BASE)); | ||
499 | omap2_set_globals_control(OMAP2_L4_IO_ADDRESS(TI81XX_CTRL_BASE), | ||
500 | NULL); | ||
501 | omap2_set_globals_prm(OMAP2_L4_IO_ADDRESS(TI81XX_PRCM_BASE)); | ||
502 | omap2_set_globals_cm(OMAP2_L4_IO_ADDRESS(TI81XX_PRCM_BASE), NULL); | ||
503 | omap3xxx_check_revision(); | ||
504 | ti81xx_check_features(); | ||
505 | omap3xxx_voltagedomains_init(); | ||
506 | omap3xxx_powerdomains_init(); | ||
507 | omap3xxx_clockdomains_init(); | ||
508 | omap3xxx_hwmod_init(); | ||
509 | omap_hwmod_init_postsetup(); | ||
510 | if (of_have_populated_dt()) | ||
511 | omap_clk_soc_init = ti81xx_dt_clk_init; | ||
512 | } | ||
513 | |||
514 | void __init ti816x_init_early(void) | ||
515 | { | ||
516 | omap2_set_globals_tap(TI816X_CLASS, | ||
498 | OMAP2_L4_IO_ADDRESS(TI81XX_TAP_BASE)); | 517 | OMAP2_L4_IO_ADDRESS(TI81XX_TAP_BASE)); |
499 | omap2_set_globals_control(OMAP2_L4_IO_ADDRESS(TI81XX_CTRL_BASE), | 518 | omap2_set_globals_control(OMAP2_L4_IO_ADDRESS(TI81XX_CTRL_BASE), |
500 | NULL); | 519 | NULL); |
@@ -509,8 +528,6 @@ void __init ti81xx_init_early(void) | |||
509 | omap_hwmod_init_postsetup(); | 528 | omap_hwmod_init_postsetup(); |
510 | if (of_have_populated_dt()) | 529 | if (of_have_populated_dt()) |
511 | omap_clk_soc_init = ti81xx_dt_clk_init; | 530 | omap_clk_soc_init = ti81xx_dt_clk_init; |
512 | else | ||
513 | omap_clk_soc_init = omap3xxx_clk_init; | ||
514 | } | 531 | } |
515 | 532 | ||
516 | void __init omap3_init_late(void) | 533 | void __init omap3_init_late(void) |
@@ -551,7 +568,6 @@ void __init am35xx_init_late(void) | |||
551 | void __init ti81xx_init_late(void) | 568 | void __init ti81xx_init_late(void) |
552 | { | 569 | { |
553 | omap_common_late_init(); | 570 | omap_common_late_init(); |
554 | omap3_pm_init(); | ||
555 | omap2_clk_enable_autoidle_all(); | 571 | omap2_clk_enable_autoidle_all(); |
556 | } | 572 | } |
557 | #endif | 573 | #endif |