Message ID | 20200322224435.114512-13-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=XcpwWpYD; 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 48lt1t5pdfz9sPJ for <incoming@patchwork.ozlabs.org>; Mon, 23 Mar 2020 09:47:30 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 09DC4818A2; Sun, 22 Mar 2020 23:45:30 +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="XcpwWpYD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A1DE81662; Sun, 22 Mar 2020 23:44:54 +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=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from smtpcmd0877.aruba.it (smtpcmd0877.aruba.it [62.149.156.77]) by phobos.denx.de (Postfix) with ESMTP id 472FC81764 for <u-boot@lists.denx.de>; Sun, 22 Mar 2020 23:44:41 +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 ([146.241.70.103]) by smtpcmd08.ad.aruba.it with bizsmtp id Hakc220082DhmGq01akgBo; Sun, 22 Mar 2020 23:44:40 +0100 From: Giulio Benetti <giulio.benetti@benettiengineering.com> To: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com>, uboot-imx@nxp.com, Lukasz Majewski <lukma@denx.de>, Anatolij Gustschin <agust@denx.de>, Simon Glass <sjg@chromium.org>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, u-boot@lists.denx.de, Giulio Benetti <giulio.benetti@benettiengineering.com> Subject: [PATCH v2 12/19] video: mxsfb: enable setting PIXDATA on negative edge Date: Sun, 22 Mar 2020 23:44:28 +0100 Message-Id: <20200322224435.114512-13-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200322224435.114512-1-giulio.benetti@benettiengineering.com> References: <20200322224435.114512-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=1584917080; bh=POEfD0FfGwcVntIbK1CpuYnurmu9h91A7WMgGGKsWw8=; h=From:To:Subject:Date:MIME-Version; b=XcpwWpYD5TCOPE3YRrHi8A6cI+gQRMuXm7+a3AjOjZ5qZHHyzzj0vbArIUdEf4n0l mI44x2/RXNN7clh3xIyc0vzf16ImeGW9Gm5uY+yoxC7n/N2gotQhOSvSriesZESMKV qdnIGvOV6hGV2dLRc0P45g4Pvzeb9KxebcwCiJsExGRAVQS7nvGLUnCTO4B/pdeGb6 1RtxsUjfDlnSQSktfS1tpr8Ub24Ry4lE2F16Vc2VsvNr9H3ucHZ7WBl5cJzBgnLNan F7ZVTqsUJjY6GTgFbZsUhTYgkDRNpSwE/phk4lC/c17mm6VqI9JCmPtXtkacMvi5M2 KvJzIf7SOQJSQ== 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(+)