Based on the discussion at:
http://marc.info/?l=linux-omap&m=125775124829936&w=2
Header file board-omap35x-pmic.h is created to provide generic macros for
initializing regulator supplies and regulator init data. Wrappers are
also created using these macros which could be used in default scenarios.
Modified board-3430sdp.c and board-omap3evm.c to use the macros/wrappers
instead, to avoid duplication of common code. On the similar lines, other
board-evm files can be modified and new code can be added using these
macros.
Anuj Aggarwal (4):
Regulator: Adding header file for initializing OMAP35x PMICs
Regulator: Modifying board-omap3evm.c to use PMIC-init-macros or
wrappers
Regulator: Modifying board-3430sdp.c to use PMIC-init-macros or
wrappers
Regulator: Modifying Kconfig to choose from the available PMICs
arch/arm/mach-omap2/Kconfig | 8 ++
arch/arm/mach-omap2/board-3430sdp.c | 196 ++++++++----------------------
arch/arm/mach-omap2/board-omap35x-pmic.h | 191 +++++++++++++++++++++++++++++
arch/arm/mach-omap2/board-omap3evm.c | 82 ++++++-------
4 files changed, 290 insertions(+), 187 deletions(-)
create mode 100644 arch/arm/mach-omap2/board-omap35x-pmic.h
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html