drm: rcar-du: lvds: Fix LVDCR1 for R-Car gen3
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 21 Dec 2017 20:23:30 +0000 (23:23 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 14 Feb 2018 16:17:02 +0000 (18:17 +0200)
commit3e5907a17fe4aa42d32015482132475e2b39ad50
tree1a322cca3183d1cf3f8b0d4e02543f4a88deb070
parent9ff3e797e4d6faf4cbe94f10572cfc8b3ea30109
drm: rcar-du: lvds: Fix LVDCR1 for R-Car gen3

The LVDCR1 register for the R-Car gen3 SoCs was documented as having the
layout different from the gen2 SoCs in  the early R-Car gen3 manuals but
since v0.52 the LVDCR1 layout is described as being the same as on the gen2
SoCs; the old CHn control values are said to be prohibited now (and there
seems to be no valid output signal when they are used).

Fixes: 6bc2e15cf21c ("drm: rcar-du: lvds: Add R-Car Gen3 support")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c
drivers/gpu/drm/rcar-du/rcar_lvds_regs.h