• Linus Torvalds's avatar
    Merge tag 'for-v3.9' of git://git.infradead.org/battery-2.6 · 5a120391
    Linus Torvalds authored
    Pull battery updates from Anton Vorontsov:
     "Four new drivers:
    
       - goldfish_battery:
    
         This is Android Emulator battery driver.  Originally from Google,
         but Intel folks reshaped it for mainline
    
       - pm2301_charger:
    
         A new driver for ST-Ericsson 2301 Power Management chip, uses
         AB8500 battery management core
    
       - qnap-poweroff:
    
         The driver adds poweroff functionality for QNAP NAS boxes
    
       - restart-poweroff:
    
         A generic driver that implements 'power off by restarting'.  The
         actual poweroff functionality is implemented through a bootloader,
         so Linux' task is just to restart the box.  The driver is useful on
         Buffalo Linkstation LS-XHL and LS-CHLv2 boards.  Andrew Lunn worked
         on submitting the driver (as well as qnap-poweroff above).
    
      Additionally:
    
       - A lot of fixes for ab8500 drivers.  This is a part of efforts of
         syncing internal ST-Ericsson development tree with the mainline.
         Lee Jones @ Linaro worked on compilation and reshaping these
         series.
    
       - New health properties for the power supplies: "Watchdog timer
         expire" and "Safety timer expire"
    
       - As usual, a bunch of fixes/cleanups here and there"
    
    * tag 'for-v3.9' of git://git.infradead.org/battery-2.6: (81 commits)
      bq2415x_charger: Add support for offline and 100mA mode
      generic-adc-battery: Fix forever loop in gab_remove()
      goldfish_battery: Add missing GENERIC_HARDIRQS dependency
      da9030_battery: Include notifier.h
      bq27x00_battery: Fix reporting battery temperature
      power/reset: Remove newly introduced __dev* annotations
      lp8727_charger: Small cleanup in naming
      ab8500_btemp: Demote initcall sequence
      ds2782_battery: Add power_supply_changed() calls for proper uevent support
      power: Add battery driver for goldfish emulator
      u8500-charger: Delay for USB enumeration
      ab8500-bm: Remove individual [charger|btemp|fg|chargalg] pdata structures
      ab8500-charger: Do not touch VBUSOVV bits
      ab8500-fg: Use correct battery charge full design
      pm2301: LPN mode control support
      pm2301: Enable vbat low monitoring
      ab8500-bm: Flush all work queues before suspending
      ab8500-fg: Go to INIT_RECOVERY when charger removed
      ab8500-charger: Add support for autopower on AB8505 and AB9540
      abx500-chargalg: Add new sysfs interface to get current charge status
      ...
    
    Fix up fairly straightforward conflicts in the ab8500 driver.  But since
    it seems to be ARM-specific, I can't even compile-test the result..
    5a120391
ab8500_bmdata.c 12.3 KB