2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-12-09 09:24:50 +08:00
|
|
|
/*
|
2010-12-22 06:30:54 +08:00
|
|
|
* OMAP4 Clock Management (CM) definitions
|
2009-12-09 09:24:50 +08:00
|
|
|
*
|
2011-07-10 19:56:30 +08:00
|
|
|
* Copyright (C) 2007-2011 Texas Instruments, Inc.
|
2010-12-22 06:30:54 +08:00
|
|
|
* Copyright (C) 2007-2009 Nokia Corporation
|
2009-12-09 09:24:50 +08:00
|
|
|
*
|
2010-12-22 06:30:54 +08:00
|
|
|
* Written by Paul Walmsley
|
2009-12-09 09:24:50 +08:00
|
|
|
*
|
2010-12-22 06:30:54 +08: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 09:24:50 +08:00
|
|
|
*/
|
2010-12-22 06:30:54 +08:00
|
|
|
#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
|
|
|
#define __ARCH_ASM_MACH_OMAP2_CM44XX_H
|
2009-12-09 09:24:50 +08:00
|
|
|
|
|
|
|
|
2010-12-22 06:30:54 +08:00
|
|
|
#include "prcm-common.h"
|
2010-12-22 06:30:55 +08:00
|
|
|
#include "cm.h"
|
2009-12-09 09:24:50 +08:00
|
|
|
|
2010-12-22 06:30:54 +08:00
|
|
|
#define OMAP4_CM_CLKSTCTRL 0x0000
|
2011-02-26 06:48:14 +08:00
|
|
|
#define OMAP4_CM_STATICDEP 0x0004
|
2009-12-09 09:24:50 +08:00
|
|
|
|
2014-11-21 21:51:37 +08:00
|
|
|
int omap4_cm_init(const struct omap_prcm_init_data *data);
|
2014-10-27 23:39:25 +08:00
|
|
|
|
2009-12-09 09:24:50 +08:00
|
|
|
#endif
|