Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1815142rwb; Thu, 8 Dec 2022 15:59:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7TEqPguurjr2s61eqzWWFW+9sCXo4EhABRQqfgbjslLyxrRC6ksZgkR7DD0MjX1SvJRA1I X-Received: by 2002:a05:6a20:3cac:b0:a3:bae6:157e with SMTP id b44-20020a056a203cac00b000a3bae6157emr5470749pzj.0.1670543961983; Thu, 08 Dec 2022 15:59:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670543961; cv=none; d=google.com; s=arc-20160816; b=PWj+17z9QyV0+0deWcJ7laZ4Fz1dkGo7KwIMywiij+T0TxSCcTVTLFYPd19oVDUYEF KWuPdFW6F1Mu7ni+ixwo/GGRvSqxlL3Y0lnVCIXPo4Zpgy6miJoXOUlr0CC4p5tKJklP 6XcGUqgE+9IggYwhj3olmIs1Y+caIvdwYiUvjdn4P7VQ33nfJsKkkg7BxyecC8HCBlYK OUGPQnfXu6mlEVNVuc0p7mO6iq8ctLOiQrHsXrB0dK08ASE0HvE5trnIu0sxldD3zF8i Ljv32PKXZrPhi4R1f77cRw/Bj/VBcFSqG5+bDZbfUNwtnPceq65O+EeveD0ooy4lX2jx f2qQ== 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:date:dkim-signature; bh=pKD0z1maEkr8LN0VfjE0onCG1Voz2tMlAbquW+aI4PQ=; b=MaTxIjGRxo/oZ6e7jNdoJjQmcAvW/jyWWWdqsF8D8FZ6umRihcQuMaIZ0rmYKCV803 MjPfmPNGuTOKOzlqADPZzdB6eXVSNGfdScO40NtrdI2H5EP7y17N17sKVaJukcEc1QGQ aX9jCOn9fWOoBZKVsRSqAapEfWEdH+a8Ly9wYOd7CI7YTOFpAyQ/laEiGPSwB1QCDQCl sJ1FyZO5JgG8psmuVRWftQTwdGqd8kHboNmdO7BQdoln6ibd6HQC/9KwxwVtiwNyoa6x S/leLJkqW7JFo5S6BB3MiSNQX6mP8zVvKAms5Zoa+ZPqdYHQYRFczR4avEbMKK9l19jW 7ZeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iSoc4pbq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170902c1c400b0018965944b98si67717plc.24.2022.12.08.15.59.12; Thu, 08 Dec 2022 15:59:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iSoc4pbq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbiLHXeA (ORCPT + 73 others); Thu, 8 Dec 2022 18:34:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbiLHXd4 (ORCPT ); Thu, 8 Dec 2022 18:33:56 -0500 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 376BF6ACEF for ; Thu, 8 Dec 2022 15:33:56 -0800 (PST) Received: by mail-il1-x12d.google.com with SMTP id z9so1901171ilu.10 for ; Thu, 08 Dec 2022 15:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=pKD0z1maEkr8LN0VfjE0onCG1Voz2tMlAbquW+aI4PQ=; b=iSoc4pbq9Do4IAFoykJi1KZ7vMe8vtdeeGGq5uZtTBdEV1CaLocmDJjg8KfSho38xH 1FUG5kP/1iOT51Xx8FULwhkyjdC4wCgFiVDjFbUNs0q3d7eAfTXbT+XahCwcZJchaBA4 sfgOW3bGfdZnzBWHxO6y3ULK2wpIcwrF9V0mI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pKD0z1maEkr8LN0VfjE0onCG1Voz2tMlAbquW+aI4PQ=; b=8LE7n0dNojSpPTFwGCw5rvuTQuhyVUcbmo97C/rkTEcuXI0pZkyZ1iKB47l24GJeLQ kt3M4lv7OISTNUsKmiotPY8ZyBUf3C5INdNYS/XYpPMc1mcCWya4mc5VeAgh1SDizGlY 0PVOVwvA6K8h+oLQzHxymcLxeuKy9ncE0GhJ+KzxzC93RMskuVpgTyExi3JZ5dqknWHq ovy7Y1DxNJa1oXcmhE8rTAzy0MQGQAv5hIrvqNBLIDDz7XOWETePB8/0I4NSVY72K6fu D0fE8Xc23dBoVxt+I9EFT5QmF8M9SRpTOxdcrNo4qwFhNeTxYe0RgVwOHqKy7NrZOfx+ eQEg== X-Gm-Message-State: ANoB5pnpbzngX5N8HFxd5QiYkZ5tly7a21Jm7gho9jH7hTwKgHpupdMN C+m11HrQ68mBBLSJt8O844TIgQ== X-Received: by 2002:a92:4a10:0:b0:302:ab04:915c with SMTP id m16-20020a924a10000000b00302ab04915cmr2025685ilf.24.1670542435623; Thu, 08 Dec 2022 15:33:55 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id e33-20020a026d61000000b00363ad31c149sm9096965jaf.110.2022.12.08.15.33.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Dec 2022 15:33:55 -0800 (PST) Date: Thu, 8 Dec 2022 23:33:54 +0000 From: Matthias Kaehlcke To: Douglas Anderson Cc: Bjorn Andersson , Dmitry Torokhov , swboyd@chromium.org, linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, Yunlong Jia , Konrad Dybcio , Andy Gross , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] arm64: dts: qcom: sc7180: Start the trogdor eDP/touchscreen regulator on Message-ID: References: <20221208192006.1070898-1-dianders@chromium.org> <20221208111910.3.I7050a61ba3a48e44b86053f265265b5e3c0cee31@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221208111910.3.I7050a61ba3a48e44b86053f265265b5e3c0cee31@changeid> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On Thu, Dec 08, 2022 at 11:20:04AM -0800, Douglas Anderson wrote: > Now that we've added the `off-on-delay-us` for the touchpanel > regulator, we can see that we're actually hitting that delay at > bootup. I saw about 200 ms of delay. > > Let's avoid that delay by starting the regulator on. We'll only do > this for eDP devices for the time being. > > NOTE: we _won't_ do this for homestar. Homestar's panel really likes > to be power cycled. It's why the Linux driver for this panel has a > pm_runtime_put_sync_suspend() when the panel is being unprepared but > the normal panel-edp driver doesn't. It's also why this hardware has a > separate power rail for eDP vs. touchscreen, unlike all the other > trogdor boards. We won't start homestar's regulator on. While this > could mean a slight delay on homestar, it is probably a _correct_ > delay. The bootloader might have left the regulator on (it does so in > dev and recovery modes), so if we turned the regulator off at probe > time and we actually hit the delay then we were probably violating T12 > in the panel spec. > > Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke