kernel_optimize_test/arch/arm/mach-omap2
Jon Hunter e90b833ee1 ARM: OMAP4470: Fix OMAP4470 boot failure
OMAP4470 currently fails to boot, printing various messages such as ...

omap_hwmod: mpu: cannot clk_get main_clk dpll_mpu_m2_ck
omap_hwmod: mpu: cannot _init_clocks
------------[ cut here ]------------
WARNING: at arch/arm/mach-omap2/omap_hwmod.c:2062 _init+0x2a0/0x2e4()
omap_hwmod: mpu: couldn't init clocks
Modules linked in:
[<c001c7fc>] (unwind_backtrace+0x0/0xf4) from [<c0043c64>] (warn_slowpath_common+0x4c/0x64)
[<c0043c64>] (warn_slowpath_common+0x4c/0x64) from [<c0043d10>] (warn_slowpath_fmt+0x30/0x40)
[<c0043d10>] (warn_slowpath_fmt+0x30/0x40) from [<c0674208>] (_init+0x2a0/0x2e4)
[<c0674208>] (_init+0x2a0/0x2e4) from [<c067428c>] (omap_hwmod_setup_one+0x40/0x60)
[<c067428c>] (omap_hwmod_setup_one+0x40/0x60) from [<c0674280>] (omap_hwmod_setup_one+0x34/0x60)
[<c0674280>] (omap_hwmod_setup_one+0x34/0x60) from [<c06726f4>] (omap_dm_timer_init_one+0x30/0x250)
[<c06726f4>] (omap_dm_timer_init_one+0x30/0x250) from [<c0672930>] (omap2_gp_clockevent_init+0x1c/0x108)
[<c0672930>] (omap2_gp_clockevent_init+0x1c/0x108) from [<c0672c60>] (omap4_timer_init+0x10/0x5c)
[<c0672c60>] (omap4_timer_init+0x10/0x5c) from [<c066c418>] (time_init+0x20/0x30)
[<c066c418>] (time_init+0x20/0x30) from [<c0668814>] (start_kernel+0x1b0/0x304)
[<c0668814>] (start_kernel+0x1b0/0x304) from [<80008044>] (0x80008044)
---[ end trace 1b75b31a2719ed1c ]---

The problem is that currently none of the clocks are being registered for
OMAP4470 devices and so on boot-up no clocks can be found and the kernel panics.

This fix allows the kernel to boot without failure using a simple RAMDISK file
system on OMAP4470 blaze board.

