diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-05-09 17:02:13 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-05-30 09:14:00 +0200 |
commit | 4ed094fd73a7c0b8534685d2ed0f0f3ccdb96bdf (patch) | |
tree | 80af179510cd686e4b8736a1c725d100ccc27a92 /drivers/gpu/drm/imx/parallel-display.c | |
parent | 7932131f6381e5d2d4a78d9134f5f6bf45900ae5 (diff) | |
download | linux-stable-4ed094fd73a7c0b8534685d2ed0f0f3ccdb96bdf.tar.gz linux-stable-4ed094fd73a7c0b8534685d2ed0f0f3ccdb96bdf.tar.bz2 linux-stable-4ed094fd73a7c0b8534685d2ed0f0f3ccdb96bdf.zip |
drm/imx: use bus_flags for pixel clock polarity
This patch allows panels to set pixel clock and data enable pin polarity
other than the default of driving data at the falling pixel clock edge
and active high display enable.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
-rw-r--r-- | drivers/gpu/drm/imx/parallel-display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/parallel-display.c b/drivers/gpu/drm/imx/parallel-display.c index 27755ecbf516..2c442516d4c7 100644 --- a/drivers/gpu/drm/imx/parallel-display.c +++ b/drivers/gpu/drm/imx/parallel-display.c @@ -115,8 +115,8 @@ static void imx_pd_encoder_dpms(struct drm_encoder *encoder, int mode) static void imx_pd_encoder_prepare(struct drm_encoder *encoder) { struct imx_parallel_display *imxpd = enc_to_imxpd(encoder); - - imx_drm_set_bus_format(encoder, imxpd->bus_format); + imx_drm_set_bus_config(encoder, imxpd->bus_format, 2, 3, + imxpd->connector.display_info.bus_flags); } static void imx_pd_encoder_commit(struct drm_encoder *encoder) |