1. 14 2月, 2013 1 次提交
  2. 29 11月, 2012 3 次提交
  3. 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
  4. 14 9月, 2012 1 次提交
    • 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
  5. 16 7月, 2012 1 次提交
  6. 09 7月, 2012 2 次提交
    • S
    • Q
      mfd: Support 88pm80x in 80x driver · 70c6cce0
      Qiao Zhou 提交于
      88PM800 and 88PM805 are two discrete chips used for power management.
      Hardware designer can use them together or only one of them according
      to requirement.
      
      88pm80x.c provides common i2c driver handling for both 800 and
      805, such as i2c_driver init, regmap init, read/write api etc.
      
      88pm800.c handles specifically for 800, such as chip init, irq
      init/handle, mfd device register, including rtc, onkey, regulator(
      to be add later) etc. besides that, 800 has three i2c device, one
      regular i2c client, two other i2c dummy for gpadc and power purpose.
      
      88pm805.c handles specifically for 805, such as chip init, irq
      init/handle, mfd device register, including codec, headset/mic detect
      etc.
      
      the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
      exported a group of r/w bulk r/w and bits set API for facility.
      Signed-off-by: NQiao Zhou <zhouqiao@marvell.com>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      70c6cce0