1. 22 6月, 2009 5 次提交
  2. 14 6月, 2009 23 次提交
  3. 11 6月, 2009 1 次提交
    • L
      [ARM] 5544/1: Trust PrimeCell resource sizes · dc890c2d
      Linus Walleij 提交于
      I found the PrimeCell/AMBA Bus drivers distrusting the resource
      passed in as part of the struct amba_device abstraction. This
      patch removes all hard coded resource sizes found in the PrimeCell
      drivers and move the responsibility of this definition back to
      the platform/board device definition, which already exist and
      appear to be correct for all in-tree users of these drivers.
      We do this using the resource_size() inline function which was
      also replicated in the only driver using the resource size, so
      that has been changed too. The KMI_SIZE was left in kmi.h in case
      someone likes it. Test-compiled against Versatile and Integrator
      defconfigs, seems to work but I don't posess these boards and
      cannot test them.
      Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      dc890c2d
  4. 04 6月, 2009 10 次提交
  5. 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