aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_common_data.c
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2012-07-04 05:40:59 -0400
committerPaul Walmsley <paul@pwsan.com>2012-07-04 05:40:59 -0400
commit248b3b3d841b01d0a5a55b746fc7e5e9edbe65e6 (patch)
treea3a805f064d974bada367b7b9377a73ed4b8c9cb /arch/arm/mach-omap2/omap_hwmod_common_data.c
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
ARM: OMAP2+: hwmod: Add new sysc_type3 into omap_hwmod required for am33xx
In case of AM33xx family of devices (like cpsw) have different sysc bit field offsets defined, sysc_type3: | 3 2 | 1 0 | | STDBYMODE | IDLEMODE | So introduce new sysc_type3 in omap_hwmod common data. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_common_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_common_data.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_common_data.c b/arch/arm/mach-omap2/omap_hwmod_common_data.c
index 51e5418899fb..6dd922ef80cc 100644
--- a/arch/arm/mach-omap2/omap_hwmod_common_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_common_data.c
@@ -49,6 +49,15 @@ struct omap_hwmod_sysc_fields omap_hwmod_sysc_type2 = {
49 .srst_shift = SYSC_TYPE2_SOFTRESET_SHIFT, 49 .srst_shift = SYSC_TYPE2_SOFTRESET_SHIFT,
50}; 50};
51 51
52/**
53 * struct omap_hwmod_sysc_type3 - TYPE3 sysconfig scheme.
54 * Used by some IPs on AM33xx
55 */
56struct omap_hwmod_sysc_fields omap_hwmod_sysc_type3 = {
57 .midle_shift = SYSC_TYPE3_MIDLEMODE_SHIFT,
58 .sidle_shift = SYSC_TYPE3_SIDLEMODE_SHIFT,
59};
60
52struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr = { 61struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr = {
53 .manager_count = 2, 62 .manager_count = 2,
54 .has_framedonetv_irq = 0 63 .has_framedonetv_irq = 0