mfd: bq2415x charger driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mfd: bq2415x charger driverdrivers/ include/ | +868 | 0 replies | |
| 2/2 | mfd: bq2415x compilation enablersdrivers/ drivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mfd: bq2415x charger driver
From: Aliaksei Katovich <[email protected]>
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 atgit://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