Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1317572rdh; Mon, 25 Sep 2023 09:05:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH36t49YNWWJ2cPQ/i0LMOln7JpSYTGoacw85YQ70UhcTFM6ynTZVsYMfdz9nz4zJXTAT+4 X-Received: by 2002:a17:90b:4a4b:b0:26d:49c8:76d8 with SMTP id lb11-20020a17090b4a4b00b0026d49c876d8mr6208791pjb.18.1695657899806; Mon, 25 Sep 2023 09:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695657899; cv=none; d=google.com; s=arc-20160816; b=GqSRCDQ66u7fYGm9NK5ZYSSube9bbUdrFxZL1JQQdlE56L97uYIHUGcqyzZVKlg015 2hlbatlUJXQ0sSwbWqNS2VNI6N9VxRhc/H0EFIZvLawCQZ1j0J0MqSzt5y38xivqA3xv DiOZKrl/bi5RlqVMalQcmcaoCGfqIVoxb+X9B19QQ0FqwrOCPfMLMUKDCICvy9N5TFds E2hFhFnB8xBK669EO2evys7JVYDawwTGg+y2XrzzlA9Wb9uKGWICD9AyDq02TL+roneZ nfryUhTBb80NoEVvzKcSKLbVusZQDe3DJ6z/3l8YAd7wfSiOuM5WcKZqXXpiTW9rAPgu gKxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=0rJDXgONrHX3aR1z2MM/iasrNXbrM9SUVbUdm4JtGGg=; fh=ydpVY8x2Alg05pwx7ezDGbXIhqX4MjGzwAfWQEaY+Ls=; b=ocenkZASf9RuUff2YNJmsP8H/3rriSCxNsIHjkd03RurFkhR01qgpv4rvvvOyGZJbN Poc8uNPRPheOmt7SnHo/39wDuXyCj83778WRZJJMH+y4Ds8bCbSruZhH6FcGVZDg+s/M nrKAhYEKaM4MIIspzf6evcupS1Mnv9E6MXTxCKV0UV2ptDuCkkdA/MyWBdztuC2DSliO sTDyZa552qLSU+2ik7Cc3TEjCi0GerO4QguSIi6rVzfg8hI5DzwcKH74lMCTS8okiJKj ODBXu/8SzQPptHg7sXSCrrWJWb97iAkSg+Tka3BQ95RsDpaOwSzrnxRkblBTS1O9IZFQ /7Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=HyuaFSYB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id na5-20020a17090b4c0500b002613720fcd5si13832650pjb.35.2023.09.25.09.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 09:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=HyuaFSYB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B95C38024C20; Mon, 25 Sep 2023 02:43:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjIYJnh (ORCPT + 99 others); Mon, 25 Sep 2023 05:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjIYJng (ORCPT ); Mon, 25 Sep 2023 05:43:36 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E72729C; Mon, 25 Sep 2023 02:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1695635008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0rJDXgONrHX3aR1z2MM/iasrNXbrM9SUVbUdm4JtGGg=; b=HyuaFSYBVqDrcWKB++UJXMUa/cwScDM0/7cah93B75QHwXOdXbalzy973JOawgDGSaGwKJ 9xmVPUaz9Ad3Y4Zti+EK8GXq8YqXSwEJ6cBdz+wCo5gKa1PFTvsX3QDauJRcH5iglv53/7 FfZRhgY5D7EjJKI6rNZ1IB2KwyLi1Eo= Message-ID: Subject: Re: [RFC PATCH v3 4/7] drm/panel: nv3052c: Add Fascontek FS035VG158 LCD display From: Paul Cercueil To: John Watts Cc: dri-devel@lists.freedesktop.org, Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Heiko Stuebner , Chris Morgan , Jagan Teki , Christophe Branchereau , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 25 Sep 2023 11:43:26 +0200 In-Reply-To: References: <20230925021059.451019-1-contact@jookia.org> <20230925021059.451019-5-contact@jookia.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 25 Sep 2023 02:43:38 -0700 (PDT) Le lundi 25 septembre 2023 =C3=A0 19:21 +1000, John Watts a =C3=A9crit=C2= =A0: > On Mon, Sep 25, 2023 at 11:12:29AM +0200, Paul Cercueil wrote: > > Hi John, > >=20 > > Just to be sure, your fascontek panel won't work with the > > initialization sequence of the leadtek panel? >=20 > Yes, it does work. OK, why not use the leadtek's initialization sequence then? From what I can see, you have a panel with a NV3052C chip, so the existing initialization sequence should already work. >=20 > > Did you try with the existing display modes? If you can afford the > > 24 > > MHz clock (and if it works with your panel) it will give you a > > perfect > > 60.0 Hz refresh rate, while this mode above will give you above > > 59.93 > > Hz (which is not that bad though). >=20 > No I didn't test with this. >=20 > In general I don't feel comfortable submitting code that strays from > what is > recommended by the manufacturer. The NV3052C datasheet does not give any settings for a 640x480 panel, I only see suggested settings for a 720x1280 vertical panel. Unless you have a min/max range specified, the values you see in there are only suggestions for a working setup, that doesn't mean they are the only recommended ones. Cheers, -Paul