Message ID | 20200226171601.31142-12-giulio.benetti@benettiengineering.com |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=oNDEF0P9; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48SMvN5Y0Fz9sPK for <incoming@patchwork.ozlabs.org>; Thu, 27 Feb 2020 04:18:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 284B581202; Wed, 26 Feb 2020 18:16:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="oNDEF0P9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB1B580911; Wed, 26 Feb 2020 18:16:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED,URIBL_RHS_DOB autolearn=no autolearn_force=no version=3.4.2 Received: from smtpcmd11121.aruba.it (smtpcmd11121.aruba.it [62.149.156.121]) by phobos.denx.de (Postfix) with ESMTP id D6A6080722 for <u-boot@lists.denx.de>; Wed, 26 Feb 2020 18:16:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from ubuntu.localdomain ([212.103.203.10]) by smtpcmd11.ad.aruba.it with bizsmtp id 7VG12203j0DySFo01VG5kM; Wed, 26 Feb 2020 18:16:05 +0100 From: Giulio Benetti <giulio.benetti@benettiengineering.com> To: u-boot@lists.denx.de Cc: Stefano Babic <sbabic@denx.de>, Lukasz Majewski <lukma@denx.de>, Fabio Estevam <festevam@gmail.com>, uboot-imx@nxp.com, Anatolij Gustschin <agust@denx.de>, Simon Glass <sjg@chromium.org>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Giulio Benetti <giulio.benetti@benettiengineering.com> Subject: [PATCH 11/18] video: mxsfb: enable setting PIXDATA on negative edge Date: Wed, 26 Feb 2020 18:15:54 +0100 Message-Id: <20200226171601.31142-12-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200226171601.31142-1-giulio.benetti@benettiengineering.com> References: <20200226171601.31142-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1582737365; bh=POEfD0FfGwcVntIbK1CpuYnurmu9h91A7WMgGGKsWw8=; h=From:To:Subject:Date:MIME-Version; b=oNDEF0P9itwG6n/jXy21Poy7LKUR8tY3Qn8f/soGvJ2X3r3GwalIWoxwYDMloGet5 3E2Gd5Snk8mG4ZY0s0aX9gZQraDZ4D9ZDqnO3QOwwsXuH4xY+pT+VoWzpcH4kpwt7s IkyuTEoecMo/qRrPr/0mmMJdClHqbCCFC8j+GJEsaYGVj0rFSCfUrlOJz+1sSjfMU9 CFDFPdRn0+/xtI+sCEmKThA+D1YHNCNjMIHwUNaqfvpnefiUyxpkmRRSiqqGhuHU3T JET9ByjrI+Um6v8depn+LqXT2Ru3udzBGw/QWQc59S82dL4NTwJlm0moV1FvIFScuk wFDpYhyPxFoOw== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
i.MXRT1050 add LCDIF support
|
expand
|
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 4d33e24e1a..648e1c22fe 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -129,6 +129,8 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr, vdctrl0 |= LCDIF_VDCTRL0_HSYNC_POL; if(flags & DISPLAY_FLAGS_VSYNC_HIGH) vdctrl0 |= LCDIF_VDCTRL0_VSYNC_POL; + if(flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE) + vdctrl0 |= LCDIF_VDCTRL0_DOTCLK_POL; writel(vdctrl0, ®s->hw_lcdif_vdctrl0); writel(timings->vback_porch.typ + timings->vfront_porch.typ + timings->vsync_len.typ + timings->vactive.typ,
DOTCLK signal can now be flipped by writing its bitmask on vdctrl0 register. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- drivers/video/mxsfb.c | 2 ++ 1 file changed, 2 insertions(+)