]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Jan 2019 23:59:34 +0000 (01:59 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 8 Feb 2019 00:25:56 +0000 (02:25 +0200)
commitbffdf11ab36dae47017cb21b85add8eac85c43ec
tree76d9a72d3303eb693b9b71f20997048f21f9693c
parentbad165f6d9b1768d8c8a27888480f2b4365c59ed
drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3

On the D3 and E3 SoCs the LVDS PLL clock output provides the dot clock
to the DU channels, even when the LVDS outputs are not in use. Enable
and disable the LVDS clock output when enabling or disabling a CRTC
connected to the DPAD0 output.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_encoder.c