1. 16 2月, 2010 1 次提交
    • A
      omap_hsmmc: Move gpio and regulator control from board file · db0fefc5
      Adrian Hunter 提交于
      This patch moves the setup code for GPIO's and Voltage
      Regulators from the board file mmc-twl4030.c to the
      driver omap_hsmmc.c.  PBIAS and other system control
      configuration remains in the board file.
      
      Moving GPIO code to the driver makes the board initialisation
      code independent of when GPIO's are defined.  That makes the
      board initialisation now entirely independent of its original
      twl4030 roots.
      
      Moving Voltage Regulator code to the driver allows for further
      development of regulator support in the core MMC code.  It also
      permits the MMC core to be compiled as a module, because the
      board code no longer calls MMC core functions.
      Signed-off-by: NAdrian Hunter <adrian.hunter@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      db0fefc5
  2. 23 9月, 2009 2 次提交
  3. 29 5月, 2009 1 次提交
    • D
      ARM: OMAP3: mmc-twl4030 uses regulator framework · b583f26d
      David Brownell 提交于
      Decouple the HSMMC glue from the twl4030 as the only
      regulator provider, using the regulator framework instead.
      This makes the glue's "mmc-twl4030" name become a complete
      misnomer ... this code could probably all migrate into the
      HSMMC driver now.
      
      Tested on 3430SDP (SD and low-voltage MMC) and Beagle (SD),
      plus some other boards (including Overo) after they were
      converted to set up MMC regulators properly.
      
      Eventually all boards should just associate a regulator with
      each MMC controller they use.  In some cases (Overo MMC2 and
      Pandora MMC3, at least) that would be a fixed-voltage regulator
      with no real software control.  As a temporary hack (pending
      regulator-next updates to make the "fixed.c" regulator become
      usable) there's a new ocr_mask field for those boards.
      
      Patch updated with a fix for disabling vcc_aux by
      Adrian Hunter <adrian.hunter@nokia.com>
      
      Cc: Pierre Ossman <drzeus-list@drzeus.cx>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b583f26d
  4. 24 3月, 2009 4 次提交
  5. 11 12月, 2008 1 次提交