]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00213722:MX6 SABRESD battery:add voltage offset sysfs
authorRong Dian <b38775@freescale.com>
Fri, 15 Jun 2012 04:33:58 +0000 (12:33 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:50 +0000 (08:34 +0200)
commit15fdf0e17f0ab899202cb8a8e1ee0f8c541b12fc
treec0125baccf51d8a4abba5c5537df1ddfdb5ff5d9
parentada93ff6e8c40cf19db9e0011449403b16b7714f
ENGR00213722:MX6 SABRESD battery:add voltage offset sysfs

interface and modify driver

1.add battery sample voltage offset sysfs interface.
2.add usb charger powersupply from max8903 UOK.
3.modify battery max coulomb data to 99% in charger full stage and
  modify battery max coulomb data to 100% in discharger stage,because
  hardware cannot support battery internal resistance and coulomb
  calculation.Battery voltage and coulomb may increase a bit in charger
  stage,so keep max coulomb data 99% in charger full stage.

Signed-off-by: Rong Dian <b38775@freescale.com>
drivers/power/sabresd_battery.c