summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-05-23 13:55:09 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:42 -0800
commitb9b3f0794db539ac161e9bdbb23caeb1c93346cb (patch)
tree668d8b45fd7ac6073430841d95f5c7e758edd952 /arch/arm/mach-tegra/clock.h
parent490241efb05ad8cd9a8363f4aa722f8483df45bc (diff)
arm: tegra: clock: Reading APB bus before disabling clock
It may be possible that write operation on apb bus does not get complete before disabling clock if the clock is disabled just after the write on apb bus. To have proper sequence of operation, it is require to read back the apb bus to make sure the write operation is completed. bug 830481 Original-Change-Id: If4767b77a9ac8fdf3253e19d6aebed6c1d13dc5a Reviewed-on: http://git-master/r/32556 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R16af6944cdb3cb87ef6c62fe90dd6481af2a2c2a
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h
index c6c9ee432f00..f33818caecbe 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -53,6 +53,7 @@
#define PLLM (1 << 20)
#define DIV_U71_INT (1 << 21)
#define ENABLE_ON_INIT (1 << 28)
+#define PERIPH_ON_APB (1 << 29)
#ifndef __ASSEMBLY__