1. 09 9月, 2012 1 次提交
  2. 31 8月, 2012 1 次提交
  3. 08 8月, 2012 1 次提交
  4. 04 8月, 2012 6 次提交
  5. 05 6月, 2012 2 次提交
  6. 03 6月, 2012 1 次提交
  7. 18 5月, 2012 1 次提交
  8. 15 5月, 2012 1 次提交
  9. 14 5月, 2012 2 次提交
  10. 13 4月, 2012 2 次提交
    • S
      regmap: fix compile errors in regmap-irq.c due to stride changes · a21361b9
      Stephen Warren 提交于
      Commit f01ee60f ("regmap: implement register striding") caused the
      compile errors below. Fix them.
      
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_sync_unlock':
      drivers/base/regmap/regmap-irq.c:62:12: error: 'map' undeclared (first use in this function)
      drivers/base/regmap/regmap-irq.c:62:12: note: each undeclared identifier is reported only once for each function it appears in
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_enable':
      drivers/base/regmap/regmap-irq.c:77:37: error: 'map' undeclared (first use in this function)
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_disable':
      drivers/base/regmap/regmap-irq.c:85:37: error: 'map' undeclared (first use in this function)
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      a21361b9
    • S
      regmap: implement register striding · edc9ae42
      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>
      edc9ae42
  11. 11 4月, 2012 1 次提交
    • S
      regmap: fix compile errors in regmap-irq.c due to stride changes · 56806555
      Stephen Warren 提交于
      Commit f01ee60f ("regmap: implement register striding") caused the
      compile errors below. Fix them.
      
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_sync_unlock':
      drivers/base/regmap/regmap-irq.c:62:12: error: 'map' undeclared (first use in this function)
      drivers/base/regmap/regmap-irq.c:62:12: note: each undeclared identifier is reported only once for each function it appears in
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_enable':
      drivers/base/regmap/regmap-irq.c:77:37: error: 'map' undeclared (first use in this function)
      drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_disable':
      drivers/base/regmap/regmap-irq.c:85:37: error: 'map' undeclared (first use in this function)
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      56806555
  12. 10 4月, 2012 1 次提交
    • 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
  13. 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
  14. 06 12月, 2011 1 次提交
  15. 29 11月, 2011 1 次提交
  16. 08 11月, 2011 1 次提交
    • M
      regmap: Add a reusable irq_chip for regmap based interrupt controllers · f8beab2b
      Mark Brown 提交于
      There seem to be lots of regmap-using devices with very similar interrupt
      controllers with a small bank of interrupt registers and mask registers
      with an interrupt per bit. This won't cover everything but it's a good
      start.
      
      Each chip supplies a base for the status registers, a base for the mask
      registers, an optional base for writing acknowledgements (which may be the
      same as the status registers) and an array of bits within each of these
      register banks which indicate the interrupt.
      
      There is an assumption that the bit for each interrupt will be the same
      in each of the register bank.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f8beab2b