1. 09 3月, 2012 1 次提交
  2. 13 1月, 2012 1 次提交
  3. 10 1月, 2012 1 次提交
    • A
      power_supply: Mark da9052 driver as broken · 6cfc2a23
      Anton Vorontsov 提交于
      There are some problems with MFD part of this driver, so the
      driver fails to build:
      
      drivers/power/da9052-battery.c: In function 'da9052_bat_read_volt':
      drivers/power/da9052-battery.c:293:2: error: implicit declaration of function 'da9052_adc_manual_read' [-Werror=implicit-function-declaration]
      drivers/power/da9052-battery.c: In function 'da9052_bat_check_presence':
      drivers/power/da9052-battery.c:306:2: error: implicit declaration of function 'da9052_adc_read_temp' [-Werror=implicit-function-declaration]
      drivers/power/da9052-battery.c: In function 'da9052_determine_vc_tbl_index':
      drivers/power/da9052-battery.c:348:1: warning: control reaches end of non-void function [-Wreturn-type]
      cc1: some warnings being treated as errors
      
      The fix for MFD part will probably go post -rc1 (or in the next merge
      window), so let's disable the driver for now.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      6cfc2a23
  4. 07 1月, 2012 1 次提交
  5. 06 1月, 2012 11 次提交
  6. 04 1月, 2012 8 次提交
  7. 10 12月, 2011 2 次提交
    • J
      power_supply: allow a power supply to explicitly point to powered device · 83516651
      Jeremy Fitzhardinge 提交于
      If a power supply has a scope of "Device", then allow the power supply
      to indicate what device it actually powers. This is represented in the
      power supply's sysfs directory as a symlink named "powers", which points to
      the sysfs directory of the powered device.
      
      If the device has children, then the sub-devices are also powered by
      the same power supply.
      Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Cc: Richard Hughes <richard@hughsie.com>
      83516651
    • J
      power_supply: add SCOPE attribute to power supplies · 25a0bc2d
      Jeremy Fitzhardinge 提交于
      This adds a "scope" attribute to a power_supply, which indicates how
      much of the system it powers.  It appears in sysfs as "scope" or in
      the uevent file as POWER_SUPPLY_SCOPE=.  There are presently three
      possible values:
      	Unknown - unknown power topology
      	System - the power supply powers the whole system
      	Device - it powers a specific device, or tree of devices
      
      A power supply which doesn't have a "scope" attribute should be assumed to
      have "System" scope.
      
      In general, usermode should assume that loss of all System-scoped power
      supplies will power off the whole system, but any single one is sufficient
      to power the system.
      Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Cc: Richard Hughes <richard@hughsie.com>
      25a0bc2d
  8. 06 12月, 2011 1 次提交
  9. 26 11月, 2011 14 次提交