1. 08 2月, 2013 1 次提交
    • L
      mfd: ab8500: prepare to handle AB8500 GPIO's IRQs correctly · 9c677b9b
      Lee Jones 提交于
      In an upcoming patch, the gpio-ab8500 driver will relinquish all
      IRQ handling capability and pass it back into the AB8500 core
      driver. This will aid in reducing massive code duplication within
      the kernel. Also, most of the functionality is already in the
      AB8500 core driver, as the GPIO IRQs are actually sandwiched
      between lots of other IRQs which the core driver already handles.
      
      All we're doing here is providing the core driver with knowledge
      that each GPIO has two IRQs assigned to it; one for rising and
      a separate one for falling.
      
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9c677b9b
  2. 23 1月, 2013 1 次提交
    • L
      mfd: Fix compile errors and warnings when !CONFIG_AB8500_BM · 00441b5e
      Lee Jones 提交于
      drivers/mfd/ab8500-core.c:1015:21: error: ‘ab8500_bm_data’ undeclared here
      
      include/linux/mfd/abx500/ab8500-bm.h:445:13: warning: ‘ab8500_fg_reinit’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:448:13: warning: ‘ab8500_charger_usb_state_changed’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:451:29: warning: ‘ab8500_btemp_get’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:455:12: warning: ‘ab8500_btemp_get_batctrl_temp’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:463:12: warning: ‘ab8500_fg_inst_curr_blocking’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:442:12: warning: ‘ab8500_fg_inst_curr_done’ defined but not used
      include/linux/mfd/abx500/ab8500-bm.h:447:26: warning: ‘ab8500_fg_get’ defined but not used
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      00441b5e
  3. 30 11月, 2012 1 次提交
  4. 29 11月, 2012 4 次提交
  5. 23 11月, 2012 1 次提交
  6. 19 11月, 2012 4 次提交
  7. 12 11月, 2012 2 次提交
  8. 05 11月, 2012 1 次提交
  9. 22 9月, 2012 1 次提交
  10. 18 9月, 2012 1 次提交
  11. 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
  12. 14 9月, 2012 2 次提交
    • L
      mfd: ab8500: Make ab8500_irq_get_virq() static · 80633f05
      Lee Jones 提交于
      MFD core now takes care of  HWIRQ <-> VIRQ mapping, so the helper
      ab8500_irq_get_virq() is no longer used by ab8500 subordinate devices
      to obtain a Linux wide Virtual IRQ. The AB8500 IRQ controller still
      uses it internally though, so we'll just hide it from the rest of the
      world by making it static instead.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      80633f05
    • M
      mfd: core: Push irqdomain mapping out into devices · 55692af5
      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>
      55692af5
  13. 09 7月, 2012 6 次提交
  14. 20 5月, 2012 2 次提交
  15. 11 5月, 2012 1 次提交
  16. 01 5月, 2012 3 次提交
  17. 17 3月, 2012 3 次提交
  18. 07 3月, 2012 4 次提交
  19. 21 2月, 2012 1 次提交