1. 21 6月, 2016 1 次提交
  2. 25 2月, 2016 1 次提交
  3. 08 12月, 2015 1 次提交
    • K
      power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET by uncoupling them · f96576bd
      Krzysztof Kozlowski 提交于
      Currently the reset/power off handlers (POWER_RESET) and Adaptive Voltage
      Scaling class (POWER_AVS) are not built when POWER_SUPPLY is disabled.
      The POWER_RESET is also not visible in drivers main section of config.
      
      However they do not really depend on power supply so they can be built
      always. The objects for power supply drivers already depend on
      particular Kconfig symbols so there is no need for any changes in
      drivers/power/Makefile.
      
      This allows selecting POWER_RESET from main drivers config section and
      fixes following build warning (encountered on ARM exynos defconfig when
      POWER_SUPPLY is disabled manually):
      
      warning: (ARCH_HISI && ARCH_INTEGRATOR && ARCH_EXYNOS && ARCH_VEXPRESS && REALVIEW_DT) selects POWER_RESET which has unmet direct dependencies (POWER_SUPPLY)
      warning: (ARCH_EXYNOS) selects POWER_RESET_SYSCON which has unmet direct dependencies (POWER_SUPPLY && POWER_RESET && OF)
      warning: (ARCH_EXYNOS) selects POWER_RESET_SYSCON_POWEROFF which has unmet direct dependencies (POWER_SUPPLY && POWER_RESET && OF)
      Reported-by: NPavel Fedin <p.fedin@samsung.com>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NSebastian Reichel <sre@kernel.org>
      f96576bd
  4. 05 12月, 2015 1 次提交
  5. 19 10月, 2015 1 次提交
  6. 16 10月, 2015 1 次提交
  7. 13 10月, 2015 1 次提交
  8. 29 9月, 2015 1 次提交
  9. 25 9月, 2015 1 次提交
  10. 23 9月, 2015 1 次提交
  11. 22 9月, 2015 2 次提交
  12. 05 8月, 2015 1 次提交
  13. 30 5月, 2015 1 次提交
  14. 24 5月, 2015 3 次提交
  15. 08 3月, 2015 1 次提交
  16. 26 2月, 2015 1 次提交
  17. 22 1月, 2015 3 次提交
  18. 20 1月, 2015 2 次提交
  19. 25 9月, 2014 1 次提交
    • K
      power: max14577: Fix circular config SYSFS dependency · 6a91e854
      Krzysztof Kozlowski 提交于
      Make the max14577 charger driver depending on SYSFS instead selecting
      it. This fixes warning on x86_64 with allmodconfig:
      
      scripts/kconfig/conf --allmodconfig Kconfig
      fs/sysfs/Kconfig:1:error: recursive dependency detected!
      fs/sysfs/Kconfig:1:	symbol SYSFS is selected by CHARGER_MAX14577
      drivers/power/Kconfig:327:	symbol CHARGER_MAX14577 depends on POWER_SUPPLY
      drivers/power/Kconfig:1:	symbol POWER_SUPPLY is selected by HID_SONY
      drivers/hid/Kconfig:638:	symbol HID_SONY depends on NEW_LEDS
      drivers/leds/Kconfig:8:	symbol NEW_LEDS is selected by SENSORS_APPLESMC
      drivers/hwmon/Kconfig:299:	symbol SENSORS_APPLESMC depends on HWMON
      drivers/hwmon/Kconfig:5:	symbol HWMON is selected by EEEPC_LAPTOP
      drivers/platform/x86/Kconfig:496:	symbol EEEPC_LAPTOP depends on HOTPLUG_PCI
      drivers/pci/hotplug/Kconfig:5:	symbol HOTPLUG_PCI depends on SYSFS
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NSebastian Reichel <sre@kernel.org>
      6a91e854
  20. 24 9月, 2014 2 次提交
  21. 24 7月, 2014 1 次提交
  22. 16 1月, 2014 1 次提交
  23. 24 12月, 2013 1 次提交
  24. 02 12月, 2013 1 次提交
    • A
      max17042_battery: Fix build errors caused by missing REGMAP_I2C config · 93353e80
      Austin Boyle 提交于
      max17042 now uses regmap interface but does not enable config option. This
      patch fixes the following build errors:
      
      drivers/power/max17042_battery.c:661:15: error: variable ‘max17042_regmap_config’ has initializer but incomplete type
      drivers/power/max17042_battery.c:662:2: error: unknown field ‘reg_bits’ specified in initializer
      drivers/power/max17042_battery.c:662:2: warning: excess elements in struct initializer
      drivers/power/max17042_battery.c:662:2: warning: (near initialization for ‘max17042_regmap_config’)
      drivers/power/max17042_battery.c:663:2: error: unknown field ‘val_bits’ specified in initializer
      drivers/power/max17042_battery.c:663:2: warning: excess elements in struct initializer
      drivers/power/max17042_battery.c:663:2: warning: (near initialization for ‘max17042_regmap_config’)
      drivers/power/max17042_battery.c:664:2: error: unknown field ‘val_format_endian’ specified in initializer
      drivers/power/max17042_battery.c:664:23: error: ‘REGMAP_ENDIAN_NATIVE’ undeclared here (not in a function)
      drivers/power/max17042_battery.c:664:2: warning: excess elements in struct initializer
      drivers/power/max17042_battery.c:664:2: warning: (near initialization for ‘max17042_regmap_config’)
      drivers/power/max17042_battery.c: In function ‘max17042_probe’:
      drivers/power/max17042_battery.c:684:2: error: implicit declaration of function ‘devm_regmap_init_i2c’
      Signed-off-by: NAustin Boyle <boyle.austin@gmail.com>
      Acked-by: NJonghwa Lee <jonghwa3.lee@samsung.com>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      93353e80
  25. 26 10月, 2013 1 次提交
  26. 13 9月, 2013 1 次提交
  27. 31 8月, 2013 1 次提交
  28. 28 8月, 2013 1 次提交
    • M
      bq24190_charger: Add support for TI BQ24190 Battery Charger · d7bf353f
      Mark A. Greer 提交于
      Add driver support for the Texas Instruments BQ24190 battery charger.
      Some of the information provided by the device is about the charger and
      other information is about the battery so create two power_supply objects
      (one for each) and provide the appropriate information for each one.
      
      The device has many fields that go beyond what is reasonable to report or
      modify using the existing 'POWER_SUPPLY_PROP_*' properties so the driver
      exports the register fields via sysfs.  They are prefixed by 'f_' (for
      'field') to make it easier to distinguish between a register field and a
      "normal" sysfs file exported by the power_supply infrastructure.
      Signed-off-by: NMark A. Greer <mgreer@animalcreek.com>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      d7bf353f
  29. 10 8月, 2013 1 次提交
  30. 11 5月, 2013 1 次提交
    • X
      bq27x00: Fix I2C dependency in KConfig · a2d0dbb4
      Xiong Zhou 提交于
      This patch fixes build failure(randconfig) of next-20130501. When config
      I2C as m, BATTERY_BQ27x00 as y, here comes the failure. The driver depends
      on I2C only if I2C is not disabled, as Lars commented. Last version of
      this patch make the driver depend on I2C unconditionally.
      
      Failure message:
      drivers/built-in.o: In function `bq27x00_read_i2c':
      bq27x00_battery.c:(.text+0x1082a7): undefined reference to `i2c_transfer'
      drivers/built-in.o: In function `bq27x00_battery_init':
      bq27x00_battery.c:(.init.text+0x6085): undefined reference to `i2c_register_driver'
      bq27x00_battery.c:(.init.text+0x60c7): undefined reference to `i2c_del_driver'
      drivers/built-in.o: In function `bq27x00_battery_exit':
      bq27x00_battery.c:(.exit.text+0xbf0): undefined reference to `i2c_del_driver'
      make: *** [vmlinux] Error 1
      Signed-off-by: NXiong Zhou <jencce.kernel@gmail.com>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      a2d0dbb4
  31. 03 5月, 2013 1 次提交
    • R
      lp8788-charger: Fix kconfig dependency · 237a1b01
      Randy Dunlap 提交于
      Fix build errors in lp8788-charger by making it depend on IIO.
      Fixes errors when CONFIG_IIO=m and CHARGER_LP8788=y.
      
      lp8788-charger.c:(.text+0x2146b5): undefined reference to `iio_channel_get'
      lp8788-charger.c:(.text+0x2146ce): undefined reference to `iio_channel_get'
      lp8788-charger.c:(.text+0x214a86): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214b51): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214c30): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214d93): undefined reference to `iio_channel_release'
      lp8788-charger.c:(.text+0x214dac): undefined reference to `iio_channel_release'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NMilo Kim <milo.kim@ti.com>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      237a1b01
  32. 19 3月, 2013 1 次提交
    • R
      power_supply: Add support for tps65090-charger · 6f8da5df
      Rhyland Klein 提交于
      This patch adds support for the tps65090 charger driver. This driver is
      responsible for controlling the charger aspect of the tps65090 mfd.
      Currently, this mainly consists of turning on and off the charger, but
      some features of the charger can be supported through this driver
      including:
      
      - Enable Auto Recharge based on Battery voltage
      - Fast Charge Safety Timer
      - Maximum battery discharge current
      - Maximum battery adapter current
      - Enable External Charge
      - Disable charging termination based on low charger current (supported)
      
      Once the driver is accepted, later patches can add support for the
      features above which are not yet supported.
      
      Based on work by:
      
        Syed Rafiuddin <srafiuddin@nvidia.com>
        Laxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: NRhyland Klein <rklein@nvidia.com>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      6f8da5df
  33. 18 3月, 2013 1 次提交