Add support for charging battery in Nokia RX-51
Status from this message: Applied, thanks a lot!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | power_supply: Add power_supply notifierdrivers/ include/ | +27 | 8 replies | |
| 2/3 | bq2415x_charger: Use power_supply notifier for automodedrivers/ include/ | +65 | 23 replies | |
| 3/3 | RX-51: Add platform data for bq24150a chargerarch/ | +16 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Pavel Machek | Sebastian Reichel | Jenny TC |
|---|---|---|---|
| 1/3 | R-b | T-b | A-b |
| 2/3 | R-b | ||
| 3/3 | R-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.
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