1. 19 Sep, 2011 1 commit
    • Dimitris Papastamos's avatar
      regmap: Introduce caching support · 9fabe24e
      Dimitris Papastamos authored
      This patch introduces caching support for regmap.  The regcache API
      has evolved essentially out of ASoC soc-cache so most of the actual
      caching types (except LZO) have been tested in the past.
      
      The purpose of regcache is to optimize in time and space the handling
      of register caches.  Time optimization is achieved by not having to go
      over a slow bus like I2C to read the value of a register, instead it is
      cached locally in memory and can be retrieved faster.  Regarding space
      optimization, some of the cache types are better at packing the caches,
      for e.g. the rbtree and the LZO caches.  By doing this the sacrifice in
      time still wins over doing I2C transactions.
      Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
      Tested-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      9fabe24e
  2. 09 Sep, 2011 2 commits
  3. 05 Sep, 2011 6 commits
  4. 22 Aug, 2011 6 commits
  5. 21 Aug, 2011 2 commits
    • Mark Brown's avatar
      ae130d22
    • Mark Brown's avatar
      regmap: Allow drivers to specify register defaults · bd20eb54
      Mark Brown authored
      It is useful for the register cache code to be able to specify the
      default values for the device registers. The major use is when restoring
      the register cache after suspend, knowing the register defaults allows
      us to skip registers that are at their default values when we resume which
      can be a substantial win on larger modern devices. For some devices
      (mostly older ones) the hardware does not support readback so the only way we
      can know the values is from code and so initializing the cache with default
      values makes it much easier for drivers work with read/modify/write
      updates.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      bd20eb54
  6. 14 Aug, 2011 3 commits
  7. 12 Aug, 2011 2 commits
  8. 09 Aug, 2011 5 commits
  9. 08 Aug, 2011 11 commits
  10. 07 Aug, 2011 2 commits