bq24022: Add support for bq2407x family

A patchset in state Obsolete for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 29 Aug 2011 14:48:20 +0200

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. ################################################################# This set is superseeded by the more generic gpio-regulator driver ################################################################# 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(-) -- 1.7.2.3

Patches in this set

Statistics

  • 4 individual patches
  • 130 lines added
  • 32 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...