2010-12-22 03:01:18 +00:00
|
|
|
/*
|
|
|
|
* OMAP2+ powerdomain prototypes
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Texas Instruments, Inc.
|
|
|
|
*
|
|
|
|
* Rajendra Nayak <rnayak@ti.com>
|
|
|
|
*
|
|
|
|
* 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-22 03:01:20 +00:00
|
|
|
#ifndef ARCH_ARM_MACH_OMAP2_POWERDOMAINS_H
|
|
|
|
#define ARCH_ARM_MACH_OMAP2_POWERDOMAINS_H
|
2010-12-22 03:01:18 +00:00
|
|
|
|
|
|
|
#include <plat/powerdomain.h>
|
|
|
|
|
|
|
|
extern struct pwrdm_ops omap2_pwrdm_operations;
|
|
|
|
extern struct pwrdm_ops omap3_pwrdm_operations;
|
|
|
|
extern struct pwrdm_ops omap4_pwrdm_operations;
|
|
|
|
|
2010-12-22 03:01:19 +00:00
|
|
|
/* Common Internal functions used across OMAP rev's */
|
|
|
|
extern u32 omap2_pwrdm_get_mem_bank_onstate_mask(u8 bank);
|
|
|
|
extern u32 omap2_pwrdm_get_mem_bank_retst_mask(u8 bank);
|
|
|
|
extern u32 omap2_pwrdm_get_mem_bank_stst_mask(u8 bank);
|
|
|
|
|
2010-12-22 03:01:20 +00:00
|
|
|
extern struct powerdomain wkup_omap2_pwrdm;
|
|
|
|
extern struct powerdomain gfx_omap2_pwrdm;
|
|
|
|
|
|
|
|
#endif
|