1. 13 4月, 2012 4 次提交
  2. 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
  3. 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
  4. 01 3月, 2012 1 次提交
  5. 22 2月, 2012 1 次提交
  6. 21 2月, 2012 1 次提交
  7. 18 2月, 2012 1 次提交
  8. 15 2月, 2012 1 次提交
  9. 12 2月, 2012 1 次提交
  10. 10 2月, 2012 1 次提交
  11. 31 1月, 2012 2 次提交
  12. 30 1月, 2012 1 次提交
  13. 28 1月, 2012 1 次提交
  14. 27 1月, 2012 1 次提交
  15. 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
  16. 20 1月, 2012 2 次提交
  17. 13 12月, 2011 1 次提交
  18. 05 12月, 2011 1 次提交
  19. 30 11月, 2011 1 次提交
  20. 22 11月, 2011 1 次提交
  21. 21 11月, 2011 1 次提交
  22. 17 11月, 2011 3 次提交
  23. 15 11月, 2011 1 次提交
  24. 11 11月, 2011 1 次提交
  25. 09 11月, 2011 2 次提交
  26. 08 11月, 2011 2 次提交
  27. 13 10月, 2011 1 次提交
  28. 10 10月, 2011 1 次提交
  29. 29 9月, 2011 1 次提交
  30. 20 9月, 2011 1 次提交
  31. 06 9月, 2011 1 次提交
    • L
      regmap: Add support for device specific write and read flag masks. · 6f306441
      Lars-Peter Clausen 提交于
      Some buses like SPI have no standard notation of read or write operations.
      The general scheme here is to set or clear specific bits in the register
      address to indicate whether the operation is a read or write. We already
      support having a read flag mask per bus, but as there is no standard
      the bits which need to be set or cleared differ between devices and vendors,
      thus we need a mechanism to specify them per device.
      
      This patch adds two new entries to the regmap_config struct, read_flag_mask and
      write_flag_mask. These will be or'ed onto the top byte when doing a read or
      write operation. If both masks are empty the device will fallback to the
      regmap_bus masks.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      6f306441