blob: 309a4c91344847f41cb2074cb7060452c03474a3 [file] [log] [blame]
Rajendra Nayak9b472672009-12-08 18:24:50 -07001/*
Paul Walmsleyd198b512010-12-21 15:30:54 -07002 * OMAP4 Clock Management (CM) definitions
Rajendra Nayak9b472672009-12-08 18:24:50 -07003 *
Benoit Coussond0f06312011-07-10 05:56:30 -06004 * Copyright (C) 2007-2011 Texas Instruments, Inc.
Paul Walmsleyd198b512010-12-21 15:30:54 -07005 * Copyright (C) 2007-2009 Nokia Corporation
Rajendra Nayak9b472672009-12-08 18:24:50 -07006 *
Paul Walmsleyd198b512010-12-21 15:30:54 -07007 * Written by Paul Walmsley
Rajendra Nayak9b472672009-12-08 18:24:50 -07008 *
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 Walmsleyd198b512010-12-21 15:30:54 -070012 *
13 * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains
14 * macros and function prototypes that are applicable to both.
Rajendra Nayak9b472672009-12-08 18:24:50 -070015 */
Paul Walmsleyd198b512010-12-21 15:30:54 -070016#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
17#define __ARCH_ASM_MACH_OMAP2_CM44XX_H
Rajendra Nayak9b472672009-12-08 18:24:50 -070018
19
Paul Walmsleyd198b512010-12-21 15:30:54 -070020#include "prcm-common.h"
Paul Walmsley59fb6592010-12-21 15:30:55 -070021#include "cm.h"
Rajendra Nayak9b472672009-12-08 18:24:50 -070022
Paul Walmsleyd198b512010-12-21 15:30:54 -070023#define OMAP4_CM_CLKSTCTRL 0x0000
Rajendra Nayak15b08d92011-02-25 15:48:14 -070024#define OMAP4_CM_STATICDEP 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -070025
Tero Kristo425dc8b2014-11-21 15:51:37 +020026int omap4_cm_init(const struct omap_prcm_init_data *data);
Tero Kristoab6c9bb2014-10-27 08:39:25 -070027
Rajendra Nayak9b472672009-12-08 18:24:50 -070028#endif