1. 22 6月, 2015 1 次提交
  2. 22 1月, 2015 1 次提交
  3. 09 7月, 2014 1 次提交
    • L
      mfd: 88pm860x-core: Repair formatting issues · 2e57848f
      Lee Jones 提交于
      Fixes the following checkpatch warnings:
      
          WARNING: please, no space before tabs
          #5: FILE: drivers/mfd/88pm860x-core.c:5:
          + * ^IHaojian Zhuang <haojian.zhuang@marvell.com>$
      
          WARNING: line over 80 characters
          #143: FILE: drivers/mfd/88pm860x-core.c:143:
          +	{PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", IORESOURCE_IRQ,},
      
          WARNING: line over 80 characters
          #153: FILE: drivers/mfd/88pm860x-core.c:153:
          +	{PM8607_IRQ_CHG_DONE,  PM8607_IRQ_CHG_DONE,  "charging done",       IORESOURCE_IRQ,},
      
          WARNING: line over 80 characters
          #154: FILE: drivers/mfd/88pm860x-core.c:154:
          +	{PM8607_IRQ_CHG_FAIL,  PM8607_IRQ_CHG_FAIL,  "charging timeout",    IORESOURCE_IRQ,},
      
          WARNING: line over 80 characters
          #155: FILE: drivers/mfd/88pm860x-core.c:155:
          +	{PM8607_IRQ_CHG_FAULT, PM8607_IRQ_CHG_FAULT, "charging fault",	    IORESOURCE_IRQ,},
      
          WARNING: line over 80 characters
          #156: FILE: drivers/mfd/88pm860x-core.c:156:
          +	{PM8607_IRQ_GPADC1,    PM8607_IRQ_GPADC1,    "battery temperature", IORESOURCE_IRQ,},
      
          WARNING: Avoid unnecessary line continuations
          #571: FILE: drivers/mfd/88pm860x-core.c:571:
          +	struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
      
          WARNING: line over 80 characters
          #634: FILE: drivers/mfd/88pm860x-core.c:634:
          +	ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags | IRQF_ONESHOT,
      
          WARNING: Unnecessary parentheses - maybe == should be = ?
          #874: FILE: drivers/mfd/88pm860x-core.c:874:
          +	if ((pdata == NULL))
      
          WARNING: quoted string split across lines
          #1001: FILE: drivers/mfd/88pm860x-core.c:1001:
          +		dev_err(chip->dev, "Failed to detect Marvell 88PM8607. "
          +			"Chip ID: %02x\n", ret);
      
          WARNING: quoted string split across lines
          #1124: FILE: drivers/mfd/88pm860x-core.c:1124:
          +		dev_err(dev, "Not found \"marvell,88pm860x-slave-addr\" "
          +			"property\n");
      
      total: 0 errors, 11 warnings, 1281 lines checked
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      2e57848f
  4. 19 3月, 2014 2 次提交
  5. 23 10月, 2013 1 次提交
  6. 31 7月, 2013 1 次提交
  7. 13 6月, 2013 2 次提交
  8. 08 4月, 2013 1 次提交
  9. 29 11月, 2012 4 次提交
  10. 02 10月, 2012 3 次提交
  11. 21 9月, 2012 2 次提交
    • A
      88pm860x_battery and charger: Fix a few post-merge issues · f1ade352
      Anton Vorontsov 提交于
      Sparse complains:
      
        CHECK   drivers/power/88pm860x_battery.c
      drivers/power/88pm860x_battery.c:128:5: warning: symbol 'array_soc' was not declared. Should it be static?
        CHECK   drivers/power/88pm860x_charger.c
      drivers/power/88pm860x_charger.c:640:3: warning: symbol 'pm860x_irq_descs' was not declared. Should it be static?
        CHECK   drivers/mfd/88pm860x-core.c
      drivers/mfd/88pm860x-core.c:803:53: warning: incorrect type in assignment (different base types)
      drivers/mfd/88pm860x-core.c:803:53:    expected struct charger_regulator *charger_regulators
      drivers/mfd/88pm860x-core.c:803:53:    got struct regulator_bulk_data static [toplevel] *
      
      The issues are minor, except for the last one. We seemed to use
      'regulator_bulk_data' struct (just as charger manager documentation
      wrongly tells us), but in real it should have been
      'struct charger_regulator'. The only reason that it worked is
      because both 'supply' and 'regulator_name' struct members are the
      first in these structs. :-)
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      f1ade352
    • J
      power_supply: Enable battery-charger for 88pm860x · a830d28b
      Jett.Zhou 提交于
      There are charger and battery measurement feature for 88pm860x PMIC.
      
      For charger, it can support pre-charge with small current when battery is
      nearly exausted and then changed into fast-charge with CC&CV mode.
      
      For battery monitor, it can support battery measurement such as
      vbat,vsys,vchg and ibat etc,it can aslo accumulating the Coulomb value
      charged or discharged from battery based on Conlomb Counter, we use it
      to estimate battery capacity.
      Signed-off-by: NJett.Zhou <jtzhou@marvell.com>
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      a830d28b
  12. 19 9月, 2012 3 次提交
  13. 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
  14. 14 9月, 2012 2 次提交
    • H
      mfd: 88pm860x: Fix section mismatch warning · 50b381b7
      Haojian Zhuang 提交于
      WARNING: drivers/built-in.o(.data+0x1e3c8): Section mismatch in
      reference from the variable bk_devs to the variable
      .devinit.data:bk0_resources
      The variable bk_devs references
      the variable __devinitdata bk0_resources
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      So add __devinitdata on bk_devs, led_devs & reg_devs.
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      50b381b7
    • 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
  15. 11 9月, 2012 5 次提交
  16. 09 7月, 2012 1 次提交
  17. 07 3月, 2012 3 次提交
  18. 27 5月, 2011 6 次提交