blob: 48fc3f426fbd67fb07dbe61babd0033c14a83b52 [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 *
Paul Walmsleyd198b512010-12-21 15:30:54 -07004 * Copyright (C) 2007-2009 Texas Instruments, Inc.
5 * 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 Nayak9b472672009-12-08 18:24:50 -070024
Paul Walmsleyd198b512010-12-21 15:30:54 -070025/* Function prototypes */
26# ifndef __ASSEMBLER__
Rajendra Nayak9b472672009-12-08 18:24:50 -070027
Paul Walmsleyd198b512010-12-21 15:30:54 -070028extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg);
Rajendra Nayak9b472672009-12-08 18:24:50 -070029
Paul Walmsleyd198b512010-12-21 15:30:54 -070030# endif
Rajendra Nayak9b472672009-12-08 18:24:50 -070031#endif