1. 01 5月, 2012 2 次提交
  2. 10 4月, 2012 2 次提交
    • S
      regmap: implement register striding · f01ee60f
      Stephen Warren 提交于
      regmap_config.reg_stride is introduced. All extant register addresses
      are a multiple of this value. Users of serial-oriented regmap busses will
      typically set this to 1. Users of the MMIO regmap bus will typically set
      this based on the value size of their registers, in bytes, so 4 for a
      32-bit register.
      
      Throughout the regmap code, actual register addresses are used. Wherever
      the register address is used to index some array of values, the address
      is divided by the stride to determine the index, or vice-versa. Error-
      checking is added to all entry-points for register address data to ensure
      that register addresses actually satisfy the specified stride. The MMIO
      bus ensures that the specified stride is large enough for the register
      size.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f01ee60f
    • S
      regmap: allow regmap instances to be named · d3c242e1
      Stephen Warren 提交于
      Some devices have multiple separate register regions. Logically, one
      regmap would be created per region. One issue that prevents this is that
      each instance will attempt to create the same debugfs files. Avoid this
      by allowing regmaps to be named, and use the name to construct the
      debugfs directory name.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d3c242e1
  3. 07 4月, 2012 1 次提交
  4. 06 4月, 2012 2 次提交
  5. 01 4月, 2012 2 次提交
  6. 12 3月, 2012 1 次提交
    • P
      device.h: cleanup users outside of linux/include (C files) · 51990e82
      Paul Gortmaker 提交于
      For files that are actively using linux/device.h, make sure
      that they call it out.  This will allow us to clean up some
      of the implicit uses of linux/device.h within include/*
      without introducing build regressions.
      
      Yes, this was created by "cheating" -- i.e. the headers were
      cleaned up, and then the fallout was found and fixed, and then
      the two commits were reordered.  This ensures we don't introduce
      build regressions into the git history.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      51990e82
  7. 11 3月, 2012 1 次提交
    • S
      regmap: Fix future missing prototype of devres_alloc() and friends · f5d6eba7
      Stephen Warren 提交于
      [Fix for breakage which will be introduced during the merge window via
      header reworks in another tree, the regmap tree does include device.h
      but Paul's tree breaks that.  Reworded subject to reflect -- broonie]
      
      regmap.s uses devres_alloc() and others that are prototyped in device.h.
      Include that to solve the following:
      
      drivers/base/regmap/regmap.c: In function 'devm_regmap_init':
      drivers/base/regmap/regmap.c:331:2: error: implicit declaration of function 'devres_alloc' [-Werror=implicit-function-declaration]
      drivers/base/regmap/regmap.c:338:3: error: implicit declaration of function 'devres_add' [-Werror=implicit-function-declaration]
      drivers/base/regmap/regmap.c:340:3: error: implicit declaration of function 'devres_free' [-Werror=implicit-function-declaration]
      drivers/base/regmap/regmap.c: In function '_regmap_raw_write':
      drivers/base/regmap/regmap.c:421:5: error: implicit declaration of function 'dev_err' [-Werror=implicit-function-declaration]
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f5d6eba7
  8. 01 3月, 2012 1 次提交
  9. 22 2月, 2012 1 次提交
  10. 21 2月, 2012 1 次提交
  11. 18 2月, 2012 1 次提交
  12. 15 2月, 2012 1 次提交
  13. 12 2月, 2012 1 次提交
  14. 10 2月, 2012 1 次提交
  15. 31 1月, 2012 2 次提交
  16. 30 1月, 2012 1 次提交
  17. 28 1月, 2012 1 次提交
  18. 27 1月, 2012 1 次提交
  19. 23 1月, 2012 1 次提交
    • M
      regmap: Support register patch sets · 22f0d90a
      Mark Brown 提交于
      Device manufacturers frequently provide register sequences, usually not
      fully documented, to be run at startup in order to provide better defaults
      for devices (for example, improving performance in the light of silicon
      evaluation). Support such updates by allowing drivers to register update
      sets with the core. These updates will be written to the device immediately
      and will also be rewritten when the cache is synced.
      
      The assumption is that the reason for resyncing the cache will always be
      that the device has been powered off. If this turns out to not be the case
      then a separate operation can be provided.
      
      Currently the implementation only allows a single set of updates to be
      specified for a device, this could be extended in future.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      22f0d90a
  20. 20 1月, 2012 2 次提交
  21. 13 12月, 2011 1 次提交
  22. 05 12月, 2011 1 次提交
  23. 30 11月, 2011 1 次提交
  24. 22 11月, 2011 1 次提交
  25. 21 11月, 2011 1 次提交
  26. 17 11月, 2011 3 次提交
  27. 15 11月, 2011 1 次提交
  28. 11 11月, 2011 1 次提交
  29. 09 11月, 2011 2 次提交
  30. 08 11月, 2011 2 次提交