ARM: OMAP2+: display: detect DRA7 DSS
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 21 Apr 2014 10:38:47 +0000 (16:08 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 06:02:14 +0000 (09:02 +0300)
Add platform code to detect DRA7 DSS.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c

index 9868d0bc780566e711eedec34a1953be2cd99246..6ab13d18c6363532d8928dee3039ed7db065461c 100644 (file)
@@ -287,6 +287,8 @@ static enum omapdss_version __init omap_display_get_version(void)
                return OMAPDSS_VER_OMAP5;
        else if (soc_is_am43xx())
                return OMAPDSS_VER_AM43xx;
+       else if (soc_is_dra7xx())
+               return OMAPDSS_VER_DRA7xx;
        else
                return OMAPDSS_VER_UNKNOWN;
 }
@@ -573,6 +575,7 @@ static const char * const omapdss_compat_names[] __initconst = {
        "ti,omap3-dss",
        "ti,omap4-dss",
        "ti,omap5-dss",
+       "ti,dra7-dss",
 };
 
 struct device_node * __init omapdss_find_dss_of_node(void)