linux/drivers/power
Pali Rohár 8059c1c6be power: rx51_battery: Fix reporting correct values
Tell twl4030_madc_conversion that this driver needs raw values.
Driver twl4030_madc has some hardcoded values and conversation
functions which are incorrect for Nokia RX-51 board. This driver
rx51_battery expects raw values which convert itself.

This patch fixing values reported by power supply interface.
Before this patch driver reported always incorrect values on
3.8 kernel (sometimes design capacity was negative).

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-04-08 16:36:27 +02:00
..
avs ARM: OMAP2+: Drop plat/cpu.h for omap2plus 2012-12-17 10:50:41 -08:00
reset - Four new drivers: 2013-02-20 10:19:07 -08:00
88pm860x_battery.c 88pm860x_battery: Eliminate possible references to released resources 2013-01-06 12:46:23 -08:00
88pm860x_charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
ab8500_bmdata.c ab8500-bm: Add support for the new ab8540 platform 2013-03-07 12:35:48 +08:00
ab8500_btemp.c ab8500-bm: Trivially fix up some incorrect and out-of-date comments 2013-03-07 12:35:56 +08:00
ab8500_charger.c ab8500-charger: Do not use [delayed_]work_pending() 2013-03-07 12:35:59 +08:00
ab8500_fg.c ab8500-fg: Change current calculation 2013-03-07 12:35:59 +08:00
abx500_chargalg.c abx500-chargalg: Add charging current step interface 2013-03-07 12:35:58 +08:00
apm_power.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
bq27x00_battery.c power: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
bq2415x_charger.c power: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
charger-manager.c charger_manager: Don't use [delayed_]work_pending() 2013-01-05 14:03:26 -08:00
collie_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
da9030_battery.c da9030_battery: Include notifier.h 2013-02-08 17:28:35 -08:00
da9052-battery.c da9052-battery: Avoid out-of-range array access 2013-01-06 14:34:26 -08:00
ds2760_battery.c workqueue: use mod_delayed_work() instead of cancel + queue 2012-08-13 16:27:37 -07:00
ds2780_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
ds2781_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
ds2782_battery.c power: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
generic-adc-battery.c Staging tree update for 3.9-rc1 2013-02-21 12:11:44 -08:00
goldfish_battery.c power: Add battery driver for goldfish emulator 2013-02-02 19:06:34 -08:00
gpio-charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
intel_mid_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
isp1704_charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
jz4740-battery.c power: Convert to devm_ioremap_resource() 2013-01-25 12:21:47 -08:00
Kconfig pm2301-charger: Always compile the PM2301 Charger driver with AB8500 Battery Mgnt 2013-03-07 12:35:46 +08:00
lp8727_charger.c lp8727_charger: Small cleanup in naming 2013-02-02 19:33:52 -08:00
lp8788-charger.c Staging tree update for 3.9-rc1 2013-02-21 12:11:44 -08:00
Makefile pm2301-charger: Always compile the PM2301 Charger driver with AB8500 Battery Mgnt 2013-03-07 12:35:46 +08:00
max8903_charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
max8925_power.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2012-12-11 22:15:57 -08:00
max8997_charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
max8998_charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
max17040_battery.c max17040_battery: Use devm_kzalloc 2013-01-06 14:18:58 -08:00
max17042_battery.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2012-12-11 22:15:57 -08:00
olpc_battery.c Drivers: power: remove __dev* attributes. 2013-01-03 15:57:14 -08:00
pcf50633-charger.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
pda_power.c pda_power: Remove ac_draw_failed goto and label 2012-09-21 16:50:11 -07:00
pm2301_charger.c pm2301-charger: Reference put missing after access 2013-03-07 12:35:57 +08:00
pm2301_charger.h pm2301-charger: Removed unused code from PM2301 driver 2013-03-07 12:35:53 +08:00
pmu_battery.c
power_supply_core.c driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00
power_supply_leds.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
power_supply_sysfs.c power_supply: Add watchdog and safety timer expiries under PROP_HEALTH_* 2013-01-05 18:51:18 -08:00
power_supply.h device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
rx51_battery.c power: rx51_battery: Fix reporting correct values 2013-04-08 16:36:27 +02:00
s3c_adc_battery.c power: remove use of __devinit 2012-11-28 11:43:22 -08:00
sbs-battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
smb347-charger.c power: remove use of __devexit_p 2012-11-28 11:43:22 -08:00
test_power.c test_power: Add VOLTAGE_NOW and BATTERY_TEMP properties 2012-06-20 22:45:41 -07:00
tosa_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
twl4030_charger.c twl4030_charger: Change TWL4030_MODULE_* ids to TWL_MODULE_* 2012-11-18 16:14:52 -08:00
wm97xx_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
wm831x_backup.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
wm831x_power.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
wm8350_power.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00
z2_battery.c power: remove use of __devexit 2012-11-28 11:43:22 -08:00