regulator: Add generic DT parsing for regulators
commit1c8fa58f4750e9ad722fbf899866c312ffabab67
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 26 Apr 2012 14:52:20 +0000 (26 16:52 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 May 2012 12:25:15 +0000 (4 13:25 +0100)
treebd7aa14a3d78d17da9eb7c7638a66562f78b6f9f
parent82caa9780a85a97e45e4df6e1f228279707bdcfe
regulator: Add generic DT parsing for regulators

Looking up init data for regulators found on chips is a common operation
that can be handled in a generic way. The new helper function introduced
by this patch looks up the children of a given node by names specified
in a match table and fills that match table with information parsed from
the DT.

This is based on work by Rhyland Klein <rklein@nvidia.com>.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/of_regulator.c
include/linux/regulator/of_regulator.h