06 Jan, 2012
2 commits
-
Driver for DA9052 battery charger. This driver depends on DA9052 MFD core
dirver for definitions and methods.This patch is functionally tested on Samsung SMDKV6410.
Signed-off-by: David Dajun Chen
Signed-off-by: Ashish Jangam
Signed-off-by: Anton Vorontsov -
This driver for the bq20z75 implemented the register spec defined
by the SBS standard. As this is not unique to this the TI part this
was originally written for, we can generalize this driver to
show its support for any SBS compliant battery.Signed-off-by: Rhyland Klein
Signed-off-by: Anton Vorontsov
04 Jan, 2012
2 commits
-
National Semiconductor LP8727 is the battery charger with Micro/Mini
USB interface. This IC includes below functions:- I2C interface for accessing user registers
- Single input Li-Ion battery charger
- Charger input ID detection from Micro/Mini USB
- Multiplexing switches on USB, UARTSigned-off-by: Woogyom Kim
Signed-off-by: Anton Vorontsov -
Because battery health monitoring should be done even when suspended,
it needs to wake up and suspend periodically. Thus, userspace battery
monitoring may incur too much overhead; every device and task is woken
up periodically. Charger Manager uses suspend-again to provide
in-suspend monitoring.This patch allows to monitor battery health in-suspend state.
Signed-off-by: Donggeun Kim
Signed-off-by: MyungJoo Ham
Signed-off-by: Kyungmin Park
Signed-off-by: Anton Vorontsov
01 Aug, 2011
1 commit
-
* git://git.infradead.org/battery-2.6:
gpio-charger: Fix checking return value of request_any_context_irq
power_supply: MAX17042: Support additional properties
max8903_charger: Allow platform data to be __initdata
power_supply: Add charger driver for MAX8998/LP3974
power_supply: Add charger driver for MAX8997/8966
max17042_battery: Remove obsolete cleanup for clientdata
twl4030_charger: Fix warnings
wm831x_power: Support multiple instances
wm831x_backup: Support multiple instances
apm_power: Fix style error in macros
s3c_adc_battery: Fix annotation for s3c_adc_battery_probe()
bq20z75: Enable detection after registering
bq20z75: Add support for external notification
08 Jul, 2011
2 commits
-
This patch supports power supply APIs for MAX8998/LP3974.
Signed-off-by: Donggeun Kim
Signed-off-by: MyungJoo Ham
Signed-off-by: KyungMin Park
Acked-by: Samuel Ortiz
Signed-off-by: Anton Vorontsov -
MAX8997/8966 chip is a multi-function device which includes
PMIC, RTC, Fuel Gauge, MUIC, Haptic, Flash control, and
Battery charging control.
The driver for it is located at drivers/mfd.This patch supports battery charging control of MAX8997/8966 chip and
provides power supply class information to userspace.Signed-off-by: Donggeun Kim
Signed-off-by: MyungJoo Ham
Signed-off-by: KyungMin Park
Acked-by: Samuel Ortiz
Signed-off-by: Anton Vorontsov
28 May, 2011
1 commit
-
* git://git.infradead.org/battery-2.6:
PXA: Use dev_pm_ops in z2_battery
ds2760_battery: Fix rated capacity of the hx4700 1800mAh battery
ds2760_battery: Fix indexing of the 4 active full EEPROM registers
power: Make test_power driver more dynamic.
bq27x00_battery: Name of cycle count property
max8903_charger: Add GENERIC_HARDIRQS as a dependency (fixes S390 build)
ARM: RX-51: Enable isp1704 power on/off
isp1704_charger: Allow board specific powering routine
gpio-charger: Add gpio_charger_resume
power_supply: Add driver for MAX8903 charger
27 May, 2011
1 commit
-
Add support for the Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC.
It was suggested to combine this functionality with the current ds2782
driver. Unfortunately, I'm unable to commit the time to refactoring this
driver to that extent and I don't have a platform with the ds2782 part to
validate that there are no regression issues by adding this functionality.[akpm@linux-foundation.org: use min_t()]
Signed-off-by: Clifton Barnes
Tested-by: Haojian Zhuang
Cc: Evgeniy Polyakov
Cc: Ryan Mallon
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Apr, 2011
1 commit
-
MAX8903 is an integrated battery charger and selector with two
power inputs (USB and AC adapter). This driver enables the charger,
handles interrupts, and provides power-supply-class information to
userland.Tested on Exynos4 NURI / S5PC210 SLP7 boards.
Signed-off-by: MyungJoo Ham
Signed-off-by: Kyungmin Park
Signed-off-by: Anton Vorontsov
14 Jan, 2011
1 commit
-
The MAX17042 is a fuel gauge with an I2C interface for lithium-ion
betteries. Unlike its predecessor MAX17040, MAX17042 uses 16bit
registers. Besides, MAX17042 has much more features than MAX17040; e.g.,
a thermistor, current and current accumulation measurement, battery
internal resistance estimate, average values of measurement, and others.This patch implements a driver for MAX17042.
In this initial release, we have implemented the most basic features of
a fuel gauge: measure the battery capacity and voltage.Signed-off-by: MyungJoo Ham
Signed-off-by: Kyungmin Park
Signed-off-by: Anton Vorontsov
18 Nov, 2010
1 commit
-
This patch adds a simple driver for chargers indicating their online
status through a GPIO pin.Signed-off-by: Lars-Peter Clausen
Signed-off-by: Anton Vorontsov
06 Oct, 2010
1 commit
-
Replace EXTRA_CFLAGS with ccflags-y; remove if-statements and replace
with lists using the kbuild idiom.None of the dependencies are modified.
Signed-off-by: matt mooney
Signed-off-by: Anton Vorontsov
30 Sep, 2010
1 commit
-
TWL4030/TPS65950 is a multi-function device with integrated charger,
which allows charging from AC or USB. This driver enables the charger
and provides several monitoring functions.Tested on OMAP3 Pandora board.
Signed-off-by: Grazvydas Ignotas
Acked-by: Felipe Balbi
Signed-off-by: Anton Vorontsov
06 Sep, 2010
1 commit
-
This driver depends on I2C and uses SMBUS for communication with
the host.Signed-off-by: Rhyland Klein
Reviewed-by: Mark Brown
Reviewed-by: Jean Delvare
Signed-off-by: Anton Vorontsov
19 Aug, 2010
1 commit
-
NXP ISP1704 is Battery Charging Specification 1.0 compliant USB
transceiver. This adds a power supply driver for ISP1704 and
ISP1707 USB transceivers.Signed-off-by: Heikki Krogerus
Signed-off-by: Anton Vorontsov
13 Aug, 2010
1 commit
-
* git://git.infradead.org/battery-2.6:
intel_mid_battery: Fix battery scaling
intel_mid_battery: Fix the argument order to intel_scu_ipc_command
olpc_battery: Fix build failure caused by sysfs changes
Add s3c-adc-battery driver
Intel MID platform battery driverFix up trivial conflicts (battery drivers added from different branches)
in drivers/power/{Kconfig,Makefile}
05 Aug, 2010
1 commit
-
Add support for the battery voltage measurement part of the JZ4740 ADC unit.
Signed-off-by: Lars-Peter Clausen
Acked-by: Anton Vorontsov
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1416/
Signed-off-by: Ralf Baechle
23 Jul, 2010
1 commit
-
s3c-adc-battery is driver for monitoring and charging battery on
iPAQ H1930/H1940/RX1950.It depends on s3c-adc driver to get battery voltage and current.
Signed-off-by: Vasily Khoruzhick
Signed-off-by: Anton Vorontsov
18 Jun, 2010
1 commit
-
The PMIC Battery driver provides battery charging and battery gauge
functionality on Intel MID platforms. This provides the basic functions.
There are some USB drivers to merge before the selection of charging
between the different USB power levels can be enabled.Moved to a platform device by Alek Du.
Signed-off-by: Nithish Mahalingam
Signed-off-by: Alan Cox
Signed-off-by: Anton Vorontsov
18 May, 2010
1 commit
-
Just a handy driver that is used for testing purposes.
Signed-off-by: Anton Vorontsov
07 Apr, 2010
1 commit
-
This patch adds driver for Zipit Z2 battery chip called AER915. No
details are known about the chip. The chip is available through I2C bus
at address 0x55 and it's register 0x02 contains battery voltage.Signed-off-by: Marek Vasut
Signed-off-by: Anton Vorontsov
08 Mar, 2010
1 commit
-
MAX8925 is a PMIC that contains charger component
Signed-off-by: Haojian Zhuang
Signed-off-by: Samuel Ortiz
16 Dec, 2009
1 commit
-
* git://git.infradead.org/battery-2.6:
power_supply_sysfs: Handle -ENODATA in a special way
wm831x_backup: Remove unused variables
gta02: Set pcf50633 charger_reference_current_ma
pcf50633: Query charger status directly
pcf50633: Properly reenable charging when the supply conditions change
pcf50633: Get rid of charging restart software auto-triggering
pcf50633: introduces battery charging current control
pcf50633: Add ac power supply class to the charger
wm831x: Factor out WM831x backup battery charger
28 Nov, 2009
1 commit
-
This driver is based on tosa_battery.c.
16 Nov, 2009
1 commit
-
The backup battery on WM831x is a separate IP block to the main PMU
and is largely unrelated to the main supply functionality. Factor it
out into a separate driver in order to reflect this and better support
future hardware versions.Signed-off-by: Mark Brown
Acked-by: Samuel Ortiz
Signed-off-by: Anton Vorontsov
05 Sep, 2009
1 commit
-
The WM831x PMICs provide power path management from three sources:
a wall supply, USB and a battery with integrated charger. They also
provide an additional backup supply with integrated for maintaining
always on functionality such as the RTC and monitoring of power
switches.After some initial configuration at startup the device operates
autonomously, the driver simply provides reporting of the current
state.Signed-off-by: Mark Brown
Signed-off-by: Anton Vorontsov
01 Jul, 2009
1 commit
-
This patch adds a driver for ds2782 battery devices.
Signed-off-by: Ryan Mallon
Signed-off-by: Anton Vorontsov
09 Jun, 2009
1 commit
-
The MAX17040 is a I2C interfaced Fuel Gauge systems for lithium-ion
batteries This patch adds support the MAX17040 Fuel GaugeSigned-off-by: Minkyu Kang
Signed-off-by: Anton Vorontsov
11 Jan, 2009
1 commit
-
Signed-off-by: Balaji Rao
Cc: Andy Green
Cc: David Woodhouse
Acked-by: Anton Vorontsov
Signed-off-by: Samuel Ortiz
04 Jan, 2009
2 commits
-
Driver for battery charger integrated into Dialog Semiconductor DA9030 PMIC
Signed-off-by: Mike Rapoport
Acked-by: Anton Vorontsov
Signed-off-by: Samuel Ortiz -
This patch adds support for the PMU provided by the WM8350 which
implements battery, line and USB supplies including a battery charger.
The hardware functions largely autonomously, with minimal software
control required to initiate fast charging.Support for configuration of the USB supply is not yet implemented.
This means that the hardware will remain in the mode configured at
startup, by default limiting the current drawn from USB to 100mA.This driver was originally written by Liam Girdwood with subsequent
updates for submission by Mark Brown.Signed-off-by: Mark Brown
Acked-by: Anton Vorontsov
Signed-off-by: Samuel Ortiz
19 Oct, 2008
1 commit
-
Conflicts:
drivers/power/Makefile
03 Oct, 2008
1 commit
-
This patch adds generic battery driver for wm97xx chips.
Signed-off-by: Marek Vasut
Acked-by: Anton Vorontsov
Acked-by: Mark Brown
Signed-off-by: Russell King
01 Sep, 2008
1 commit
-
These battery managers came in two different packages: one for I2C
busses (BQ27200) and one for HDQ busses (BQ27000).This driver currently supports only the I2C chip version but the code
is designed in order to easily allow the HDQ chip version integration.[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: make things static, use kasprintf()]
Signed-off-by: Rodolfo Giometti
Cc: David Woodhouse
Signed-off-by: Andrew Morton
Signed-off-by: Anton Vorontsov
30 Jul, 2008
1 commit
-
Conflicts:
drivers/power/Kconfig
drivers/power/Makefile
10 Jul, 2008
1 commit
-
This patch adds battery monitoring driver for PalmTX.
It can read voltage from the battery and temperature.
It also monitors charging/discharging status.Signed-off-by: Marek Vasut
Signed-off-by: Russell King
01 Jul, 2008
1 commit
-
This patch adds common battery interface support for Sharp SL-6000 (tosa).
Signed-off-by: Dmitry Baryshkov
Signed-off-by: Anton Vorontsov
10 Jul, 2007
2 commits
-
Signed-off-by: David Woodhouse
Signed-off-by: Anton Vorontsov -
Signed-off-by: David Woodhouse
Signed-off-by: Anton Vorontsov