OSDN Git Service

ARM: AM43xx: hwmod: set DSS submodule parent hwmods
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Jan 2015 06:49:47 +0000 (23:49 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 21 Jan 2015 01:12:17 +0000 (18:12 -0700)
Set DSS core hwmod as the parent for all the DSS submodules. This fixes
the boot time DSS reset, removing the following warnings:

omap_hwmod: dss_dispc: cannot be enabled for reset (3)
omap_hwmod: dss_rfbi: cannot be enabled for reset (3)

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

index 5c6c841..8eb8592 100644 (file)
@@ -498,6 +498,7 @@ static struct omap_hwmod am43xx_dss_dispc_hwmod = {
                },
        },
        .dev_attr       = &am43xx_dss_dispc_dev_attr,
+       .parent_hwmod   = &am43xx_dss_core_hwmod,
 };
 
 /* rfbi */
@@ -512,6 +513,7 @@ static struct omap_hwmod am43xx_dss_rfbi_hwmod = {
                        .clkctrl_offs = AM43XX_CM_PER_DSS_CLKCTRL_OFFSET,
                },
        },
+       .parent_hwmod   = &am43xx_dss_core_hwmod,
 };
 
 /* Interfaces */