19b47267fSRajendra Nayak /* 2d198b514SPaul Walmsley * OMAP4 Clock Management (CM) definitions 39b47267fSRajendra Nayak * 4d198b514SPaul Walmsley * Copyright (C) 2007-2009 Texas Instruments, Inc. 5d198b514SPaul Walmsley * Copyright (C) 2007-2009 Nokia Corporation 69b47267fSRajendra Nayak * 7d198b514SPaul Walmsley * Written by Paul Walmsley 89b47267fSRajendra Nayak * 99b47267fSRajendra Nayak * This program is free software; you can redistribute it and/or modify 109b47267fSRajendra Nayak * it under the terms of the GNU General Public License version 2 as 119b47267fSRajendra Nayak * published by the Free Software Foundation. 12d198b514SPaul Walmsley * 13d198b514SPaul Walmsley * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains 14d198b514SPaul Walmsley * macros and function prototypes that are applicable to both. 159b47267fSRajendra Nayak */ 16d198b514SPaul Walmsley #ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H 17d198b514SPaul Walmsley #define __ARCH_ASM_MACH_OMAP2_CM44XX_H 189b47267fSRajendra Nayak 199b47267fSRajendra Nayak 20d198b514SPaul Walmsley #include "prcm-common.h" 219b47267fSRajendra Nayak 22d198b514SPaul Walmsley #define OMAP4_CM_CLKSTCTRL 0x0000 239b47267fSRajendra Nayak 24d198b514SPaul Walmsley /* Function prototypes */ 25d198b514SPaul Walmsley # ifndef __ASSEMBLER__ 269b47267fSRajendra Nayak 27d198b514SPaul Walmsley extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg); 289b47267fSRajendra Nayak 29d198b514SPaul Walmsley # endif 309b47267fSRajendra Nayak #endif 31