drm/bridge: ti-tfp410: Set connector type based on DT connector node
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 25 Sep 2018 13:59:28 +0000 (16:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:13 +0000 (11:42 +0200)
commit60b903c3e621ccb61fc9432fc32d64c6e3604955
tree16b139bb64883bd9617f7568a3dc192cc0634129
parent2645d8d0980caa1cb9378b2a51d117374c478e76
drm/bridge: ti-tfp410: Set connector type based on DT connector node

The TI TFP410 is a DVI encoder, not a full HDMI encoder. Its output can
be routed to a DVI-D connector, even if in many cases embedded systems
will use an HDMI connector to carry the DVI signals.

Instead of hardcoding the connector type to HDMI, retrieve the connector
type from its DT node.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/bridge/ti-tfp410.c