08 Jul, 2011

2 commits

  • This patch supports additional properties (PRESENT, CYCLE_COUNT,
    VOLTAGE_MAX, VOLTAGE_MIN_DESIGN, CURRENT_NOW, CURRENT_AVG,
    CHARGE_FULL, and TEMP).
    Plus, initialization code for registers is added.

    Signed-off-by: Donggeun Kim
    Signed-off-by: MyungJoo Ham
    Signed-off-by: KyungMin Park
    Signed-off-by: Anton Vorontsov

    Donggeun Kim
     
  • Adding support for external power change notification. One problem found
    is that there is a lag time before the sensor will return a new status.
    To ensure that we only fire off the power_supply_changed event when the
    status returned from the sensor is actually different, we delay sending
    the the notification, and instead poll on it looking for a change. The
    amount of time to poll is configurable via platform data.

    Signed-off-by: Rhyland Klein
    Signed-off-by: Anton Vorontsov

    Rhyland Klein
     

20 Apr, 2011

2 commits

  • The ISP1704/1707 chip can be put to full power down
    state by asserting the CHIP_SEL line. This patch enables
    platform or board specific hooks to put the device into
    power down mode in case not needed.

    This patch is a preparation for enabling this powering
    routine in n900 (rx-51) devices.

    Thanks to Heikki Krogerus for helping out with the patch.

    Signed-off-by: Kalle Jokiniemi
    Acked-By: Heikki Krogerus
    Signed-off-by: Anton Vorontsov

    Kalle Jokiniemi
     
  • 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

    MyungJoo Ham
     

02 Mar, 2011

2 commits

  • With the support of platform data, now adding support for option i2c
    retries on read/write failures. Ths is specified through the optional
    platform data.

    Signed-off-by: Rhyland Klein
    Signed-off-by: Anton Vorontsov

    Rhyland Klein
     
  • Adding support for an optional gpio for battery detection. This is
    passed in through the i2c platform data. It also accepts another
    field, battery_detect_present to signify the gpio state which means
    the battery is present, either 0 (low) or 1 (high).

    Signed-off-by: Rhyland Klein
    Signed-off-by: Anton Vorontsov

    Rhyland Klein
     

22 Feb, 2011

1 commit

  • This patch adds support for the bq27000 battery to the bq27x00 driver.
    The bq27000 is similar to the bq27200 except that it uses the HDQ bus
    instead of I2C to communicate with the host system.

    The driver is implemented as a platform driver. The driver expects to be
    provided with a read callback function through its platform data. The read
    function is assumed to do the lowlevel HDQ handling and read out the value
    of a certain register.

    Signed-off-by: Lars-Peter Clausen
    Tested-by: Grazvydas Ignotas

    Lars-Peter Clausen
     

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

    MyungJoo Ham
     

18 Nov, 2010

1 commit


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

    Lars-Peter Clausen