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 <hem...@ti.com>
Cc: Felipe Balbi <felipe.ba...@nokia.com>,t...@atomide.com
[...]
@@ -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-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to