• Lars-Peter Clausen's avatar
    bq27x00: Add bq27000 support · 7fb7ba58
    Lars-Peter Clausen authored
    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: default avatarLars-Peter Clausen <lars@metafoo.de>
    Tested-by: notaz's avatarGrazvydas Ignotas <notasas@gmail.com>
bq27x00_battery.h 639 Bytes