summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/omap.h
diff options
context:
space:
mode:
authorAndrii Tseglytskyi <andrii.tseglytskyi@ti.com>2013-05-20 22:42:08 +0000
committerTom Rini <trini@ti.com>2013-06-10 08:43:09 -0400
commit4d0df9c1e94f32a9695be352fead3167fb5135c7 (patch)
treef1295abc801b55014db970ee1727d8ae206bc232 /arch/arm/include/asm/arch-omap4/omap.h
parenta662e0c345b4cd9f4c2d51796154ad4a345a72a5 (diff)
downloadtalos-obmc-uboot-4d0df9c1e94f32a9695be352fead3167fb5135c7.tar.gz
talos-obmc-uboot-4d0df9c1e94f32a9695be352fead3167fb5135c7.zip
OMAP3+: introduce generic ABB support
Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ldos are present for some voltage domains starting with OMAP3630. There are three modes of operation: * Bypass - the default, it just follows the vdd voltage * Foward Body-Bias - applies voltage bias to increase transistor performance at the cost of power. Used to operate safely at high OPPs. * Reverse Body-Bias - applies voltage bias to decrease leakage and save power. Used to save power at lower OPPs. Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> Acked-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/omap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/omap.h b/arch/arm/include/asm/arch-omap4/omap.h
index e9a6ffeb83..55a07605b8 100644
--- a/arch/arm/include/asm/arch-omap4/omap.h
+++ b/arch/arm/include/asm/arch-omap4/omap.h
@@ -143,4 +143,12 @@ struct s32ktimer {
#define NON_SECURE_SRAM_END 0x4030E000 /* Not inclusive */
/* base address for indirect vectors (internal boot mode) */
#define SRAM_ROM_VECT_BASE 0x4030D000
+
+/* ABB settings */
+#define OMAP_ABB_SETTLING_TIME 50
+#define OMAP_ABB_CLOCK_CYCLES 16
+
+/* ABB tranxdone mask */
+#define OMAP_ABB_MPU_TXDONE_MASK (0x1 << 7)
+
#endif
OpenPOWER on IntegriCloud