Message ID | 20200226171601.31142-11-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=dFRQUUYq; 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 48SMtx0Hmqz9sPK for <incoming@patchwork.ozlabs.org>; Thu, 27 Feb 2020 04:17:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F2DA081022; Wed, 26 Feb 2020 18:16:38 +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="dFRQUUYq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2FA4580722; Wed, 26 Feb 2020 18:16:16 +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, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, URIBL_BLOCKED, URIBL_RHS_DOB autolearn=no autolearn_force=no version=3.4.2 Received: from smtpcmd11116.aruba.it (smtpcmd11116.aruba.it [62.149.156.116]) by phobos.denx.de (Postfix) with ESMTP id 4CB1F80671 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 7VG12203j0DySFo01VG5k7; 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 10/18] video: mxsfb: enable setting VSYNC negative polarity Date: Wed, 26 Feb 2020 18:15:53 +0100 Message-Id: <20200226171601.31142-11-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=FNAMwhtbV60ZO4lLbQeQH9QP4CfN5dZc7Dic1BicQ/Q=; h=From:To:Subject:Date:MIME-Version; b=dFRQUUYqhrLvhDhCuyjzTdbHMLRgn0//2tyBeDkBVqX2zZvavX6VsQtHHyldDWDGt ksAzLOGeVy3quIooKiDBsXrQ/v1UzgVQKDdBMT9dtVwDO3yf/eF5zi84GCYQckTJom Axwg3NMooz181KE5kN/Y63XFW8Vt8U5oI0cN9s1ekif+VDJQ598XW7g+0it5k68C2G YtkyiOuze9ssV5rPweUqmUrOBZQP9gEFpWdcwVFZLJI8UkrKsjKOezC9pyeYGbagdb lFpJGE4aj//Jw/oASbtRTCd9rUzjl/8oOllrPlDsEisQZ9ubwHMkHJ6xsyS0w0HUtR iPRQXgoLb5alw== 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 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@benettiengineering.com> --- drivers/video/mxsfb.c | 2 ++ 1 file changed, 2 insertions(+)