1. 17 8月, 2014 1 次提交
  2. 29 10月, 2013 1 次提交
  3. 17 10月, 2012 1 次提交
    • D
      regmap: select REGMAP if REGMAP_MMIO and REGMAP_IRQ enabled · 5784ee4d
      Dong Aisheng 提交于
      The regmap_mmio and regmap_irq depend on regmap core, if not select,
      we may not compile regmap core and meet compiling errors as follows
      if REGMAP_MMIO is selected by client drivers:
      drivers/mfd/syscon.c:94:15: error: variable 'syscon_regmap_config' has initializer but incomplete type
      drivers/mfd/syscon.c:95:2: error: unknown field 'reg_bits' specified in initializer
      drivers/mfd/syscon.c:95:2: warning: excess elements in struct initializer [enabled by default]
      drivers/mfd/syscon.c:95:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default]
      drivers/mfd/syscon.c:96:2: error: unknown field 'val_bits' specified in initializer
      drivers/mfd/syscon.c:96:2: warning: excess elements in struct initializer [enabled by default]
      drivers/mfd/syscon.c:96:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default]
      drivers/mfd/syscon.c:97:2: error: unknown field 'reg_stride' specified in initializer
      drivers/mfd/syscon.c:97:2: warning: excess elements in struct initializer [enabled by default]
      drivers/mfd/syscon.c:97:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default]
      drivers/mfd/syscon.c: In function 'syscon_probe':
      drivers/mfd/syscon.c:124:2: error: invalid use of undefined type 'struct regmap_config'
      drivers/mfd/syscon.c:125:2: error: implicit declaration of function 'devm_regmap_init_mmio' [-Werror=implicit-function-declaration]
      drivers/mfd/syscon.c:125:17: warning: assignment makes pointer from integer without a cast [enabled by default]
      cc1: some warnings being treated as errors
      
      drivers/mfd/Kconfig:
      config MFD_SYSCON
              bool "System Controller Register R/W Based on Regmap"
      	depends on OF
      	select REGMAP_MMIO
      	help
      	  Select this option to enable accessing system control registers
      	    via regmap.
      Signed-off-by: NDong Aisheng <dong.aisheng@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5784ee4d
  4. 23 5月, 2012 1 次提交
  5. 13 4月, 2012 1 次提交
  6. 06 4月, 2012 1 次提交
  7. 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
  8. 20 9月, 2011 1 次提交
    • D
      regmap: Add the LZO cache support · 2cbbb579
      Dimitris Papastamos 提交于
      This patch adds support for LZO compression when storing the register
      cache.
      
      For a typical device whose register map would normally occupy 25kB or 50kB
      by using the LZO compression technique, one can get down to ~5-7kB.  There
      might be a performance penalty associated with each individual read/write
      due to decompressing/compressing the underlying cache, however that should not
      be noticeable.  These memory benefits depend on whether the target architecture
      can get rid of the memory occupied by the original register defaults cache
      which is marked as __devinitconst.  Nevertheless there will be some memory
      gain even if the target architecture can't get rid of the original register
      map, this should be around ~30-32kB instead of 50kB.
      Signed-off-by: NDimitris Papastamos <dp@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      2cbbb579
  9. 23 7月, 2011 3 次提交