summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/display.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-21 10:38:47 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-04 06:02:14 (GMT)
commit403ee909e44a6cf41060ce02899c07f5907d6af5 (patch)
treeac50f525ad4c13e56279de7bfaffea2fd3f06937 /arch/arm/mach-omap2/display.c
parent5b5992ac64a5a609c995807d987459c7759c6fb1 (diff)
downloadlinux-403ee909e44a6cf41060ce02899c07f5907d6af5.tar.xz
ARM: OMAP2+: display: detect DRA7 DSS
Add platform code to detect DRA7 DSS. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/display.c')
-rw-r--r--arch/arm/mach-omap2/display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 9868d0b..6ab13d1 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -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)