crypto: omap - OMAP macros corrected
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-omap2 / omap_hwmod_common_data.c
blob1e80b914fa1ab32c7e6161bd84ff64ea2c4be8f7
1 /*
2 * omap_hwmod common data structures
4 * Copyright (C) 2010 Texas Instruments, Inc.
5 * Thara Gopinath <thara@ti.com>
6 * BenoƮt Cousson
8 * Copyright (C) 2010 Nokia Corporation
9 * Paul Walmsley
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This data/structures are to be used while defining OMAP on-chip module
16 * data and their integration with other OMAP modules and Linux.
19 #include <plat/omap_hwmod.h>
21 #include "omap_hwmod_common_data.h"
23 /**
24 * struct omap_hwmod_sysc_type1 - TYPE1 sysconfig scheme.
26 * To be used by hwmod structure to specify the sysconfig offsets
27 * if the device ip is compliant with the original PRCM protocol
28 * defined for OMAP2420.
30 struct omap_hwmod_sysc_fields omap_hwmod_sysc_type1 = {
31 .midle_shift = SYSC_TYPE1_MIDLEMODE_SHIFT,
32 .clkact_shift = SYSC_TYPE1_CLOCKACTIVITY_SHIFT,
33 .sidle_shift = SYSC_TYPE1_SIDLEMODE_SHIFT,
34 .enwkup_shift = SYSC_TYPE1_ENAWAKEUP_SHIFT,
35 .srst_shift = SYSC_TYPE1_SOFTRESET_SHIFT,
36 .autoidle_shift = SYSC_TYPE1_AUTOIDLE_SHIFT,
39 /**
40 * struct omap_hwmod_sysc_type2 - TYPE2 sysconfig scheme.
42 * To be used by hwmod structure to specify the sysconfig offsets if the
43 * device ip is compliant with the new PRCM protocol defined for new
44 * OMAP4 IPs.
46 struct omap_hwmod_sysc_fields omap_hwmod_sysc_type2 = {
47 .midle_shift = SYSC_TYPE2_MIDLEMODE_SHIFT,
48 .sidle_shift = SYSC_TYPE2_SIDLEMODE_SHIFT,
49 .srst_shift = SYSC_TYPE2_SOFTRESET_SHIFT,
54 * omap_hwmod class data
57 struct omap_hwmod_class l3_hwmod_class = {
58 .name = "l3"
61 struct omap_hwmod_class l4_hwmod_class = {
62 .name = "l4"
65 struct omap_hwmod_class mpu_hwmod_class = {
66 .name = "mpu"