1. 16 9月, 2012 1 次提交
    • M
      mfd: core: Push irqdomain mapping out into devices · 0848c94f
      Mark Brown 提交于
      Currently the MFD core supports remapping MFD cell interrupts using an
      irqdomain but only if the MFD is being instantiated using device tree
      and only if the device tree bindings use the pattern of registering IPs
      in the device tree with compatible properties.  This will be actively
      harmful for drivers which support non-DT platforms and use this pattern
      for their DT bindings as it will mean that the core will silently change
      remapping behaviour and it is also limiting for drivers which don't do
      DT with this particular pattern.  There is also a potential fragility if
      there are interrupts not associated with MFD cells and all the cells are
      omitted from the device tree for some reason.
      
      Instead change the code to take an IRQ domain as an optional argument,
      allowing drivers to take the decision about the parent domain for their
      interrupts.  The one current user of this feature is ab8500-core, it has
      the domain lookup pushed out into the driver.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      0848c94f
  2. 09 1月, 2012 2 次提交
  3. 21 12月, 2011 1 次提交
    • A
      mfd: Include linux/io.h to jz4740-adc · fa860403
      Axel Lin 提交于
      Include linux/io.h to fix below build error:
      
        CC      drivers/mfd/jz4740-adc.o
      drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_irq_demux':
      drivers/mfd/jz4740-adc.c:73: error: implicit declaration of function 'readb'
      drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_enabled':
      drivers/mfd/jz4740-adc.c:110: error: implicit declaration of function 'writeb'
      drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_config':
      drivers/mfd/jz4740-adc.c:146: error: implicit declaration of function 'readl'
      drivers/mfd/jz4740-adc.c:151: error: implicit declaration of function 'writel'
      drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_probe':
      drivers/mfd/jz4740-adc.c:249: error: implicit declaration of function 'ioremap_nocache'
      drivers/mfd/jz4740-adc.c:249: warning: assignment makes pointer from integer without a cast
      drivers/mfd/jz4740-adc.c:289: warning: passing argument 3 of 'mfd_add_devices' discards qualifiers from pointer target type
      include/linux/mfd/core.h:93: note: expected 'struct mfd_cell *' but argument is of type 'const struct mfd_cell *'
      drivers/mfd/jz4740-adc.c:299: error: implicit declaration of function 'iounmap'
      make[2]: *** [drivers/mfd/jz4740-adc.o] Error 1
      make[1]: *** [drivers/mfd] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      fa860403
  4. 24 10月, 2011 1 次提交
  5. 21 9月, 2011 1 次提交
  6. 01 8月, 2011 1 次提交
  7. 27 3月, 2011 1 次提交
  8. 23 3月, 2011 1 次提交
  9. 14 1月, 2011 1 次提交
  10. 29 10月, 2010 1 次提交
  11. 12 8月, 2010 3 次提交