Skip to content

Enhance twl4030_charger functionality. - V3

NeilBrown linux-omap linux-pm lkml 1 version In review

Get series with b4
b4 am 20150730001113.4012.18086.stgit@noble

Versions newest first

  1. v1 Latest13 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13twl4030_charger: use runtime_pm to keep usb phy active while charging.drivers/mfd/twl-core.c drivers/power/twl4030_charger.c+9 -181 reply
2/13twl4030_charger: convert to module_platform_driver instead of ..._probe.drivers/power/twl4030_charger.c+3 -30 replies
3/13twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_nodedrivers/power/twl4030_charger.c+5 -112 replies
4/13twl4030_charger: trust phy to determine when USB power is available.drivers/power/twl4030_charger.c+6 -271 reply
5/13twl4030_charger: split uA calculation into a function.drivers/power/twl4030_charger.c+35 -130 replies
6/13twl4030_charger: allow fine control of charger current.drivers/power/twl4030_charger.c+160 -80 replies
7/13twl4030_charger: distinguish between USB current and 'AC' currentdrivers/power/twl4030_charger.c+29 -75 replies
8/13twl4030_charger: allow max_current to be managed via sysfs.Documentation/ABI/testing/sysfs-class-power-twl4030 drivers/power/twl4030_charger.c+87 -00 replies
9/13twl4030_charger: enable manual enable/disable of usb charging.Documentation/ABI/testing/sysfs-class-power-twl4030 drivers/power/twl4030_charger.c+70 -00 replies
10/13twl4030_charger: add software controlled linear charging mode.Documentation/ABI/testing/sysfs-class-power-twl4030 drivers/power/twl4030_charger.c+59 -57 replies
11/13twl4030_charger: add ac/mode to match usb/modeDocumentation/ABI/testing/sysfs-class-power-twl4030 drivers/power/twl4030_charger.c+37 -80 replies
12/13twl4030_charger: Increase current carefully while watching voltage.drivers/power/twl4030_charger.c+61 -60 replies
13/13twl4030_charger: assume a 'charger' can supply maximum current.drivers/power/twl4030_charger.c+3 -10 replies

Reviews trailers per patch

8 of 13 patches have a Reviewed-by or Acked-by.

PatchPavel MachekAndreas KemnadeLee JonesTony Lindgren
1/13A-b A-b
2/13
3/13
4/13A-b
5/13A-b
6/13A-b
7/13A-b A-b
8/13A-b
9/13A-b
10/13Original-by
11/13A-b
12/13
13/13

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

Read the v1 thread

Cover letter [PATCH 00/13] Enhance twl4030_charger functionality. - V3

Following is most of my twl4030_charger patches, rebased against
git://git.infradead.org/battery-2.6

Since the previous set I have added the conversion to module_platform_driver so EPROBE_DEFER can be used, and fixed a few minor typos.

This does not include the changes to add extcon support, in part because extcon has seen some changes lately which leave me even more confused about how best to use it than before.
I need to sort that out before I can resolve the rest of my usb phy patches and then add a few more charger patches.

Thanks,
NeilBrown

---

NeilBrown (12):
twl4030_charger: use runtime_pm to keep usb phy active while charging.
twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node
twl4030_charger: trust phy to determine when USB power is available.
twl4030_charger: split uA calculation into a function.
twl4030_charger: allow fine control of charger current.
twl4030_charger: distinguish between USB current and 'AC' current
twl4030_charger: allow max_current to be managed via sysfs.
twl4030_charger: enable manual enable/disable of usb charging.
twl4030_charger: add software controlled linear charging mode.
twl4030_charger: add ac/mode to match usb/mode
twl4030_charger: Increase current carefully while watching voltage.
twl4030_charger: assume a 'charger' can supply maximum current.

Pavel Machek (1):
twl4030_charger: convert to module_platform_driver instead of ..._probe.

 .../ABI/testing/sysfs-class-power-twl4030          |   45 ++
 drivers/mfd/twl-core.c                             |    9 
 drivers/power/twl4030_charger.c                    |  541 ++++++++++++++++++--
 3 files changed, 531 insertions(+), 64 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-power-twl4030

--
Signature