Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 1 | /* |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 2 | * OMAP4 Clock Management (CM) definitions |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 3 | * |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 4 | * Copyright (C) 2007-2009 Texas Instruments, Inc. |
| 5 | * Copyright (C) 2007-2009 Nokia Corporation |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 6 | * |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 7 | * Written by Paul Walmsley |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License version 2 as |
| 11 | * published by the Free Software Foundation. |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 12 | * |
| 13 | * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains |
| 14 | * macros and function prototypes that are applicable to both. |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 15 | */ |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 16 | #ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H |
| 17 | #define __ARCH_ASM_MACH_OMAP2_CM44XX_H |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 18 | |
| 19 | |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 20 | #include "prcm-common.h" |
Paul Walmsley | 59fb659 | 2010-12-21 15:30:55 -0700 | [diff] [blame^] | 21 | #include "cm.h" |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 22 | |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 23 | #define OMAP4_CM_CLKSTCTRL 0x0000 |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 24 | |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 25 | /* Function prototypes */ |
| 26 | # ifndef __ASSEMBLER__ |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 27 | |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 28 | extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg); |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 29 | |
Paul Walmsley | d198b51 | 2010-12-21 15:30:54 -0700 | [diff] [blame] | 30 | # endif |
Rajendra Nayak | 9b47267 | 2009-12-08 18:24:50 -0700 | [diff] [blame] | 31 | #endif |