| 
					
				 | 
			
			
				@@ -1213,3 +1213,83 @@ static struct omap_hwmod am33xx_i2c3_hwmod = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 static struct omap_hwmod_class_sysconfig lcdc_sysc = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	.rev_offs	= 0x0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	.sysc_offs	= 0x54, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_fields	= &omap_hwmod_sysc_type2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_class am33xx_lcdc_hwmod_class = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.name		= "lcdc", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc		= &lcdc_sysc, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_irq_info am33xx_lcdc_irqs[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ .irq = 36 + OMAP_INTC_START, }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ .irq = -1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod am33xx_lcdc_hwmod = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.name		= "lcdc", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.class		= &am33xx_lcdc_hwmod_class, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clkdm_name	= "lcdc_clkdm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.mpu_irqs	= am33xx_lcdc_irqs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.main_clk	= "lcd_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.prcm		= { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.omap4	= { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			.clkctrl_offs	= AM33XX_CM_PER_LCDC_CLKCTRL_OFFSET, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			.modulemode	= MODULEMODE_SWCTRL, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * 'mailbox' class 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * mailbox module allowing communication between the on-chip processors using a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * queued mailbox-interrupt mechanism. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_class_sysconfig am33xx_mailbox_sysc = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.rev_offs	= 0x0000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_offs	= 0x0010, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_flags	= (SYSC_HAS_RESET_STATUS | SYSC_HAS_SIDLEMODE | 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			  SYSC_HAS_SOFTRESET), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_fields	= &omap_hwmod_sysc_type2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_class am33xx_mailbox_hwmod_class = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.name	= "mailbox", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc	= &am33xx_mailbox_sysc, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_irq_info am33xx_mailbox_irqs[] = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ .irq = 77 + OMAP_INTC_START, }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ .irq = -1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod am33xx_mailbox_hwmod = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.name		= "mailbox", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.class		= &am33xx_mailbox_hwmod_class, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.clkdm_name	= "l4ls_clkdm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.mpu_irqs	= am33xx_mailbox_irqs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.main_clk	= "l4ls_gclk", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.prcm = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		.omap4 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			.clkctrl_offs	= AM33XX_CM_PER_MAILBOX0_CLKCTRL_OFFSET, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			.modulemode	= MODULEMODE_SWCTRL, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * 'mcasp' class 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_class_sysconfig am33xx_mcasp_sysc = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.rev_offs	= 0x0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_offs	= 0x4, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_flags	= SYSC_HAS_SIDLEMODE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.sysc_fields	= &omap_hwmod_sysc_type3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct omap_hwmod_class am33xx_mcasp_hwmod_class = { 
			 |