Re: [PATCH 3/4]usb: musb: HWMOD database structures addition for OMAP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Hema HK wrote:

OMAP3 hwmod data stuctures are populated with base address, L3 and L4 interface clocks, IRQs,and sysconfig register details.

Signed-off-by: Hema HK <hemahk@xxxxxx>
Cc: Felipe Balbi <felipe.balbi@xxxxxxxxx>,tony@xxxxxxxxxxx
[...]
@@ -90,6 +99,37 @@ static struct omap_hwmod_ocp_if omap3xxx
 	.user	= OCP_USER_MPU | OCP_USER_SDMA,
 };
+/*
+* USBHSOTG interface data
+*/
+
+static struct omap_hwmod_addr_space omap3xxx_usbhsotg_addrs[] = {
+	{
+	.pa_start	= OMAP34XX_HSUSB_OTG_BASE,
+	.pa_end		= OMAP34XX_HSUSB_OTG_BASE + SZ_4K - 1,
+	.flags		= ADDR_TYPE_RT

   Indentation: should add one more tab.

+	},
+};

[...]

@@ -197,6 +237,56 @@ static struct omap_hwmod omap3xxx_iva_hw
 	.omap_chip	= OMAP_CHIP_INIT(CHIP_IS_OMAP3430)
 };
+/*
+ * USBHSOTG (USBHS)
+ */
+static struct omap_hwmod_class_sysconfig omap3xxx_usbhsotg_sysc = {
+ 	.rev_offs	= 0x0400,
+ 	.sysc_offs	= 0x0404,
+ 	.syss_offs	= 0x0408,
+ 	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE|
+ 			   SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET |
+ 			   SYSC_HAS_AUTOIDLE),
+ 	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),

   Parens are not useful here.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux