- 14 1月, 2011 1 次提交
-
-
由 MyungJoo Ham 提交于
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: NMyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 18 11月, 2010 1 次提交
-
-
由 Lars-Peter Clausen 提交于
This patch adds a simple driver for chargers indicating their online status through a GPIO pin. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 29 10月, 2010 1 次提交
-
-
由 Samuel Ortiz 提交于
The missing definitions are now in. This reverts commit 23886839. Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 28 10月, 2010 1 次提交
-
-
由 Anton Vorontsov 提交于
The driver is not buildable without MFD changes. For now, let's disable the driver as it breaks build for major platforms (i.e. x86). CC [M] drivers/power/twl4030_charger.o drivers/power/twl4030_charger.c: In function 'twl4030_clear_set_boot_bci': drivers/power/twl4030_charger.c:105: error: 'TWL4030_PM_MASTER_BOOT_BCI' undeclared (first use in this function) drivers/power/twl4030_charger.c:105: error: (Each undeclared identifier is reported only once drivers/power/twl4030_charger.c:105: error: for each function it appears in.) drivers/power/twl4030_charger.c: In function 'twl4030_bci_have_vbus': drivers/power/twl4030_charger.c:137: error: 'TWL4030_PM_MASTER_STS_HW_CONDITIONS' undeclared (first use in this function) drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe': drivers/power/twl4030_charger.c:477: warning: overflow in implicit constant conversion drivers/power/twl4030_charger.c:485: warning: overflow in implicit constant conversion make[2]: *** [drivers/power/twl4030_charger.o] Error 1 We can re-enable it if MFD tree will finally merge into 2.6.37. Reported-by: NIngo Molnar <mingo@elte.hu> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 30 9月, 2010 1 次提交
-
-
由 Grazvydas Ignotas 提交于
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: NGrazvydas Ignotas <notasas@gmail.com> Acked-by: NFelipe Balbi <balbi@ti.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 23 9月, 2010 1 次提交
-
-
由 Martin Schwidefsky 提交于
Fix this Kconfig warning on allmodconfig for s390: warning: (BATTERY_DS2760 && POWER_SUPPLY) selects W1 which has unmet direct dependencies (HAS_IOMEM) Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 06 9月, 2010 1 次提交
-
-
由 Rhyland Klein 提交于
This driver depends on I2C and uses SMBUS for communication with the host. Signed-off-by: NRhyland Klein <rklein@nvidia.com> Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Reviewed-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 19 8月, 2010 1 次提交
-
-
由 Heikki Krogerus 提交于
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: NHeikki Krogerus <ext-heikki.krogerus@nokia.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 05 8月, 2010 1 次提交
-
-
由 Lars-Peter Clausen 提交于
Add support for the battery voltage measurement part of the JZ4740 ADC unit. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1416/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
- 23 7月, 2010 1 次提交
-
-
由 Vasily Khoruzhick 提交于
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: NVasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 18 6月, 2010 1 次提交
-
-
由 Nithish Mahalingam 提交于
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: NNithish Mahalingam <nithish.mahalingam@intel.com> Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 18 5月, 2010 1 次提交
-
-
由 Anton Vorontsov 提交于
Just a handy driver that is used for testing purposes. Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 27 4月, 2010 1 次提交
-
-
由 Yulia Vilensky 提交于
Signed-off-by: NYulia Vilensky <vilensky@compulab.co.il> Signed-off-by: NMike Rapoport <mike@compulab.co.il> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 07 4月, 2010 1 次提交
-
-
由 Marek Vasut 提交于
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: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 08 3月, 2010 1 次提交
-
-
由 Haojian Zhuang 提交于
MAX8925 is a PMIC that contains charger component Signed-off-by: NHaojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 17 2月, 2010 1 次提交
-
-
由 Grazvydas Ignotas 提交于
BQ27500 is newer fuel gauge chip from TI with slightly changed register layout and some different register semantics. Add new i2c ID for it and handle differences where needed. Also rename bq27200 functions to bq27x00, as they are no longer bq27200 specific. Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com> Acked-by: NRodolfo Giometti <giometti@linux.it> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 28 11月, 2009 1 次提交
-
-
由 Thomas Kunze 提交于
This driver is based on tosa_battery.c.
-
- 16 11月, 2009 1 次提交
-
-
由 Mark Brown 提交于
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: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 05 9月, 2009 1 次提交
-
-
由 Mark Brown 提交于
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: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
-
- 01 7月, 2009 1 次提交
-
-
由 Ryan Mallon 提交于
This patch adds a driver for ds2782 battery devices. Signed-off-by: NRyan Mallon <ryan@bluewatersys.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 09 6月, 2009 1 次提交
-
-
由 Minkyu Kang 提交于
The MAX17040 is a I2C interfaced Fuel Gauge systems for lithium-ion batteries This patch adds support the MAX17040 Fuel Gauge Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 11 1月, 2009 1 次提交
-
-
由 Balaji Rao 提交于
Signed-off-by: NBalaji Rao <balajirrao@openmoko.org> Cc: Andy Green <andy@openmoko.com> Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
-
- 04 1月, 2009 2 次提交
-
-
由 Mike Rapoport 提交于
Driver for battery charger integrated into Dialog Semiconductor DA9030 PMIC Signed-off-by: NMike Rapoport <mike@compulab.co.il> Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
-
由 Mark Brown 提交于
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: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
-
- 13 10月, 2008 1 次提交
-
-
由 Linus Torvalds 提交于
It needs the WM97xx touchscreen driver to be compiled in, not as a module. And it cannot itself be a module, due to some unfortunate interactions with platform data. Reported-by: NHerbert Xu <herbert@gondor.apana.org.au> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 03 10月, 2008 1 次提交
-
-
由 Marek Vašut 提交于
This patch adds generic battery driver for wm97xx chips. Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 26 9月, 2008 1 次提交
-
-
由 Dmitry Baryshkov 提交于
tosa_battery should also depend on wm97xx_ts as it uses dac-accessing functions from that module. Signed-off-by: NDmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 01 9月, 2008 1 次提交
-
-
由 Rodolfo Giometti 提交于
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: NRodolfo Giometti <giometti@linux.it> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 10 7月, 2008 1 次提交
-
-
由 Marek Vašut 提交于
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: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 01 7月, 2008 1 次提交
-
-
由 Dmitry Baryshkov 提交于
This patch adds common battery interface support for Sharp SL-6000 (tosa). Signed-off-by: NDmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 23 7月, 2007 1 次提交
-
-
由 Paul Mackerras 提交于
As reported by Stephen Rothwell, an allmodconfig build on 64-bit PowerPC reports these errors: ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined! ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined! ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined! This fixes the problem by not building pmu_battery.ko on ppc64. There are no battery-powered ppc64 machines with an Apple PMU, and we can be reasonably confident there never will be. Signed-off-by: NPaul Mackerras <paulus@samba.org> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 16 7月, 2007 1 次提交
-
-
由 Al Viro 提交于
... so all proud owners of s390-based PDAs will have to live without that one Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 10 7月, 2007 6 次提交
-
-
由 David Woodhouse 提交于
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org> Signed-off-by: NAnton Vorontsov <cbou@mail.ru>
-
由 David Woodhouse 提交于
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org> Signed-off-by: NAnton Vorontsov <cbou@mail.ru>
-
由 Anton Vorontsov 提交于
This is driver for batteries with ds2760 chip inside, found inside almost every HP iPaq and HTC PDAs/phones. Signed-off-by: NAnton Vorontsov <cbou@mail.ru> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Anton Vorontsov 提交于
Signed-off-by: NEugeny Boger <eugenyboger@dgap.mipt.ru> Signed-off-by: NAnton Vorontsov <cbou@mail.ru> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Anton Vorontsov 提交于
Common power driver for PDAs and phones with one or two external power supplies (AC/USB) connected to main and backup batteries, and optional builtin charger. It's used to stop logic duplication through different embedded devices. So, power supply *logic* is here. pda_power register power supplies, and will take care about notifying batteries about power changes through external power interface. Currently, power consumption legal limits (including USB power consumption) should be handled by platform code, inside set_charge function. Signed-off-by: NAnton Vorontsov <cbou@mail.ru> Signed-off-by: NRoman Moravcik <roman.moravcik@gmail.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Anton Vorontsov 提交于
This class is result of "external power" and "battery" classes merge, as suggested by David Woodhouse. He also implemented uevent support. Here how userspace seeing it now: # ls /sys/class/power\ supply/ ac main-battery usb # cat /sys/class/power\ supply/ac/type AC # cat /sys/class/power\ supply/usb/type USB # cat /sys/class/power\ supply/main-battery/type Battery # cat /sys/class/power\ supply/ac/online 1 # cat /sys/class/power\ supply/usb/online 0 # cat /sys/class/power\ supply/main-battery/status Charging # cat /sys/class/leds/h5400\:red-left/trigger none h5400-radio timer hwtimer ac-online usb-online main-battery-charging-or-full [main-battery-charging] main-battery-full Signed-off-by: NAnton Vorontsov <cbou@mail.ru> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
-