History log of /arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ac6d46e43a52a901dadde2a341204e9a1c9e147 23-Jan-2012 Tomi Valkeinen <tomi.valkeinen@ti.com> ARM: OMAP2+: hwmod data: split omap2/3 dispc hwmod class

Currently OMAP2 and 3 share the same omap_hwmod_class and
omap_hwmod_class_sysconfig for dispc. However, OMAP3 has sysconfig
bits that OMAP2 doesn't have, so we need to split those structs into
OMAP2 and OMAP3 specific versions.

This patch only splits the structs, without changing the contents.
This is a prerequisite for a subsequent fix.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[paul@pwsan.com: added commit note]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
13662dc5b177d68885695ef513dd4ae0e4d2a099 08-Nov-2011 Tomi Valkeinen <tomi.valkeinen@ti.com> ARM: OMAP: HWMOD: Unify DSS resets for OMAPs

This patch adds a custom DSS reset function used on OMAPs from OMAP2
forward.

The function doesn't actually do a reset, it only waits for the reset to
complete. The reason for this is that on OMAP4 there is no possibility
to do a SW reset, and on OMAP2/3 doing a SW reset for dss_core resets
all the other DSS modules also, thus breaking the HWMOD model where
every DSS module is handled independently.

This fixes the problem with DSS reset on OMAP4, caused by the fact that
because there's no SW reset for dss_core on OMAP4, the HWMOD framework
doesn't try to reset dss_core and thus the DSS clocks were never enabled
at the same time. This causes causes the HWMOD reset to fail for
dss_dispc and dss_rfbi.

The common reset function will also allow us to fix another problem in
the future: before doing a reset we need to disable DSS outputs, which
are in some cases enabled by the bootloader, as otherwise DSS HW seems
to get more or less stuck, requiring a power reset to recover.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[paul@pwsan.com: modified to build arch/arm/mach-omap2/display.o
unconditionally to avoid an error when !CONFIG_OMAP2_DSS]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
3ce32676bb355420ceeda57b73dd84df0ff5ad6f 08-Nov-2011 Tomi Valkeinen <tomi.valkeinen@ti.com> ARM: OMAP2/3: HWMOD: Add SYSS_HAS_RESET_STATUS for dss

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
273b9465bc68d4f4bcdedc34411b231e26b48416 10-Jul-2011 Paul Walmsley <paul@pwsan.com> omap_hwmod: share identical omap_hwmod_class, omap_hwmod_class_sysconfig arrays

To reduce kernel source file data duplication, share struct
omap_hwmod_class and omap_hwmod_class_sysconfig arrays across OMAP2xxx
and 3xxx hwmod data files.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
d826ebfa49aeb8a8f4d216165e5e00826741ad9c 10-Jul-2011 Paul Walmsley <paul@pwsan.com> omap_hwmod: share identical omap_hwmod_dma_info arrays

To reduce kernel source file data duplication, share struct
omap_hwmod_dma_info arrays across OMAP2xxx and 3xxx hwmod data files.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
0d619a89998d308c48d06b033eccb7374c456f12 10-Jul-2011 Paul Walmsley <paul@pwsan.com> omap_hwmod: share identical omap_hwmod_mpu_irqs arrays

To reduce kernel source file data duplication, share struct
omap_hwmod_mpu_irqs arrays across OMAP2xxx and 3xxx hwmod data files.

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