Skip to content

bq24022: Add support for bq2407x family

Heiko Stübner linux-pm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bq24022: Evaluate returns of gpio_direction_output-callsdrivers/regulator/bq24022.c+10 -01 reply
2/4bq24022: Use dev_err instead of dev_dbg for error messagesdrivers/regulator/bq24022.c+3 -31 reply
3/4bq24022: Keep track of gpio statesdrivers/regulator/bq24022.c+46 -210 replies
4/4bq24022: Add support for the bq2407x familydrivers/regulator/Kconfig drivers/regulator/bq24022.c include/linux/regulator/bq24022.h+71 -81 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMark Brown
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] bq24022: Add support for bq2407x family

The bq2407x family is quite similar to the bq24022 charger. As suggested by MyungJoo Ham it should be possible to implement support for it inside the bq24022 driver instead of adding a new one.

The first three patches fix small things Mark Brown identified in my submission of a separate bq2407x driver that also exist in the bq24022 while the fourth implements the bq2407x specifics.

This second version fixes some glitches found by Mark Brown and introduces the new second patch fixing the other dev_dbg invocations where dev_err would be appropriate.

Heiko Stuebner (4):
bq24022: Evaluate returns of gpio_direction_output-calls
bq24022: Use dev_err instead of dev_dbg for error messages to make
them visible
bq24022: Keep track of gpio states
bq24022: Add support for the bq2407x family

 drivers/regulator/Kconfig         |    7 +-
 drivers/regulator/bq24022.c       |  144 
++++++++++++++++++++++++++++++-------
 include/linux/regulator/bq24022.h |    7 ++
 3 files changed, 128 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.2.3