2009-12-09 01:24:50 +00:00
|
|
|
/*
|
2010-12-21 22:30:54 +00:00
|
|
|
* OMAP4 Clock Management (CM) definitions
|
2009-12-09 01:24:50 +00:00
|
|
|
*
|
2010-12-21 22:30:54 +00:00
|
|
|
* Copyright (C) 2007-2009 Texas Instruments, Inc.
|
|
|
|
* Copyright (C) 2007-2009 Nokia Corporation
|
2009-12-09 01:24:50 +00:00
|
|
|
*
|
2010-12-21 22:30:54 +00:00
|
|
|
* Written by Paul Walmsley
|
2009-12-09 01:24:50 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
2010-12-21 22:30:54 +00:00
|
|
|
*
|
|
|
|
* OMAP4 has two separate CM blocks, CM1 and CM2. This file contains
|
|
|
|
* macros and function prototypes that are applicable to both.
|
2009-12-09 01:24:50 +00:00
|
|
|
*/
|
2010-12-21 22:30:54 +00:00
|
|
|
#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
|
|
|
#define __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
2009-12-09 01:24:50 +00:00
|
|
|
|
|
|
|
|
2010-12-21 22:30:54 +00:00
|
|
|
#include "prcm-common.h"
|
2010-12-21 22:30:55 +00:00
|
|
|
#include "cm.h"
|
2009-12-09 01:24:50 +00:00
|
|
|
|
2010-12-21 22:30:54 +00:00
|
|
|
#define OMAP4_CM_CLKSTCTRL 0x0000
|
2009-12-09 01:24:50 +00:00
|
|
|
|
2010-12-21 22:30:54 +00:00
|
|
|
/* Function prototypes */
|
|
|
|
# ifndef __ASSEMBLER__
|
2009-12-09 01:24:50 +00:00
|
|
|
|
2010-12-21 22:30:54 +00:00
|
|
|
extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg);
|
2010-09-27 20:02:56 +00:00
|
|
|
|
2010-12-21 22:30:54 +00:00
|
|
|
# endif
|
2009-12-09 01:24:50 +00:00
|
|
|
#endif
|