Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp476704rdb; Tue, 19 Sep 2023 00:39:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH50i+MeIWXJRq7IxLf12oxep2kZ87HbNn8xAqY6qKT+8DdGx9HYpUNKfhE7byJsMrecG3h X-Received: by 2002:a05:6358:112a:b0:143:4edc:f739 with SMTP id f42-20020a056358112a00b001434edcf739mr2103086rwi.4.1695109186886; Tue, 19 Sep 2023 00:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695109186; cv=none; d=google.com; s=arc-20160816; b=AyMYeY9XumgMooLiNMYhnW8WVOJd8R4Ob446p30w+hVMc1qwnBDRq0Z8XosONUIr1P m39Rzd5pGwMZotgH5eukMDORuJM/cz82iFNBqPtHc2PFceVM3tgpaoQFbFyUUBkTO6v3 ItmuV4MNqTNxcthQKLpLBEQBaoSF46zADNTZErYToRUKqsyr1Ol0xDIPqM/G1Th9MIn2 /t86sUc9nsoOojt7c6hEFEFWt5Z8ayeZhvlx198TuDixSU8+EnM5PkjWYdL9g/VMu49D oRD1BXTQQ6ew6UCwoRvZ3PDprh5wbb2L2Q9U5MdiHpVxEVb3LqrzTXrz0VFaFy++zqZL WMxQ== 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=PGvKmZ4gaTSql+5Gg/EmBcBsE1/45EteF32nr/hxcZo=; fh=OYDB8Pjvif51gSbJr3KmHqIJDOhctrbVltDbv4IUCNY=; b=AQYkb9sutuB+OJUDINETqIGesdjggxXZkAXhx7nE5r16OSDEVTh+sfFgLf4smuyLgW vqYVCBWtSHEN+mGNosFx6cHdAeSYz2Laq4pQrtxozw+J9qKVqjExSfwxGEsMxvs0TobW MU+dZYFkFWRDcldujyEviS/kgjlR40/kMkaAh09XtA6wkhLoEzDA7RZ5GHhAiFFFbAvm KGtL7FSZ26Pm01zjG++TUj/R8JdzFhRJ52Rsg4mJGif3dtyGETamxyW7A5KAS6O3IG90 g/H3Eus3HCqbMuiotCR81lI/sN9meOvjk7ZrwVv8vEP+O0xULaPLwYmmMb8yaqggsou5 xcsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=ijlY7zat; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y184-20020a638ac1000000b00578a6583ef9si1388764pgd.57.2023.09.19.00.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 00:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=ijlY7zat; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id A04A6802DD17; Mon, 18 Sep 2023 14:01:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230054AbjIRVB0 (ORCPT + 99 others); Mon, 18 Sep 2023 17:01:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjIRVBZ (ORCPT ); Mon, 18 Sep 2023 17:01:25 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF1B90; Mon, 18 Sep 2023 14:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1695070877; 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=PGvKmZ4gaTSql+5Gg/EmBcBsE1/45EteF32nr/hxcZo=; b=ijlY7zatBWXUmIxq4VkOLaBZC2y/y4fDubHLt9REXR9DJhzjsscveIfKT8vlGE8SvHjBhp iMRuIIreS9ezl3Xt6wHwmc+6ryYcL/rw+KMW6mrpRkDtAZJc3tB6zmqros4UFA7XpU1XSE FQqp4lIKDXcTMUEZGMhTp/Ml8h3Sm7E= Message-ID: <4d2079d66249a7052acded0abf30169a4e95d151.camel@crapouillou.net> Subject: Re: [RFC PATCH v2 3/9] drm/panel: nv3052c: Sleep for 150ms after reset From: Paul Cercueil To: John Watts , Jessica Zhang Cc: dri-devel@lists.freedesktop.org, Neil Armstrong , 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, 18 Sep 2023 23:01:15 +0200 In-Reply-To: References: <20230918125853.2249187-1-contact@jookia.org> <20230918125853.2249187-4-contact@jookia.org> <7fc1ca68-ca7c-59b2-0b70-27bc34d83cee@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 14:01:23 -0700 (PDT) Hi John, Le mardi 19 septembre 2023 =C3=A0 06:52 +1000, John Watts a =C3=A9crit=C2= =A0: > On Mon, Sep 18, 2023 at 01:19:03PM -0700, Jessica Zhang wrote: > > Hi John, > >=20 > > Just wondering, is there some context to this change? I.e., was > > this made to > > fix a specific issue? > >=20 > > This seems like a pretty significant increase in wait time so, if > > it's not a > > fix, I'm not sure if this would be an improvement on the current > > behavior. > >=20 > > Thanks, > >=20 > > Jessica Zhang >=20 > Hi Jessica, >=20 > Thank you for the feedback. >=20 > This patch here is required by the data sheet if the screen was > already running > and was reset. This is necessary if for example the bootloader set up > and had > the screen running. However I have not tested this, it's possible the > specific > panels have shorter tolerances for resets. This is purely > precautionary at > this stage based on what the data sheet says. >=20 > That said I will be investigating this specific use case with this > panel over > the next few months. I am okay separating out this patch until I have > proof it's > needed for my particular display. I don't know anything about the ltk > display. >=20 > The second sleep patch can probably be omitted as I don't think the > panel being > prepared then unprepared in rapid succession is a realistic > situation, but I=20 > figured I might as well propose it to see if it's the right thing to > do. >=20 > Thanks for your time and review, > John. The datasheet does say a 5ms sleep time is necesary after a reset. I assume the 120ms delay you quote is when a *software* reset is performed in Sleep-out mode. The code here does a hard-reset. Cheers, -Paul