diff options
author | Koji Matsuoka <koji.matsuoka.xm@renesas.com> | 2015-07-28 20:12:43 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2016-02-23 09:34:32 +0200 |
commit | 6bc2e15cf21cd96eba69ac83ddd37a7994148b16 (patch) | |
tree | 1d54f430befed85fd0a96762ab06dd2f74b69cb0 /drivers/gpu/drm/rcar-du/rcar_du_drv.c | |
parent | 82e7c5e4964545352accff4b44bbcaa2c38e7fc1 (diff) | |
download | linux-6bc2e15cf21cd96eba69ac83ddd37a7994148b16.tar.gz linux-6bc2e15cf21cd96eba69ac83ddd37a7994148b16.tar.bz2 linux-6bc2e15cf21cd96eba69ac83ddd37a7994148b16.zip |
drm: rcar-du: lvds: Add R-Car Gen3 support
The LVDS encoder differs slightly in Gen3 SoCs in its PLL configuration.
Add support for the Gen3 LVDS PLL parameters and startup procedure.
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_drv.c')
-rw-r--r-- | drivers/gpu/drm/rcar-du/rcar_du_drv.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index 24265d75e7de..ed6006bf6bd8 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c @@ -140,15 +140,21 @@ static const struct rcar_du_device_info rcar_du_r8a7795_info = { | RCAR_DU_FEATURE_VSP1_SOURCE, .num_crtcs = 4, .routes = { - /* R8A7795 has one RGB output, and two HDMI and one LVDS - * (currently unsupported) outputs + /* R8A7795 has one RGB output, one LVDS output and two + * (currently unsupported) HDMI outputs. */ [RCAR_DU_OUTPUT_DPAD0] = { .possible_crtcs = BIT(3), .encoder_type = DRM_MODE_ENCODER_NONE, .port = 0, }, + [RCAR_DU_OUTPUT_LVDS0] = { + .possible_crtcs = BIT(0), + .encoder_type = DRM_MODE_ENCODER_LVDS, + .port = 3, + }, }, + .num_lvds = 1, }; static const struct of_device_id rcar_du_of_table[] = { |