1. 29 5月, 2009 10 次提交
  2. 26 5月, 2009 4 次提交
  3. 16 5月, 2009 2 次提交
  4. 13 5月, 2009 4 次提交
  5. 24 4月, 2009 8 次提交
    • P
      OMAP2/3 GPTIMER: allow system tick GPTIMER to be changed in board-*.c files · f248076c
      Paul Walmsley 提交于
      Add a function omap2_gp_clockevent_set_gptimer() for board-*.c files
      to use in .init_irq functions to configure the system tick GPTIMER.
      Practical choices at this point are GPTIMER1 or GPTIMER12.  Both of
      these timers are in the WKUP powerdomain, and so are unaffected by
      chip power management.  GPTIMER1 can use sys_clk as a source, for
      applications where a high-resolution timer is more important than
      power management.  GPTIMER12 has the special property that it has the
      secure 32kHz oscillator as its source clock, which may be less prone
      to glitches than the off-chip 32kHz oscillator.  But on HS devices, it
      may not be available for Linux use.
      
      It appears that most boards are fine with GPTIMER1, but BeagleBoard
      should use GPTIMER12 when using a 32KiHz timer source, due to hardware bugs
      in revisions B4 and below.  Modify board-omap3beagle.c to use GPTIMER12.
      
      This patch originally used a Kbuild config option to select the GPTIMER,
      but was changed to allow this to be specified in board-*.c files, per
      Tony's request.
      
      Kalle Vallo <kalle.valo@nokia.com> found a bug in an earlier version of
      this patch - thanks Kalle.
      
      Tested on Beagle rev B4 ES2.1, with and without CONFIG_OMAP_32K_TIMER, and
      3430SDP.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Cc: Kalle Valo <kalle.valo@nokia.com>
      f248076c
    • S
      OMAP3: clock: Camera module doesn't have IDLEST bit · 9e53dd71
      Sergio Aguirre 提交于
      This patch avoids waiting for the camera module to become ready,
      since it doesn't have IDLEST bit.
      
      Based on a earlier hack done by Paul Walmsley on Sep 9 2008 on
      linux-omap tree.
      Signed-off-by: NSergio Aguirre <saaguirre@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      9e53dd71
    • P
      OMAP2xxx clock: fix broken cpu_mask code · 15ca78f7
      Paul Walmsley 提交于
      Commit 8ad8ff65 breaks the OMAP2xxx
      cpu_mask code, which causes OMAP2xxx to panic on boot.  Fix by
      removing the cpu_mask auto variable and by changing CK_242X
      and CK_243X to use RATE_IN_242X/RATE_IN_243X.
      
      Resolves
      
      <1>Unable to handle kernel NULL pointer dereference at virtual address 0000000c
      <1>pgd = c0004000
      <1>[0000000c] *pgd=00000000
      Internal error: Oops: 5 [#1]
      Modules linked in:
      CPU: 0    Not tainted  (2.6.29-omap1 #32)
      PC is at omap2_clk_set_parent+0x104/0x120
      LR is at omap2_clk_set_parent+0x28/0x120
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Tested-by: NJarkko Nikula <jarkko.nikula@nokia.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      15ca78f7
    • R
      ARM: OMAP3: Clean up spurious interrupt check logic · 846c29f1
      Roger Quadros 提交于
      SPURIOUSIRQ is contained in bits 31:7 of INTC_SIR, so
      INTC_SIR must be right shifted by 7, not 6.
      
      No change in logic, only changes for better readability.
      Refer to register definition of INTCPS_SIR_IRQ in OMAP3 Manual.
      Signed-off-by: NRoger Quadros <ext-roger.quadros@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      846c29f1
    • H
      ARM: OMAP3: remove duplicated #include · c485ab50
      Huang Weiyi 提交于
      Removed duplicated #include in arch/arm/mach-omap2/board-rx51.c.
      Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c485ab50
    • R
      ARM: OMAP2: possible division by 0 · d94a2edd
      Roel Kluin 提交于
      In linus' git tree the functions can be found at:
      vi arch/arm/mach-omap2/usb-tusb6010.c +200	- tusb6010_platform_retime()
      vi arch/arm/mach-omap2/gpmc.c +94		- gpmc_get_fclk_period()
      vi arch/arm/mach-omap2/usb-tusb6010.c +53	- tusb_set_async_mode()
      vi arch/arm/mach-omap2/usb-tusb6010.c +111	- tusb_set_sync_mode()
      
      is -ENODEV appropriate when sysclk_ps == 0?
      
      This was found by code analysis, please review.
      ------------------------------>8-------------8<---------------------------------
      gpmc_get_fclk_period() may return 0 when gpmc_l3_clk is not enabled. This is
      not checked in tusb6010_platform_retime() nor in tusb_set_async_mode() it
      seems. In tusb_set_sync_mode() this may result in a division by zero.
      Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d94a2edd
    • J
      ARM: OMAP2: Remove defines and resource init for OMAP24XX EAC · 6b7bff31
      Jarkko Nikula 提交于
      There is no anymore legacy driver for OMAP24XX Enhanced Audio Controller
      in linux-omap and it was newer in mainline so cleanup these unneeded
      defines and initialization code.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      6b7bff31
    • T
      ARM: OMAP: Remove old dead gpio expander code · ba16ec7c
      Tony Lindgren 提交于
      This should be done with GPIO calls. Patches against the
      mainline tree welcome to add the necessary working functionality
      back.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ba16ec7c
  6. 23 4月, 2009 1 次提交
    • P
      OMAP2xxx clock: pre-initialize struct clks early · c8088112
      Paul Walmsley 提交于
      Commit 3f0a820c breaks OMAP2xxx boot
      during initial propagate_rate() on osc_ck and sys_ck.  Fix by
      pre-initializing all struct clks before running any other clock init
      code.  Incorporates review comments from Russell King
      <rmk+kernel@arm.linux.org.uk>.
      
      Resolves
      
      <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
      <1>pgd = c0004000
      <1>[00000000] *pgd=00000000
      Internal error: Oops: 5 [#1]
      Modules linked in:
      CPU: 0    Not tainted  (2.6.29-omap1 #37)
      PC is at propagate_rate+0x10/0x60
      LR is at omap2_clk_init+0x30/0x218
      ...
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Tested-by: NJarkko Nikula <jarkko.nikula@nokia.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      c8088112
  7. 22 4月, 2009 1 次提交
  8. 14 4月, 2009 1 次提交
  9. 03 4月, 2009 2 次提交
  10. 02 4月, 2009 1 次提交
  11. 26 3月, 2009 1 次提交
  12. 25 3月, 2009 2 次提交
  13. 24 3月, 2009 3 次提交