summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorAlok Chauhan <alokc@nvidia.com>2011-08-09 10:49:11 +0530
committerManish Tuteja <mtuteja@nvidia.com>2011-08-11 03:36:38 -0700
commit437596050c805c77783e17e6b70cf169f8cb223f (patch)
tree97165875a7ed7185b192f4c5f4ab3e4ebb7b0802 /arch/arm/mach-tegra/clock.h
parent9f46cc5ba4d6f8bcace3bec46a874750740795a8 (diff)
arm: tegra: clock: Reading APB bus before disabling clocktegra-11.2.13
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 833341 This is cherry pick of change http://git-master/r/#change,32556 in main but hand-merged. Change-Id: Ifdabd7507d2bd738da3880cff6756a9a7b489e4b Reviewed-on: http://git-master/r/45981 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
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 21531895867d..8192fa8197a2 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -41,6 +41,7 @@
#define PLL_ALT_MISC_REG (1 << 13)
#define PLLU (1 << 14)
#define ENABLE_ON_INIT (1 << 28)
+#define PERIPH_ON_APB (1 << 29)
#define MAX_SAME_LIMIT_SKU_IDS 16