Per feedback from Paul and Benoit the 4470 clock data is incomplete for new
modules such as the 2D graphics block that has been added to the 4470.
Therefore add a warning to indicate that the clock data is incomplete.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
2012-06-27 08:09:59 -07:00
..
include/mach arm-soc: cleanups, part 2 2012-05-26 12:31:49 -07:00
am35xx-emac.c ARM: OMAP2+: clean up some cppcheck warnings 2012-04-17 15:50:47 -06:00
am35xx-emac.h ARM: OMAP: move generic EMAC init to separate file 2012-03-05 11:08:36 -08:00
board-2430sdp.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-3430sdp.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-3630sdp.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-4430sdp.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-am3517crane.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-am3517evm.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-apollon.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-cm-t35.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-cm-t3517.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-devkit8000.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-flash.c ARM: OMAP2+: nand: fix build error when CONFIG_MTD_ONENAND_OMAP2=n 2012-06-26 03:29:57 -07:00
board-flash.h ARM: OMAP2+: nand: Make board_onenand_init() visible to board code 2012-05-09 14:19:14 -07:00
board-generic.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-h4.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-igep0020.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-ldp.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-n8x0.c ARM: OMAP2+: Fix MUSB ifdefs for platform init code 2012-06-20 07:18:15 -07:00
board-omap3beagle.c ARM: OMAP: Fix Beagleboard DVI reset gpio 2012-06-20 07:18:21 -07:00
board-omap3evm.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-omap3logic.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-omap3pandora.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-omap3stalker.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-omap3touchbook.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-omap4panda.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-overo.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-rm680.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-rx51-peripherals.c ARM: OMAP: Fix lis3lv02d accelerometer to use gpio_to_irq 2012-06-04 02:41:54 -07:00
board-rx51-video.c
board-rx51.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-ti8168evm.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
board-zoom-debugboard.c ARM: OMAP2+: smsc911x: Add fixed board regulators 2012-04-03 10:33:19 -07:00
board-zoom-display.c ARM: OMAP: add includes for missing prototypes 2012-04-13 06:34:26 -06:00
board-zoom-peripherals.c Merge branch 'fixes-gpio-to-irq' into fixes 2012-03-29 10:16:04 -07:00
board-zoom.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
clkt_clksel.c ARM: OMAP2+: Fix build issues with missing include of linux/bug.h 2012-03-07 17:29:34 -08:00
clkt_dpll.c
clkt_iclk.c
clkt2xxx_apll.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c ARM: OMAP: clock: cleanup CPUfreq leftovers, fix build errors 2012-04-14 17:49:07 -07:00
clkt34xx_dpll3m2.c
clock_common_data.c
clock.c Some OMAP PRCM updates for 3.5. Includes some clock, clockdomain, 2012-05-08 11:49:09 -07:00
clock.h ARM: OMAP: clock: cleanup CPUfreq leftovers, fix build errors 2012-04-14 17:49:07 -07:00
clock2xxx.c
clock2xxx.h
clock3xxx_data.c ARM: OMAP3: clock data: cleanup AM3[35]x SoC detection 2012-05-25 15:48:48 -07:00
clock3xxx.c
clock3xxx.h
clock34xx.c
clock34xx.h
clock36xx.c
clock36xx.h
clock44xx_data.c ARM: OMAP4470: Fix OMAP4470 boot failure 2012-06-27 08:09:59 -07:00
clock44xx.h
clock2420_data.c
clock2430_data.c
clock2430.c
clock3517.c
clock3517.h
clockdomain.c ARM: OMAP2+: powerdomain: Get rid off duplicate pwrdm_clkdm_state_switch() API 2012-05-07 23:55:38 -06:00
clockdomain.h
clockdomain2xxx_3xxx.c
clockdomain44xx.c ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common 2012-04-19 13:33:49 -06:00
clockdomains_common_data.c ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common 2012-04-19 13:33:49 -06:00
clockdomains2xxx_3xxx_data.c ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common 2012-04-19 13:33:49 -06:00
clockdomains3xxx_data.c arm: omap3: clockdomain data: Remove superfluous commas from gfx_sgx_3xxx_wkdeps[] 2012-05-07 23:55:38 -06:00
clockdomains44xx_data.c ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common 2012-04-19 13:33:49 -06:00
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-24xx.h
cm-regbits-34xx.h ARM: OMAP3: Fix CM register bit masks 2012-05-07 23:55:21 -06:00
cm-regbits-44xx.h
cm.h ARM: OMAP2+: CM: increase the module disable timeout 2012-06-21 18:08:47 -06:00
cm1_44xx.h
cm2_44xx.h
cm2xxx_3xxx.c ARM: OMAP2+: Fix build error after merge 2012-03-07 09:03:03 -08:00
cm2xxx_3xxx.h
cm44xx.c
cm44xx.h
cminst44xx.c ARM: OMAP2+: CM: increase the module disable timeout 2012-06-21 18:08:47 -06:00
cminst44xx.h
common-board-devices.c Merge branch 'fixes-gpio-to-irq' into fixes 2012-03-29 10:16:04 -07:00
common-board-devices.h
common.c ARM: OMAP4+: Add prm and cm base init function. 2012-05-07 23:55:22 -06:00
common.h arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
control.c ARM: OMAP2+: Fix build error after merge 2012-03-07 09:03:03 -08:00
control.h ARM: global cleanups 2012-03-27 16:03:32 -07:00
cpuidle34xx.c ARM: OMAP3: cpuidle - check the powerdomain lookup 2012-05-04 14:07:10 -07:00
cpuidle44xx.c ARM: OMAP4: cpuidle - remove omap4_idle_data initialization at boot time 2012-05-03 11:00:57 -07:00
devices.c arm-soc: cleanups, part 2 2012-05-26 12:31:49 -07:00
devices.h
display.c OMAPDSS: fix registration of DPI and SDI devices 2012-06-05 17:15:24 +03:00
display.h
dma.c ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them. 2012-05-08 11:54:24 +05:30
dpll3xxx.c ARM: OMAP3+: dpll: Configure autoidle mode only if it's supported 2012-05-07 23:55:30 -06:00
dpll44xx.c
dsp.c ARM: OMAP2+: Fix compile for CONFIG_TIDSPBRIDGE platform init code 2012-06-06 01:42:20 -07:00
emu.c
gpio.c GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
gpmc-nand.c
gpmc-onenand.c ARM: OMAP2+: clean up some cppcheck warnings 2012-04-17 15:50:47 -06:00
gpmc-smc91x.c
gpmc-smsc911x.c ARM: OMAP2+: smsc911x: Remove regulator support from gmpc-smsc911x 2012-04-03 10:31:34 -07:00
gpmc.c - More robust parsing especially of xattr data in JFFS2 2012-06-01 16:55:42 -07:00
hdq1w.c ARM: OMAP2+: HDQ1W: add custom reset function 2012-05-08 17:25:36 -06:00
hsmmc.c ARM: OMAP: AM35xx: convert 3517 detection/flags to AM35xx 2012-05-10 09:39:42 -07:00
hsmmc.h MMC highlights for 3.4: 2012-03-28 20:59:45 -07:00
hwspinlock.c ARM: OMAP2+: declare file-local functions as static 2012-04-13 06:34:26 -06:00
i2c.c
id.c Merge branch 'for_3.5/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes 2012-06-04 02:09:45 -07:00
io.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
iomap.h ARM: OMAP4: Reduce the static IO mapping 2012-05-08 11:54:24 +05:30
iommu2.c
irq.c Merge branch 'for_3.5/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes 2012-06-04 02:09:45 -07:00
Kconfig arm-soc: cleanups, part 2 2012-05-26 12:31:49 -07:00
mailbox.c ARM: OMAP2+: Incorrect Register Offsets in OMAP Mailbox 2012-05-09 10:27:35 -07:00
Makefile Changes to split plat-omap/devices.c into mach-omap1 and mach-omap2 2012-05-10 23:42:52 -07:00
Makefile.boot
mcbsp.c ARM: Non-critical bug fixes 2012-03-27 15:55:54 -07:00
msdi.c ARM: OMAP2420: hwmod data: Add MMC hwmod data for 2420 2012-05-08 17:23:33 -06:00
mux.c Some uncontroversial OMAP clock, hwmod, and compiler warning fixes for 3.5-rc 2012-06-23 16:16:29 -07:00
mux.h OMAP2+: UART: Add mechanism to probe uart pins and configure rx wakeup 2012-06-05 04:04:11 -07:00
mux34xx.c
mux34xx.h
mux44xx.c
mux44xx.h
mux2420.c
mux2420.h
mux2430.c
mux2430.h
omap_hwmod_2xxx_3xxx_interconnect_data.c ARM: OMAP2+: hwmod data: add HDQ/1-wire hwmod shared data 2012-05-08 17:25:36 -06:00
omap_hwmod_2xxx_3xxx_ipblock_data.c ARM: OMAP2+: hwmod data: add HDQ/1-wire hwmod shared data 2012-05-08 17:25:36 -06:00
omap_hwmod_2xxx_interconnect_data.c ARM: OMAP2xxx: hwmod data: share common interface data 2012-04-19 04:25:06 -06:00
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: WDTIMER integration: fix !PM boot crash, disarm timer after hwmod reset 2012-05-08 17:25:37 -06:00
omap_hwmod_3xxx_data.c Changes to split plat-omap/devices.c into mach-omap1 and mach-omap2 2012-05-10 23:42:52 -07:00
omap_hwmod_44xx_data.c ARM: OMAP4: hwmod data: Force HDMI in no-idle while enabled 2012-06-21 18:08:47 -06:00
omap_hwmod_2420_data.c ARM: OMAP2/3: hwmod data: Add 32k-sync timer data to hwmod database 2012-05-08 17:25:36 -06:00
omap_hwmod_2430_data.c ARM: OMAP2/3: hwmod data: Add 32k-sync timer data to hwmod database 2012-05-08 17:25:36 -06:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: OMAP2/3: hwmod data: Add 32k-sync timer data to hwmod database 2012-05-08 17:25:36 -06:00
omap_hwmod.c ARM: OMAP4+: hwmod: fix issue causing IPs not going back to Smart-Standby 2012-06-21 18:08:46 -06:00
omap_l3_noc.c
omap_l3_noc.h
omap_l3_smx.c ARM: OMAP3: Fix omap3_l3_block_irq warning when CONFIG_BUG is not set 2012-06-06 01:42:20 -07:00
omap_l3_smx.h
omap_opp_data.h
omap_phy_internal.c ARM: OMAP2+: Fix MUSB ifdefs for platform init code 2012-06-20 07:18:15 -07:00
omap_twl.c
omap-headsmp.S
omap-hotplug.c
omap-iommu.c
omap-mpuss-lowpower.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
omap-secure.c ARM: OMAP: add includes for missing prototypes 2012-04-13 06:34:26 -06:00
omap-smc.S
omap-smp.c
omap-wakeupgen.c ARM: OMAP2+: declare file-local functions as static 2012-04-13 06:34:26 -06:00
omap4-common.c ARM: OMAP4: hsmmc: check for null pointer 2012-05-08 17:16:24 -07:00
omap4-sar-layout.h
opp.c ARM: OMAP2+: OPP: allow OPP enumeration to continue if device is not present 2012-03-22 16:11:17 -07:00
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pm-debug.c ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API 2012-03-05 15:38:02 -08:00
pm.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
pm.h ARM: OMAP3: cpuidle - remove cpuidle_params_table 2012-05-03 13:19:29 -07:00
pm24xx.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
pm34xx.c Merge branch 'for_3.5/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes 2012-06-04 02:09:45 -07:00
pm44xx.c ARM: omap2: use machine specific hook for late init 2012-05-08 20:36:20 +08:00
powerdomain-common.c ARM: OMAP2+: Fix build issues with missing include of linux/bug.h 2012-03-07 17:29:34 -08:00
powerdomain.c ARM: OMAP2+: powerdomain: Get rid off duplicate pwrdm_clkdm_state_switch() API 2012-05-07 23:55:38 -06:00
powerdomain.h ARM: OMAP2+: powerdomain: Get rid off duplicate pwrdm_clkdm_state_switch() API 2012-05-07 23:55:38 -06:00
powerdomain2xxx_3xxx.c ARM: OMAP2+: Fix build issues with missing include of linux/bug.h 2012-03-07 17:29:34 -08:00
powerdomain44xx.c ARM: OMAP2+: Fix build for omap4 only builds with missing include of linux/bug.h 2012-03-08 10:48:12 -08:00
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c ARM: OMAP: AM35xx: convert 3517 detection/flags to AM35xx 2012-05-10 09:39:42 -07:00
powerdomains44xx_data.c
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm-common.h ARM: OMAP4+: Add prm and cm base init function. 2012-05-07 23:55:22 -06:00
prcm.c ARM: OMAP4+: Add prm and cm base init function. 2012-05-07 23:55:22 -06:00
prcm44xx.h
prm_common.c ARM: OMAP2+: clean up some cppcheck warnings 2012-04-17 15:50:47 -06:00
prm-regbits-24xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm2xxx_3xxx.c ARM: OMAP3: PM: fix shared PRCM interrupts: leave disabled at boot 2012-05-11 16:46:17 -07:00
prm2xxx_3xxx.h
prm44xx.c Merge branch 'misc_devel_3.4' of git://git.pwsan.com/linux-2.6 into fixes 2012-04-03 09:49:32 -07:00
prm44xx.h
prminst44xx.c ARM: OMAP4+: Add prm and cm base init function. 2012-05-07 23:55:22 -06:00
prminst44xx.h
scrm44xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c
sdram-nokia.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc.c
sdrc.h
sdrc2xxx.c ARM: OMAP2+: Fix build error after merge 2012-03-07 09:03:03 -08:00
serial.c OMAP2+: UART: Add mechanism to probe uart pins and configure rx wakeup 2012-06-05 04:04:11 -07:00
sleep24xx.S
sleep34xx.S
sleep44xx.S Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
smartreflex-class3.c ARM: OMAP3+: SmartReflex Class3: disable errorgen before disable VP 2012-03-05 11:29:26 -08:00
smartreflex.c ARM: OMAP3+: SmartReflex: fix error handling 2012-03-05 11:29:27 -08:00
smartreflex.h ARM: OMAP3+: SmartReflex Class3: disable errorgen before disable VP 2012-03-05 11:29:26 -08:00
sr_device.c Merge branch 'next/fixes-non-critical' into next/drivers 2012-03-20 22:42:24 +00:00
sram34xx.S
sram242x.S
sram243x.S
timer.c ARM: OMAP: Make OMAP clocksource source selection using kernel param 2012-05-09 10:07:05 -07:00
twl-common.c OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration 2012-05-09 14:19:16 -07:00
twl-common.h OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration 2012-05-09 14:19:16 -07:00
usb-fs.c
usb-host.c ARM: OMAP: fix section mismatches in usb-host.c 2012-04-03 11:08:37 -07:00
usb-musb.c ARM: OMAP2+: Fix MUSB ifdefs for platform init code 2012-06-20 07:18:15 -07:00
usb-tusb6010.c ARM: OMAP2: Fix tusb6010 GPIO interrupt for n8x0 2012-06-20 07:18:15 -07:00
vc.c ARM: OMAP2+: Fix build for omap4 only builds with missing include of linux/bug.h 2012-03-08 10:48:12 -08:00
vc.h
vc3xxx_data.c arm: omap3: voltage: fix channel configuration 2012-03-06 17:35:24 -08:00
vc44xx_data.c
voltage.c ARM: OMAP2+: voltage: ensure voltage used is exact voltage from OPP table 2012-03-06 17:37:14 -08:00
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c ARM: OMAP: AM35xx: convert 3517 detection/flags to AM35xx 2012-05-10 09:39:42 -07:00
voltagedomains44xx_data.c
vp.c ARM: OMAP3+: PM: VP: fix integer truncation error 2012-03-06 16:13:50 -08:00
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c ARM: OMAP2+: WDTIMER integration: fix !PM boot crash, disarm timer after hwmod reset 2012-05-08 17:25:37 -06:00
wd_timer.h ARM: OMAP2+: WDTIMER integration: fix !PM boot crash, disarm timer after hwmod reset 2012-05-08 17:25:37 -06:00