OSDN Git Service

drm/bridge: use bus flags in bridge timings
authorStefan Agner <stefan@agner.ch>
Wed, 5 Sep 2018 05:21:08 +0000 (22:21 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:13 +0000 (11:42 +0200)
commitd23286ff3d79e1b78b4a4b030a62c3ddc120c607
tree82ab6d317f67404350d4359f62cf893f1cd67df4
parent88bc4178568b8e0331143cc0616640ab72f0cba1
drm/bridge: use bus flags in bridge timings

The DRM bus flags convey additional information on pixel data on
the bus. All current available bus flags might be of interest for
a bridge. Remove the sampling_edge field and use bus_flags.

In the case at hand a dumb VGA bridge needs a specific data enable
polarity (DRM_BUS_FLAG_DE_LOW).

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/bridge/dumb-vga-dac.c
include/drm/drm_bridge.h