]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: lvds: Add support for dual-link mode
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 4 Mar 2019 19:34:46 +0000 (21:34 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 7 Jun 2019 23:36:04 +0000 (02:36 +0300)
commitd9f272b0ee3a9a331ec8fef945511624623a375f
treee65eed1d1656cd58950d3cdfa0ec8064be2fec6d
parent793333051c8f9ab81ac30c8f3bce10e6d3ac0b5c
drm: rcar-du: lvds: Add support for dual-link mode

In dual-link mode the LVDS0 encoder transmits even-numbered pixels, and
sends odd-numbered pixels to the LVDS1 encoder for transmission on a
separate link.

To implement support for this mode of operation, determine if the LVDS
connection operates in dual-link mode by querying the next device in the
pipeline, locate the companion encoder, and control it directly through
its bridge operations.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_lvds.c
drivers/gpu/drm/rcar-du/rcar_lvds.h