Skip to content

Add support for charging battery in Nokia RX-51

Pali Rohár linux-arm-kernel linux-omap lkml 2 versions – Applied

Status from this message: Applied, thanks a lot!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 36 repliesApplied
  2. v14 patches 32 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3power_supply: Add power_supply notifierdrivers/power/power_supply_core.c include/linux/power_supply.h+27 -08 replies
2/3bq2415x_charger: Use power_supply notifier for automodedrivers/power/bq2415x_charger.c include/linux/power/bq2415x_charger.h+65 -6023 replies
3/3RX-51: Add platform data for bq24150a chargerarch/arm/mach-omap2/board-rx51-peripherals.c+16 -12 replies

Reviews trailers per patch

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

PatchPavel MachekSebastian ReichelJenny TC
1/3R-b T-b A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add support for charging battery in Nokia RX-51

This patch series finally bringing support for charging battery on Nokia N900 (RX-51) without any proprietary Nokia bits in userspace.

I removed hook function from bq2415x_charger driver and replaced it by Jenny TC power_supply notifier code. This simplify usage of bq2415x driver and also allow adding DT support in future because driver does not need board specific function anymore (only static data).

I tested this series with linux 3.12-rc5 on Nokia N900.

Pali Rohár (3):
power_supply: Add power_supply notifier
bq2415x_charger: Use power_supply notifier for automode
RX-51: Add platform data for bq24150a charger

 arch/arm/mach-omap2/board-rx51-peripherals.c |   17 +++++-
 drivers/power/bq2415x_charger.c              |   77 ++++++++++++++++++++------
 drivers/power/power_supply_core.c            |   17 ++++++
 include/linux/power/bq2415x_charger.h        |   48 ++--------------
 include/linux/power_supply.h                 |   10 ++++
 5 files changed, 108 insertions(+), 61 deletions(-)
Signature · 1 line
1.7.9.5