Skip to content

mfd: bq2415x charger driver

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mfd: bq2415x charger driverdrivers/mfd/bq2415x.c include/linux/mfd/bq2415x.h+868 -00 replies
2/2mfd: bq2415x compilation enablersdrivers/mfd/Kconfig drivers/mfd/Makefile+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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 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