mach-ux500: voltage domain regulators for DB8500
Subsystems (3)
PATCH 1/2 mach-ux500: voltage domain regulators for DB8500
From: Bengt Jonsson <[email protected]>
The DB8500 has ePOD:s (electronic power domains) which are possible to switch on/off to deactivate silicon blocks on the DB8500 SoC by cutting their power without retention. We model these as simple regulators with one bit on/off settings.
Cc Mark Brown <[email protected]>
Cc Liam Girdwood <[email protected]>
Signed-off-by Bengt Jonsson <[email protected]>
Signed-off-by Sundar Iyer <[email protected]>
Signed-off-by Jonas Aberg <[email protected]>
Signed-off-by Virupax Sadashivpetimath <[email protected]>
Signed-off-by Martin Persson <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- arch/arm/mach-ux500/Kconfig | 1 + arch/arm/mach-ux500/Makefile | 3 +- arch/arm/mach-ux500/cpu-db8500.c | 188 +++++++++++ arch/arm/mach-ux500/regulator-db8500.c | 562 ++++++++++++++++++++++++++++++++ arch/arm/mach-ux500/regulator-db8500.h | 45 +++ 5 files changed, 798 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-ux500/regulator-db8500.c create mode 100644 arch/arm/mach-ux500/regulator-db8500.h
arch/arm/mach-ux500/Kconfig +1 -0
@@ -15,6 +15,7 @@ config UX500_SOC_DB5500 config UX500_SOC_DB8500 bool "DB8500" + select REGULATOR endmenu
arch/arm/mach-ux500/Makefile +2 -1
@@ -7,7 +7,8 @@ obj-y := clock.o cpu.o devices.o devices-common.o \ obj-y += pm/ obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o prcmu-db5500.o obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o \ - prcmu-db8500.o clock-db8500.o + prcmu-db8500.o clock-db8500.o \ + regulator-db8500.o obj-$(CONFIG_MACH_U8500) += board-mop500.o board-mop500-sdi.o \ board-mop500-regulators.o \ board-mop500-uib.o board-mop500-stuib.o \
arch/arm/mach-ux500/cpu-db8500.c +188 -0
209 lines not on this page · raw message
arch/arm/mach-ux500/regulator-db8500.c new file +562 -0
562 lines not on this page · raw message
arch/arm/mach-ux500/regulator-db8500.h new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.7.3.2
PATCH 1/2 mach-ux500: voltage domain regulators for DB8500
Quoted 2 lines · Linus Walleij
arch/arm/mach-ux500/regulator-db8500.c | 562 ++++++++++++++++++++++++++++++++ arch/arm/mach-ux500/regulator-db8500.h | 45 +++
Acked-by Mark Brown <[email protected]>
though I would prefer to see the regulator driver in drivers/regulator (though splitting the underlying integration with cpuidle isn't a problem) as this makes it easier to find all regulator drivers.