1. 17 4月, 2013 1 次提交
  2. 07 3月, 2013 3 次提交
    • L
      ab8500-bm: Add support for the new ab8540 platform · 861a30da
      Lee Jones 提交于
      Provide AB8540 platform specific information required to run the
      Battery Management subsystem on AB8540 based devices. For this to
      happen we see the introduction of separate platform specific data
      structures and a means in which to process them.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      861a30da
    • L
      ab8500-bm: Add usb power path support · db43e6c4
      Lee Jones 提交于
      AB8540 supports power path function in USB charging mode for fast
      power up with dead and weak battery, and it could extend
      the battery age.
      
      When USB charging starts, if the Vbattrue is below than SW cut off
      voltage, power path and pre-charge should be enabled. If Vbattrue
      is higher than SW cut off voltage, power path and pre-charge should
      be disabled. This is to make sure full current to battery charge.
      At the end of charge, power path should be enable again to reduce
      charging the battery again.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      db43e6c4
    • L
      ab8500-fg: Add power cut feature for ab8505 and ab8540 · 93ff722e
      Lee Jones 提交于
      Add support for a power cut feature which allows user to
      configure when ab8505 and ab8540 based platforms should shut
      down system due to low battery.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      93ff722e
  3. 04 2月, 2013 1 次提交
  4. 23 1月, 2013 2 次提交
    • L
      ab8500-bm: Remove individual [charger|btemp|fg|chargalg] pdata structures · 97034a1e
      Lee Jones 提交于
      None of the aforementioned components have their own dedicated
      platform data structures anymore. Instead they have all been
      merged into one big Battery Management container. Let's remove
      them and place all the nice newly added attributes into the core
      container.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      97034a1e
    • 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
  5. 16 1月, 2013 1 次提交
  6. 11 12月, 2012 2 次提交
    • L
      ab8500_bm: Always send platform specific battery information via pdata · 23a04f9f
      Lee Jones 提交于
      Currently the AB8500 battery management subsystem receives platform
      specific information via two different means depending on how the
      platform is booted. If DT is not enabled, a reference to a *_bm_data
      data structure containing each platform specific attribute is passed
      though platform_data. However, if DT is enabled, then platform_data
      is empty and the reference is gained though a DT specific probe
      function. There are two issues here 1) the same reference is
      being collected each time and 2) the DT way doesn't allow any
      provisions to select different platform specific attributes, which
      kind of defeats the object.
      
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      23a04f9f
    • L
      ab8500_bm: Rename battery management platform data to something more logical · b0284de0
      Lee Jones 提交于
      The platform specific battery management configuration data structure
      is currently called 'bat' short for 'battery'; however, it contains
      information for all components of the battery management group, rather
      than information pertaining to the battery itself - there are other
      structures for that. So, in keeping with its structure namesake
      'abx500_bm_data', we rename it to 'bm' here. Using similar logic,
      we're also renaming 'bmdevs_of_probe' to the more device specific
      'ab8500_bm_of_probe'.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      b0284de0
  7. 19 11月, 2012 2 次提交
  8. 14 9月, 2012 1 次提交
  9. 02 5月, 2012 1 次提交
    • L
      mfd/ab5500: delete AB5500 support · 72fb9220
      Linus Walleij 提交于
      This platform has been obsoleted and was only available inside of
      ST-Ericsson, no users of this code are left in the world. This
      deletes the core U5500 support entirely in the same manner as the
      obsoleted U8500 silicon was previously deleted.
      
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Rabin Vincent <rabin.vincent@stericsson.com>
      Cc: Jonas Aberg <jonas.aberg@stericsson.com>
      Cc: Per Forlin <per.forlin@stericsson.com>
      Cc: Ulf Hansson <ulf.hansson@stericsson.com>
      Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      72fb9220
  10. 27 3月, 2012 1 次提交
  11. 16 3月, 2012 1 次提交
    • P
      device.h: audit and cleanup users in main include dir · 313162d0
      Paul Gortmaker 提交于
      The <linux/device.h> header includes a lot of stuff, and
      it in turn gets a lot of use just for the basic "struct device"
      which appears so often.
      
      Clean up the users as follows:
      
      1) For those headers only needing "struct device" as a pointer
      in fcn args, replace the include with exactly that.
      
      2) For headers not really using anything from device.h, simply
      delete the include altogether.
      
      3) For headers relying on getting device.h implicitly before
      being included themselves, now explicitly include device.h
      
      4) For files in which doing #1 or #2 uncovers an implicit
      dependency on some other header, fix by explicitly adding
      the required header(s).
      
      Any C files that were implicitly relying on device.h to be
      present have already been dealt with in advance.
      
      Total removals from #1 and #2: 51.  Total additions coming
      from #3: 9.  Total other implicit dependencies from #4: 7.
      
      As of 3.3-rc1, there were 110, so a net removal of 42 gives
      about a 38% reduction in device.h presence in include/*
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      313162d0
  12. 07 3月, 2012 1 次提交
  13. 03 11月, 2011 1 次提交
  14. 24 10月, 2011 2 次提交
  15. 27 5月, 2011 2 次提交
  16. 23 3月, 2011 1 次提交
  17. 29 10月, 2010 2 次提交
  18. 28 5月, 2010 2 次提交
  19. 08 3月, 2010 1 次提交
  20. 17 9月, 2009 3 次提交
  21. 18 6月, 2009 1 次提交