drm: atmel-hlcdc: Support inverting the pixel clock polarity
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 9 Jun 2023 14:48:43 +0000 (16:48 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 10 Aug 2023 06:44:34 +0000 (08:44 +0200)
commitd01cb0457de7acf67eee2ff674eaf5fed6b969ef
treeb7709d9be2cabca393ad212e65abe1392607a549
parent2da20c92ce22e3e0356d0b3e3cdfc307bb24a1a0
drm: atmel-hlcdc: Support inverting the pixel clock polarity

On the SoC host controller, the pixel clock can be:
* standard: data is launched on the rising edge
* inverted: data is launched on the falling edge

Some panels may need the inverted option to be used so let's support
this DRM flag.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230609144843.851327-1-miquel.raynal@bootlin.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c