spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / plat-omap / include / plat / prcm.h
blob267f43bb2a4eaef5c948b752fc64db298b39b18b
1 /*
2 * arch/arm/plat-omap/include/mach/prcm.h
4 * Access definations for use in OMAP24XX clock and power management
6 * Copyright (C) 2005 Texas Instruments, Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * XXX This file is deprecated. The PRCM is an OMAP2+-only subsystem,
23 * so this file doesn't belong in plat-omap/include/plat. Please
24 * do not add anything new to this file.
27 #ifndef __ASM_ARM_ARCH_OMAP_PRCM_H
28 #define __ASM_ARM_ARCH_OMAP_PRCM_H
30 u32 omap_prcm_get_reset_sources(void);
31 int omap2_cm_wait_idlest(void __iomem *reg, u32 mask, u8 idlest,
32 const char *name);
34 #endif