diff options
author | Emil Renner Berthing <kernel@esmil.dk> | 2014-03-29 13:57:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-25 16:11:03 -0700 |
commit | 9e74d2926a283dac17d3ab22ca982aab3a4a05d8 (patch) | |
tree | fd1be0fbd49c9120d28def65de120584f6d99489 /drivers/staging/imx-drm/parallel-display.c | |
parent | d63bc1fb0fa3f37afbbe5ba98d9070b78357169b (diff) | |
download | linux-9e74d2926a283dac17d3ab22ca982aab3a4a05d8.tar.bz2 |
staging: imx-drm: add LVDS666 support for parallel display
Support the LVDS666 format on the IPUv3 parallel display.
This makes the screen work on my Hercules eCAFE Slim HD.
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm/parallel-display.c')
-rw-r--r-- | drivers/staging/imx-drm/parallel-display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c index c60b6c645f42..eaf4dda1a0c4 100644 --- a/drivers/staging/imx-drm/parallel-display.c +++ b/drivers/staging/imx-drm/parallel-display.c @@ -219,6 +219,8 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) imxpd->interface_pix_fmt = V4L2_PIX_FMT_RGB565; else if (!strcmp(fmt, "bgr666")) imxpd->interface_pix_fmt = V4L2_PIX_FMT_BGR666; + else if (!strcmp(fmt, "lvds666")) + imxpd->interface_pix_fmt = v4l2_fourcc('L', 'V', 'D', '6'); } panel_node = of_parse_phandle(np, "fsl,panel", 0); |