mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
video: mxsfb: enable setting ENABLE negative polarity
ENABLE signal can now be flipped by writing its bitmask on vdctrl0 register. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
7c30d767b8
commit
76f6bcd742
@@ -131,6 +131,9 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr,
|
||||
vdctrl0 |= LCDIF_VDCTRL0_VSYNC_POL;
|
||||
if(flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE)
|
||||
vdctrl0 |= LCDIF_VDCTRL0_DOTCLK_POL;
|
||||
if(flags & DISPLAY_FLAGS_DE_HIGH)
|
||||
vdctrl0 |= LCDIF_VDCTRL0_ENABLE_POL;
|
||||
|
||||
writel(vdctrl0, ®s->hw_lcdif_vdctrl0);
|
||||
writel(timings->vback_porch.typ + timings->vfront_porch.typ +
|
||||
timings->vsync_len.typ + timings->vactive.typ,
|
||||
|
Reference in New Issue
Block a user