]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: Whitelist DT nodes to fixup with omapdss, prefix
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 23 Sep 2018 12:05:10 +0000 (15:05 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:14 +0000 (11:42 +0200)
commit4e17763c321f085e40e1fabef9677628d0fb84fe
treec2f1184f0c3eb4efd3fb6630003d126087ebc6b7
parent30b71761957c541cd9dfd6cd10e3feb21a8ddca1
drm/omap: Whitelist DT nodes to fixup with omapdss, prefix

The omapdss driver patches DT at runtime to prepend an "omapdss," prefix
to the compatible string of all encoders, panels and connectors. This
mechanism ensures they get bound to the omapdss-specific drivers instead
of generic drivers.

Now that we have drm_bridge support in omapdrm, we need to selectively
disable this mechanism. Add a whitelist of compatible strings to patch,
and fill it with all the devices we support. They will be removed one by
one once corresponding drm_bridge drivers become available and get
successfully tested with omapdrm.

The omapdss components load check code is updated accordingly to ignore
devices managed by external bridge drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/base.c
drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c