]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/blobdiff - arch/arm/mach-omap2/omap_hwmod_common_data.c
ARM: OMAP2+: hwmod: Add two new sysc_field types
[sitara-epos/sitara-epos-kernel.git] / arch / arm / mach-omap2 / omap_hwmod_common_data.c
index de832ebc93a98c8d2556675de6ae3bfd7a5b2342..063925cd70d30eb0519ee03bfb004bcc0854e905 100644 (file)
@@ -49,3 +49,29 @@ struct omap_hwmod_sysc_fields omap_hwmod_sysc_type2 = {
        .srst_shift     = SYSC_TYPE2_SOFTRESET_SHIFT,
 };
 
+/**
+ * struct omap_hwmod_sysc_type3 - TYPE3 sysconfig scheme.
+ * Used by some IPs on AM33xx
+ */
+struct omap_hwmod_sysc_fields omap_hwmod_sysc_type3 = {
+       .midle_shift    = SYSC_TYPE3_MIDLEMODE_SHIFT,
+       .sidle_shift    = SYSC_TYPE3_SIDLEMODE_SHIFT,
+};
+
+/**
+ * struct omap_hwmod_sysc_type4 - TYPE4 sysconfig scheme.
+ * Used by some IPs on AM33xx
+ */
+struct omap_hwmod_sysc_fields omap_hwmod_sysc_type4 = {
+       .midle_shift    = SYSC_TYPE4_MIDLEMODE_SHIFT,
+       .clkact_shift   = SYSC_TYPE4_CLOCKACTIVITY_SHIFT,
+       .sidle_shift    = SYSC_TYPE4_SIDLEMODE_SHIFT,
+       .enwkup_shift   = SYSC_TYPE4_ENAWAKEUP_SHIFT,
+       .srst_shift     = SYSC_TYPE4_SOFTRESET_SHIFT,
+       .autoidle_shift = SYSC_TYPE4_AUTOIDLE_SHIFT,
+};
+
+struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr = {
+       .manager_count          = 2,
+       .has_framedonetv_irq    = 0
+};