1. 05 Nov, 2012 1 commit
  2. 05 Oct, 2012 1 commit
  3. 02 Oct, 2012 3 commits
  4. 01 Oct, 2012 1 commit
  5. 28 Sep, 2012 4 commits
  6. 24 Sep, 2012 2 commits
  7. 23 Sep, 2012 6 commits
  8. 22 Sep, 2012 6 commits
  9. 21 Sep, 2012 8 commits
  10. 20 Sep, 2012 2 commits
    • Anton Vorontsov's avatar
      88pm860x_battery and charger: Fix a few post-merge issues · f1ade352
      Anton Vorontsov authored
      
      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: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
      f1ade352
    • Jett.Zhou's avatar
      power_supply: Enable battery-charger for 88pm860x · a830d28b
      Jett.Zhou authored
      
      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: default avatarJett.Zhou <jtzhou@marvell.com>
      Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
      a830d28b
  11. 19 Sep, 2012 6 commits