Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp408064rdb; Mon, 18 Sep 2023 21:18:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSWOUR2bD/N44Hr3tuDrpC2vySeW7OJCbLgdR6QWjirqcpgEl8Wu3KD7PT7v/OF3Iv58Oa X-Received: by 2002:a17:902:6b04:b0:1bd:f7d7:3bcd with SMTP id o4-20020a1709026b0400b001bdf7d73bcdmr8049193plk.50.1695097080213; Mon, 18 Sep 2023 21:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695097080; cv=none; d=google.com; s=arc-20160816; b=Q4RNl5gVxhwoqXP5u4QdPbclyLARnAgDlbZk0uQMnII1mJyoS8P2oO7GdDvvDcxHPs sKZrbnghbp5TIRnrIQ+5T+cadPDKzglb2phMTiTjyuljZk/VLta0jtGkeHx+O7sGSG8P VBxzQgnNQmi7JqF8DjBXk5sJ70xYtykQj+lx313pYubgSkWFjgCwybAn//nnIQum6kYU BByBbz1m6DWJifFA0kqip4+Kh29/m3hzVAXxH3MIi6ai3VEQwH84Kr884RzWm4RWYKWh G/jbX4G4RvyDdk7yfnQCEwTZ5vYvjDfHL2MxM6YTRm5FEjapma/cO7BAfBLRmPnRMYuN mTHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=OKF5pL6j1FaLIvd2+LW2+OTS2g0SVXD9k2NzY4oj/+o=; fh=oqjtwcR2rWrp71l4b1VwNE2/YuuilAGMA/GdiNJYEYk=; b=lNvqLiIlCWdHTJY9M3bukVIHmsjilvhq945DMASCWUFvqpkswK0rhwgKxQTvkbrg9Q xJu/IQPbutI2ioMoQe1d+2WJDo0HTmRAmcuteQOF6y+/h2QNkaI6QibsBSMrh/ApD7fr TCFizLc24ofiCNx/ZFZOZ5JDgHwdTC+21A96GQuwBubdcJrFHvRJ7eruoJXepwOF/o2P WOX38XQ+QVA2gd2zALsS0OXrTYo19D49AwcH2Ma4hba38g3O4WaTwo43uLuExHIw4QM4 l9sbtlyKgtEtDFJuGKVfR67+u+ZyOluv/DimEGHf8HYgVCfG9CSRYRi83EJKmY5HPkVI wYNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=eAJF0wJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h12-20020a170902f54c00b001c2109a8576si9332592plf.652.2023.09.18.21.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 21:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=eAJF0wJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6D49E822C606; Mon, 18 Sep 2023 14:41:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjIRVlU (ORCPT + 99 others); Mon, 18 Sep 2023 17:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjIRVlT (ORCPT ); Mon, 18 Sep 2023 17:41:19 -0400 Received: from out-225.mta1.migadu.com (out-225.mta1.migadu.com [95.215.58.225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6D2090 for ; Mon, 18 Sep 2023 14:41:12 -0700 (PDT) Date: Tue, 19 Sep 2023 07:40:58 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1695073271; 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: in-reply-to:in-reply-to:references:references; bh=OKF5pL6j1FaLIvd2+LW2+OTS2g0SVXD9k2NzY4oj/+o=; b=eAJF0wJ6X+530eG3LxNkM63PN7qnRhh/PzY1ZTLxsu03jkiohE+49ByAC21ZDo4tPqDmtD Utn+P2HHAWUCvdC82d1DJZj0HWLlFu7mjzqztVYJuCuS5sYcUXfbGos0zKvYfKnhR7Z5qA qsZyeZ553i9kSJquTAxHnKvwFOqfq7ojHi4OXupJ5Ksrc+skSooeb1y5IKQ9gRlRxHPlBd Gq+2ryiO6nAieBGVdorZt/bQxqNXWh2iM5PgGV7fJTiz2Y6F3ZwH7oPw7iAwLBvrwWlW9+ mD/6OBOASGm4iSvTSmfKC45Yy3MNMGO/0KHhvpuKeDWRO5DGQMM1wyjRIxgOyA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: Paul Cercueil Cc: Jessica Zhang , 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 Subject: Re: [RFC PATCH v2 3/9] drm/panel: nv3052c: Sleep for 150ms after reset Message-ID: References: <20230918125853.2249187-1-contact@jookia.org> <20230918125853.2249187-4-contact@jookia.org> <7fc1ca68-ca7c-59b2-0b70-27bc34d83cee@quicinc.com> <4d2079d66249a7052acded0abf30169a4e95d151.camel@crapouillou.net> <0d6b0159552b10548391a9bd88449d12c13fdcd6.camel@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d6b0159552b10548391a9bd88449d12c13fdcd6.camel@crapouillou.net> X-Migadu-Flow: FLOW_OUT 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_NONE,SPF_NONE 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 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 14:41:18 -0700 (PDT) On Mon, Sep 18, 2023 at 11:34:51PM +0200, Paul Cercueil wrote: > The driver is guaranteed to always reset the panel in sleep-in mode - > as long as the panel was off when the driver started. > > What I'd suggest if you really need to support a case where the panel > was enabled by the bootloader, is to read the 0x0a register after > enabling the regulator to read the mode, and sleep 120ms if it was in > sleep-out mode. > > But that's only if it's a case that you can test with. I won't accept a > patch that makes sense on the surface if it addresses a corner case > that nobody ever tested for. > > For what I know, this patch just adds a huge delay to panel boot-up for > all existing users for no valid reason. > > > Cheers, > -Paul Thank you very much for this feedback. I am more than happy to throw these sleep patches in the trash and come back later with a proper solution when I have an actual hardware setup and use case to test on. John.