ARM: OMAP2/3: HWMOD: Add SYSS_HAS_RESET_STATUS for dss
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Nov 2011 10:16:12 +0000 (03:16 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Nov 2011 10:16:12 +0000 (03:16 -0700)
OMAP2/3 dss_core has a reset status flag in sysstatus register. Add
SYSS_HAS_RESET_STATUS flag to HWMOD data so it can be used.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c

index c451729..d78c132 100644 (file)
@@ -43,7 +43,8 @@ static struct omap_hwmod_class_sysconfig omap2_dss_sysc = {
        .rev_offs       = 0x0000,
        .sysc_offs      = 0x0010,
        .syss_offs      = 0x0014,
-       .sysc_flags     = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE),
+       .sysc_flags     = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
+                          SYSS_HAS_RESET_STATUS),
        .sysc_fields    = &omap_hwmod_sysc_type1,
 };