[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361488272-21010-1-git-send-email-rklein@nvidia.com>
Date: Thu, 21 Feb 2013 18:11:09 -0500
From: Rhyland Klein <rklein@...dia.com>
To: Anton Vorontsov <cbou@...l.ru>,
David Woodhouse <dwmw2@...radead.org>,
Grant Likely <grant.likely@...retlab.ca>,
Rob Herring <rob.herring@...xeda.com>
CC: <linux-tegra@...r.kernel.org>,
<devicetree-discuss@...ts.ozlabs.org>,
<linux-kernel@...r.kernel.org>, Rhyland Klein <rklein@...dia.com>
Subject: [RFC v2 0/3] Add DT Binding for Power-Supply power-supply property
This series is an attempt to define a common way for devicetree
initialized power_supplies to define their list of supplicants
in a common manner.
Instead of relying on custom properties which contain is list of
strings, use the much more direct method of phandles to reference
the supplies and define a common function which can retrieve them
automatically.
Changes:
- v2: Inverted the logic so that supplies (batteries) contain a list
of the supplies (chargers) which supply them.
Rhyland Klein (3):
power_supply: Define Binding for supplied-nodes
power: power_supply: Add core support for supplied_nodes
power: power_supply: add support for getting supplied-nodes from dt
.../bindings/power_supply/power_supply.txt | 23 ++++++
drivers/power/power_supply_core.c | 81 +++++++++++++++++---
include/linux/power_supply.h | 9 +++
3 files changed, 101 insertions(+), 12 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power_supply/power_supply.txt
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists