Messages in this thread | | | From | aliaksei.katovich@gmail ... | Subject | [PATCH 0/2] mfd: bq2415x charger driver | Date | Mon, 28 Feb 2011 23:36:13 +0200 |
| |
From: Aliaksei Katovich <aliaksei.katovich@nokia.com>
The bq2415x family of Texas Instruments charger ICs are multifunctional chips that combine voltage/current regulation with Li-Ion battery charge controller.
Given bq2415x driver implements both regulator and i2c devices within single module. Despite not being mfd core dependant this driver however is thought to belong to mfd subsystem rather than regulators or i2c one.
Also I have some concern about hardcoded i2c addresses which may well limit driver usage to some certain hardware set. Alternatively driver can be extented to support device tree or another relevant interface to eliminate this possible limit.
Implementation is based on BQ24153/6/8 datasheet.
The patch set applies cleanly to the MFD repository at git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6.git
Please review.
Aliaksei Katovich (2): mfd: bq2415x charger driver mfd: bq2415x compilation enablers
drivers/mfd/Kconfig | 7 + drivers/mfd/Makefile | 1 + drivers/mfd/bq2415x.c | 780 +++++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/bq2415x.h | 88 +++++ 4 files changed, 876 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/bq2415x.c create mode 100644 include/linux/mfd/bq2415x.h
| |