From patchwork Fri Aug 4 15:10:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 13342021 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 32B68C001DB for ; Fri, 4 Aug 2023 15:10:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CA2610E722; Fri, 4 Aug 2023 15:10:53 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by gabe.freedesktop.org (Postfix) with ESMTPS id 41A8110E721 for ; Fri, 4 Aug 2023 15:10:19 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPA id E82DE1C0003; Fri, 4 Aug 2023 15:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1691161818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nwlqseqskDNjzuWWUqN4ODDJjpTVWn6NU0l72pzeoK8=; b=VJ3+2Iipwpe+7bbRgZ3Mo67/svscBp1VM/IOxmXTYkyXxPjyEmtxd/Hky19XhZ5oL9fCLu t7Gq3LmgnoAGGBYDZE9M3hH23wH+aOCjMPBUgv3+Ceq5jjReDtthR2I/f5P6wu+1k8YcrD eZ9tLWMUSvkUu/drZksipTTqowzEM0Wxi9T2Aooi0ZQR7mizfrLpEDL4AJgSsZcxWo6z2c 00cmITNpOfY5J9uq636y8vBF4H0oAJfzR5835PRXjsyD00P+HmktpLX2TnRq2FSPMrH7X+ fTu9WGVlYoa55oHc/feQRnvujlYU8yA+RnLwOOi/61mcDBMEVvT7Ecrxf2Fx3g== From: Luca Ceresoli To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock Date: Fri, 4 Aug 2023 17:10:10 +0200 Message-Id: <20230804151010.834990-1-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-GND-Sasl: luca.ceresoli@bootlin.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Neil Armstrong , Thomas Petazzoni , Sam Ravnborg , Luca Ceresoli , linux-kernel@vger.kernel.org, Paul Kocialkowski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This panel has been implemented in commit 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge. Fixes: 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") Signed-off-by: Luca Ceresoli Tested-by: Marek Vasut # MX8MM with LT9211 Reviewed-by: Marek Vasut --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 56854f78441e..ec3a73bbfe30 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2379,7 +2379,7 @@ static const struct panel_desc innolux_g121x1_l03 = { }; static const struct display_timing innolux_g156hce_l01_timings = { - .pixelclock = { 120000000, 144000000, 150000000 }, + .pixelclock = { 120000000, 141860000, 150000000 }, .hactive = { 1920, 1920, 1920 }, .hfront_porch = { 80, 90, 100 }, .hback_porch = { 80, 90, 100 },