Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F8DE606A31A for ; Wed, 2 Dec 2026 10:27:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=lFesrVYr; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=ByCVAHiw Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 82244409BA; Wed, 2 Dec 2026 10:27:53 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ejyon4YTd4f6; Wed, 2 Dec 2026 10:27:52 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 6EEDD40925 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796207272; b=XwwGDzGPtREebzezINgkIn3N313/3hUsstLxS9FzHyr/DLyQM/cGjneg4tqkuS8p2fws W3CNWGoF4jgvBCbCdvyQSDdkIycLrU6PSypsZzGdc0K2aiefCZRfqKrTxEJsDAJCYCa68 Vp8kP1wmiRAbggGQw59vD+NdOd5wrHDxi68K4TGrVOK5e7s7bn9jYkNkMVjesLd1LEtrJ vErCYwfMNS3Sxzelz2PuyLCriU70CCPjae/L4HgjZXsZ1Z/IZ3xMvsabrw1WNAkHk7gXq GZhclz9iGsiD7qbjBmG/GaUk8ZQ61gBvFV97pKbmB+3iWPczzsaAXOYIwKQdKYzeyLQ== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796207272; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding: X-BeenThere:X-Mailman-Version:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:Errors-To; bh=GTF7oGnkouhT1kPgY8itfCcg2e5pjGogsOI5YBSaq5U=; b=LSNXJziwBAInJ52gPlAda5p0W0TGU+B/l/iursxoiomXW2ebPY9TfL0ZW7cjjZNU9XeN HOfE+b7qtNn5hb3/joGUI/Lthh/lj8cgPWRxVeShgxLF6Ld8nGdXc7YMxTkjqVM2wDA+h GoCdHnabtUvWgwcZnkZ4xjfuv9FrUgRbhIE1k5X++fz4Kp26DeDMwvsYGMeneAcZTjDxO PydIy0IwYUUXx5Rko7RSsM2fsA8gVafPr3XnFkMTJwFga75NSZqqUyeQW4dNQfJoeGEkN GRjHFzejJ3kwPBoeGx88gwyR4P6gPjKFv6GKnm/Fd/CZItfm3OWdlKDvniFMby/Gvdw== ARC-Authentication-Results: i=1; smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796207272; bh=GTF7oGnkouhT1kPgY8itfCcg2e5pjGogsOI5YBSaq5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lFesrVYrif+HgsaPwpOYtUw5U1AFHfagsUvxn1Znzy+zWhPWCkJgfiIcJPie8Q1Yt m+v6JFSMC9uTkI1xWnf5LSIAbXUCoaW1LicZE918VjnG0bW0xkdJzDMe3kCQNsya9a 9yZHcFJN9at/kIRyHhGgUvuO+pJe4f/69hKpQcPa2y1NFl3O2lUYwPH4zk22RQEMk+ cbtCqubm1p2ppXuXoju7dXdL4p35gLF8UadgSv9lc1AFeoeRyfLU9SWbeGHtREDEpe Uwv6wS5mrRNbMIiChooKa8n+qAgebElwlBpp30AEx6gW52dnnbHbPEcYCBQ1AuIN09 1CDTCCupYRo4A== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 6EEDD40925; Wed, 2 Dec 2026 10:27:51 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 42CCE4C2 for ; Wed, 2 Dec 2026 10:27:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3552A40466 for ; Wed, 2 Dec 2026 10:27:47 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id cL3nS14KqzCq for ; Wed, 2 Dec 2026 10:27:46 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 5FE8F40179 Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::432" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::432; helo=mail-wr1-x432.google.com; envelope-from=dario.binacchi@amarulasolutions.com; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp2.osuosl.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=ByCVAHiw Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5FE8F40179 for ; Wed, 2 Dec 2026 10:27:45 +0000 (UTC) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-4a3e706b5dfso8271711f8f.2 for ; Wed, 02 Dec 2026 02:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1796207264; x=1796812064; darn=lists.u-boot-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=GTF7oGnkouhT1kPgY8itfCcg2e5pjGogsOI5YBSaq5U=; b=ByCVAHiw/SNPHfe13Haf25M2naonkOeP5Yo8QhuqDDaEPoCzypO1pisEgNIZNVX9qo TwNGd7vhOqTr8+q6Zoms98iA19W5mmquCvV59FCwyY3Ft61va1jKZ4/q8X6w4qKfdOuG 1BE8mnLdzlmsHjLnDz9prGLxbEdJHLh5rwPcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796207264; x=1796812064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=GTF7oGnkouhT1kPgY8itfCcg2e5pjGogsOI5YBSaq5U=; b=h7HD6aruAxJg0ycQsvqR4wpFILPEpDMToZOv5pnPaTRXGwzlgE6AB5iig75j/sVOw4 Ko8FwoL546FkfWeHPOZ/rgXyZCkfg35TLH1DlZJ8rBl6uo5QJO8WIIpaine7Q/+uBoV1 X3FZJbeTJNwYXMWIr7SW9Uxm/QmU2N6gXRqSDe0GHhMFY+W2Dwz4eyOkTM8ec+IT4uEW i4wU+k/W+xS8Xqndj65221vgijqK2VlmKdQ1JjNgxwPb0n0MaYdmzWmaAIOmUzz/BUXs lnVRwSo2UZzXGuQ4ctTI294PHd+ijUAyo0fJXX/bVV4Oxr4lBVYVPpDPWGePQ5CXsmfS tVUA== X-Gm-Message-State: APuU4Z9ibyRt1uZzw5LHiHj5rKOLkrKNhALhV8TCtsx8zK5weE59fDaQ I7S1Y/AEjIXXMahK3lPGPpotiW/ad/vbLqVpr3iC9ji37x/t+qIOZMi19icFCk//oSOMw/ZdwOy plm/q X-Gm-Gg: AZFdTZemv0RtHkpy2Z1z+a9VbEF13B/X5nxagTdx/Mrs3/E6WxAIAA7M8l9a/Ux1Vca 6NVquCTLvRNZXJZJLkGuEcRTzj7cIRAV37mXwXrfp4boY4gOE3QrE7xQJi1tjE5OSyHITYhfQPJ 5mipAkThoaPxOk2MdgYR+GXMJMlgps04jc7NYQe207Kmbo+bkvqkAB2pByKB21OEnU1M7Ale7wm W+UN3TOzVuKmFYVO4XWEjQD3Gu7d+Dhk6C1AYcLWn+9HAp+4RkBgL63LVY1kBIxhMEUrya0w8Ie G2HDmy+SSmK0VRCHSrfouIicE/04vNOcjDPVCFARczzaByjmzlVcb4w45vQrTB5AbQEB3ByLpO9 EkvG+mUuDulJiNsOiH767hYne7YA5D4tUihmdyvJ0GzncBTGPmew4TNHjgHdMIGL/fPDEbGv6tU IVwrE0UY3Rwk68z77GqmemzSZt01a/K3DIl8bBWpxhM4SpCYTxlkmMeyO43rNBqykvyPTL13OWU FCX6eUgmsuxZNuEm8vv24Ft/gHu5GjQsr/xZEH40JYWjN2R1btBe2/dCn8h4qCTh/sa8C9/9CX4 pMnB75f4uE3WEcnZskD8NCnyF288D0X0OwUiKDrq/suTQRA3gd1bQ1olP4tXMTbbOhNjg7HLfz7 teV+ITm3wjlRejn1Oqk36 X-Received: by 2002:a05:600c:8210:b0:4a1:dbdf:17a8 with SMTP id 5b1f17b1804b1-4bb887e25e8mr767720065e9.2.1796207264189; Wed, 02 Dec 2026 02:27:44 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:6962:3ebc:7df:e6bf]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbbaeb1e4csm366823865e9.13.2026.12.02.02.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:27:43 -0800 (PST) From: Dario Binacchi To: u-boot@lists.u-boot-project.org Cc: Heiko Schocher , linux-amarula@amarulasolutions.com, Peng Fan , simon.holesch@bshg.com, Marek Vasut , Valeriy.Yatsenko@bshg.com, Leonhard Hesse , michael@amarulasolutions.com, Miquel Raynal , Dario Binacchi , Anatolij Gustschin , Tom Rini Subject: [PATCH v3 12/26] video: mxsfb: set the DE polarity from the display timings Date: Wed, 2 Dec 2026 11:26:23 +0100 Message-ID: <20261202102716.572884-13-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261202102716.572884-1-dario.binacchi@amarulasolutions.com> References: <20261202102716.572884-1-dario.binacchi@amarulasolutions.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Michael Trimarchi LCDIF_VDCTRL0_ENABLE_POL is always set, so the data enable signal is active high even if the display timings don't ask for it, and the DISPLAY_FLAGS_DE_HIGH check is pointless. Set it only for DISPLAY_FLAGS_DE_HIGH, as Linux does for DRM_BUS_FLAG_DE_HIGH. The in-tree boards using the LCDIF with display timings all specify "de-active", so they are not affected. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Add patch, split from "video: Update mxsfb video drivers for iMX8MM/iMX8MN display" drivers/video/mxsfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index d7a6214e5a6f..bc082c334577 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -150,7 +150,7 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr, writel((timings->vactive.typ << LCDIF_TRANSFER_COUNT_V_COUNT_OFFSET) | timings->hactive.typ, ®s->hw_lcdif_transfer_count); - vdctrl0 = LCDIF_VDCTRL0_ENABLE_PRESENT | LCDIF_VDCTRL0_ENABLE_POL | + vdctrl0 = LCDIF_VDCTRL0_ENABLE_PRESENT | LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT | LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT | timings->vsync_len.typ; -- 2.43.0