2009-12-08 18:24:50 -07:00
|
|
|
/*
|
2010-12-21 15:30:54 -07:00
|
|
|
* OMAP4 Clock Management (CM) definitions
|
2009-12-08 18:24:50 -07:00
|
|
|
*
|
2010-12-21 15:30:54 -07:00
|
|
|
* Copyright (C) 2007-2009 Texas Instruments, Inc.
|
|
|
|
* Copyright (C) 2007-2009 Nokia Corporation
|
2009-12-08 18:24:50 -07:00
|
|
|
*
|
2010-12-21 15:30:54 -07:00
|
|
|
* Written by Paul Walmsley
|
2009-12-08 18:24:50 -07: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 15:30:54 -07:00
|
|
|
*
|
|
|
|
* OMAP4 has two separate CM blocks, CM1 and CM2. This file contains
|
|
|
|
* macros and function prototypes that are applicable to both.
|
2009-12-08 18:24:50 -07:00
|
|
|
*/
|
2010-12-21 15:30:54 -07:00
|
|
|
#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
|
|
|
#define __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
2009-12-08 18:24:50 -07:00
|
|
|
|
|
|
|
|
2010-12-21 15:30:54 -07:00
|
|
|
#include "prcm-common.h"
|
2010-12-21 15:30:55 -07:00
|
|
|
#include "cm.h"
|
2009-12-08 18:24:50 -07:00
|
|
|
|
2010-12-21 15:30:54 -07:00
|
|
|
#define OMAP4_CM_CLKSTCTRL 0x0000
|
2011-02-25 15:48:14 -07:00
|
|
|
#define OMAP4_CM_STATICDEP 0x0004
|
2009-12-08 18:24:50 -07:00
|
|
|
|
2010-12-21 15:30:54 -07:00
|
|
|
/* Function prototypes */
|
|
|
|
# ifndef __ASSEMBLER__
|
2009-12-08 18:24:50 -07:00
|
|
|
|
2010-12-21 15:30:54 -07:00
|
|
|
extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg);
|
2010-09-27 13:02:56 -07:00
|
|
|
|
2010-12-21 15:30:54 -07:00
|
|
|
# endif
|
2009-12-08 18:24:50 -07:00
|
|
|
#endif
|