1. 23 11月, 2009 2 次提交
  2. 06 10月, 2009 1 次提交
  3. 17 9月, 2009 1 次提交
  4. 28 8月, 2009 1 次提交
  5. 31 3月, 2009 1 次提交
    • D
      regulator: twl4030 regulators · fa16a5c1
      David Brownell 提交于
      Support most of the LDO regulators in the twl4030 family chips.
      In the case of LDOs supporting MMC/SD, the voltage controls are
      used; but in most other cases, the regulator framework is only
      used to enable/disable a supplies, conserving power when a given
      voltage rail is not needed.
      
      The drivers/mfd/twl4030-core.c code already sets up the various
      regulators according to board-specific configuration, and knows
      that some chips don't provide the full set of voltage rails.
      
      The omitted regulators are intended to be under hardware control,
      such as during the hardware-mediated system powerup, powerdown,
      and suspend states.  Unless/until software hooks are known to
      be safe, they won't be exported here.
      
      These regulators implement the new get_status() operation, but
      can't realistically implement get_mode(); the status output is
      effectively the result of a vote, with the relevant hardware
      inputs not exposed.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      fa16a5c1
  6. 07 1月, 2009 1 次提交
  7. 04 1月, 2009 4 次提交
  8. 22 10月, 2008 1 次提交
    • 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
  9. 20 10月, 2008 1 次提交
    • D
      mfd: TWL4030 core driver · a603a7fa
      David Brownell 提交于
      This patch adds the core of the TWL4030 driver, which supports
      chips including the TPS65950.  These chips are multi-function; see
      
        http://focus.ti.com/docs/prod/folders/print/tps65950.html
      
      Public specs are in the works.  For now, the block diagram on
      the second page of the datasheet is fairly informative.
      
      There are some known issues with this core code.  Most notably,
      the IRQ dispatching needs simplification (to use more of genirq),
      generalization (integrating support for secondary IRQ dispatch
      as well as primary, and removing the build dependency on OMAP),
      and then probably updating to leverage threaded IRQ support
      (expected to arrive in mainline "soon").
      
      Once the core is in mainline, drivers for other parts of this
      chip can follow its lead and start swimming upstream too.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      a603a7fa