1. 22 10月, 2008 2 次提交
    • D
      mfd: rtc-twl4030 driver · f96411ab
      David Brownell 提交于
      This adds a driver for the RTC inside the TWL4030 multi-function device.
      It's a fairly basic RTC, with a wake-capable alarm.
      
      Note that many of the pre-release Overo boards now in circulation can't
      effectively use this RTC, because of a wiring error that puts its TWL
      chip into "secure" mode.  (As in "secure yourself against tampering".)
      This isn't an issue on other OMAP3 boards now supported in mainline,
      such as Beagle and Labrador.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      f96411ab
    • D
      mfd: twl4030 IRQ handling update · a30d46c0
      David Brownell 提交于
      - Move it into a separate file; clean and streamline it
       - Restructure the init code for reuse during secondary dispatch
       - Support both levels (primary, secondary) of IRQ dispatch
       - Use a workqueue for irq mask/unmask and trigger configuration
      
      Code for two subchips currently share that secondary handler code.
      One is the power subchip; its IRQs are now handled by this core,
      courtesy of this patch.  The other is the GPIO module, which will
      be supported through a later patch.
      
      There are also minor changes to the header file, mostly related
      to GPIO support; nothing yet in mainline cares about those.  A
      few references to OMAP-specific symbols are disabled; when they
      can all be removed, the TWL4030 support ceases being OMAP-specific.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      a30d46c0
  2. 21 10月, 2008 38 次提交