Skip to content

Fix and start using supplied_from logic

Rhyland Klein linux-arm-kernel linux-tegra lkml 1 version Applied

Status from this message: Applied to Tegra's for-3.11/dt branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4power_supply: Add of_node_put to fix refcountdrivers/power/power_supply_core.c+4 -02 replies
2/4power: sbs-battery: Add dt to power_supply structdrivers/power/sbs-battery.c+1 -00 replies
3/4power: tps65090-charger: Add dt node to power_supplydrivers/power/tps65090-charger.c+1 -00 replies
4/4arm: tegra: Add power-supplies link between battery and chargerarch/arm/boot/dts/tegra114-dalmore.dts+2 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fix and start using supplied_from logic

This patch series first fixes a refcount issue with the dt nodes that was introduced with the supplied_from patch series. We add a call to of_node_put to decrement the refcount for each node we get from calling of_parse_phandle.

After that, this series enables using the supplied_from automatic population from dt by passing in the dt nodes for the sbs battery driver and the tps65090-charger driver.

Finally, the last patch creates this link for the tegra114-dalmore board.

Rhyland Klein (4):
power_supply: Add of_node_put to fix refcount
power: sbs-battery: Add dt to power_supply struct
power: tps65090-charger: Add dt node to power_supply
arm: tegra: Add power-supplies link between battery and charger

 arch/arm/boot/dts/tegra114-dalmore.dts |    3 ++-
 drivers/power/power_supply_core.c      |    4 ++++
 drivers/power/sbs-battery.c            |    1 +
 drivers/power/tps65090-charger.c       |    1 +
 4 files changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5