1. 06 1月, 2013 1 次提交
  2. 11 12月, 2012 1 次提交
  3. 24 11月, 2012 1 次提交
  4. 19 11月, 2012 3 次提交
  5. 22 9月, 2012 1 次提交
    • A
      power: battery: Generic battery driver using IIO · e60fea79
      anish kumar 提交于
      Driver to allow use of the ADC drivers supported by the IIO
      subsystem for battery status monitoring. Connecting this
      driver to the relevant IIO device requires registration of
      the appropriate iio_map structure array by the IIO device
      driver (usually from platform data).  If specified the driver
      will also make use of a gpio to provide interrupt driven
      notification that the battery is fully charged.
      
      In last version:
      Addressed concerns raised by lars:
      a. made the adc_bat per device.
      b. get the IIO channel using hardcoded channel names.
      c. Minor issues related to gpio_is_valid and some code
         refactoring.
      
      In V1:
      Addressed concerns raised by Anton:
      a. changed the struct name to gab(generic adc battery).
      b. Added some functions to neaten the code.
      c. Some minor coding guidelines changes.
      d. Used the latest function introduce by lars:
         iio_read_channel_processed to streamline the code.
      
      In V2:
      Addressed concerns by lars:
      a. No need of allocating memory for channels.Make it array.
      b. Code restructring, coding style and following kernel guidelines changes
         suggested by him.
      
      In V3:
      Addressed conerns by Anton:
      a. Added the copyright.
      b. Coding guidelines changes suggested by him.
      c. Added Makefile and Kconfig
      Signed-off-by: Nanish kumar <anish198519851985@gmail.com>
      Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      e60fea79
  6. 21 9月, 2012 2 次提交
    • 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
    • K
      power_supply: Add new lp8788 charger driver · 98a27664
      Kim, Milo 提交于
      TI LP8788 PMU supports regulators, battery charger, RTC, ADC, backlight
      driver and current sinks.
      
      This patch supports the charger operations including the charger
      interrupt handling.
      
      The LP8788 charger driver provides configurable platform data.  The
      charger platform data includes ADC input ID, maximum battery voltage,
      charging parameters and etc.
      
      The ADC input is used for getting the battery voltage and temperature.
      Charging parameters are used for updating the charger operations such
      like setting charging current and setting End-of-charge conditions.
      
      When the charging interrupt occurs, power supply uevents are generated
      in order to update the user-space information.  For platform specific
      charger action, the charger_event() function can be used in the
      platform side.
      Signed-off-by: NMilo(Woogyom) Kim <milo.kim@ti.com>
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      98a27664
  7. 01 6月, 2012 1 次提交
  8. 27 3月, 2012 2 次提交
  9. 09 3月, 2012 1 次提交
  10. 06 1月, 2012 2 次提交
  11. 04 1月, 2012 2 次提交
  12. 08 7月, 2011 2 次提交
  13. 27 5月, 2011 1 次提交
  14. 20 4月, 2011 1 次提交
  15. 14 1月, 2011 1 次提交
  16. 18 11月, 2010 1 次提交
  17. 06 10月, 2010 1 次提交
  18. 30 9月, 2010 1 次提交
  19. 06 9月, 2010 1 次提交
  20. 19 8月, 2010 1 次提交
  21. 05 8月, 2010 1 次提交
  22. 23 7月, 2010 1 次提交
  23. 18 6月, 2010 1 次提交
  24. 18 5月, 2010 1 次提交
  25. 07 4月, 2010 1 次提交
  26. 08 3月, 2010 1 次提交
  27. 28 11月, 2009 1 次提交
  28. 16 11月, 2009 1 次提交
  29. 05 9月, 2009 1 次提交
  30. 01 7月, 2009 1 次提交
  31. 09 6月, 2009 1 次提交
  32. 11 1月, 2009 1 次提交
  33. 04 1月, 2009 1 次提交