Message ID | 20200408151025.20549-12-giulio.benetti@benettiengineering.com |
---|---|
State | Superseded |
Headers | show |
Series | i.MXRT1050 add LCDIF support | expand |
On Wed, 8 Apr 2020 17:10:17 +0200 Giulio Benetti giulio.benetti at benettiengineering.com wrote: > VSYNC signal can now be flipped by writing its bitmask on vdctrl0 > register. > > Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com> Reviewed-by: Anatolij Gustschin <agust at denx.de> -- Anatolij
> VSYNC signal can now be flipped by writing its bitmask on vdctrl0 > register. > Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com> > Reviewed-by: Anatolij Gustschin <agust at denx.de> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 9912cf3d82..4d33e24e1a 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -127,6 +127,8 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr, if(flags & DISPLAY_FLAGS_HSYNC_HIGH) vdctrl0 |= LCDIF_VDCTRL0_HSYNC_POL; + if(flags & DISPLAY_FLAGS_VSYNC_HIGH) + vdctrl0 |= LCDIF_VDCTRL0_VSYNC_POL; writel(vdctrl0, ®s->hw_lcdif_vdctrl0); writel(timings->vback_porch.typ + timings->vfront_porch.typ + timings->vsync_len.typ + timings->vactive.typ,
VSYNC signal can now be flipped by writing its bitmask on vdctrl0 register. Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com> --- drivers/video/mxsfb.c | 2 ++ 1 file changed, 2 insertions(+)