Skip to content

Remove bq24022 driver superseeded by gpio-regulator

Heiko Stübner linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pxa: magician/hx4700: Convert to gpio-regulator from bq24022arch/arm/configs/magician_defconfig arch/arm/mach-pxa/hx4700.c arch/arm/mach-pxa/magician.c+55 -131 reply
2/2regulator: Remove bq24022 regulator driverdrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/bq24022.c +1 more+0 -1951 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPaul ParsonsMark Brown
1/2T-b
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Remove bq24022 driver superseeded by gpio-regulator

The bq24022 regulator is simply a more specialised variant of the now present gpio-regulator. Therefore it probably shouldn't stay around.

This series converts the two users of bq24022 pxa/hx4700 and pxa/magician to use the gpio-regulator instead, and after this removes the then unused bq24022 driver.

The series was compile-tested only, but the gpio-regulator itself is sucessfully used on my platform for the dcdc3 of a tps650240 (voltage regulator with one gpio) and for a bq24075 (current regulator with two gpios). So I'm quite sure it should work correctly but would welcome testers :-) .

Heiko Stuebner (2):
pxa: magician/hx4700: Convert to gpio-regulator from bq24022
regulator: Remove bq24022 regulator driver

 arch/arm/configs/magician_defconfig |    2 +-
 arch/arm/mach-pxa/hx4700.c          |   33 ++++++--
 arch/arm/mach-pxa/magician.c        |   33 ++++++--
 drivers/regulator/Kconfig           |    8 --
 drivers/regulator/Makefile          |    1 -
 drivers/regulator/bq24022.c         |  162 -----------------------------------
 include/linux/regulator/bq24022.h   |   24 -----
 7 files changed, 55 insertions(+), 208 deletions(-)
 delete mode 100644 drivers/regulator/bq24022.c
 delete mode 100644 include/linux/regulator/bq24022.h
Signature · 1 line
1.7.5.4