Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1674007ioo; Sun, 22 May 2022 23:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx90schfj2PlWB2bUvX7k4Ii3ar74IoN2wnMBCMchiDoNyUNZapc+trPqei+7JbOj/ERuk4 X-Received: by 2002:a05:6a00:2391:b0:50a:3ea9:e84d with SMTP id f17-20020a056a00239100b0050a3ea9e84dmr22079783pfc.21.1653288980167; Sun, 22 May 2022 23:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653288980; cv=none; d=google.com; s=arc-20160816; b=ALWNa8HaFR9wYPrkoKy8dArE51u//JvNNF6STcKtonBMKY7FAihNnf/L6r4Q8mxRId SWHytmCP12VNb8Ssc0xXHQkPV6Rz9GfCrSrHcqtRT5HtNBhX99bx3InptE+hc0Ur0ZQl v8sf4CcCkissWhJOPdcznElL+s8582eG69HC7wr5BvyF3cChJl4jqadC77O/+wRvbdni 9xGVVi8lo0ljQ6lVQXr7fvAg9qEwVEKwY3MsTOSuxVFyfdCK9VKsIsjOmvd467cOoGkc Kn9tEEQJf4fT3Ww74lcaIQTvVEx9zyB8Z9DpP8c97Of1buN+cCXH3wjMr/ynKcMObFb2 6yfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=7RTuizWbM6S9jl8Q5fyEGl7dmnb2R/n4QsCL8KizwLw=; b=u80Sgzw4ZyAKv2Ytev8EhflUHriwQc3zt1yDmSl4jzClTNP2DNhvP6Xx9u3lU/SDC5 cS/b4zEE/0PIbwNQzA7VBVgCLpBARnbsc2eXw9vIKzEXi66YcxWBGfSTKnWs5R+Wtvbh sy08b+Kope6uQqPOAqpT3OKoUdRXBF9oNprO3wmUsA5v0y0xlr5vbqIFAF9KLoUT9v3Y ZGSesa2i8Q5rUcuClSbRG/g0dWvnsvmPfBeg1Thm8j38ef+e1EHB/zfMnFky99QibKxK SJzHRuOuj0apQ2sI0UydKvIE6i8/HUkUMPUyJ25Wzv9XRxGk0tBtIE6iahJjrZWVzdYw ODYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 81-20020a630154000000b003f61070e884si9975974pgb.628.2022.05.22.23.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:56:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D3C3C443DF; Sun, 22 May 2022 23:22:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238389AbiESNkb (ORCPT + 99 others); Thu, 19 May 2022 09:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbiESNka (ORCPT ); Thu, 19 May 2022 09:40:30 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F975A5019; Thu, 19 May 2022 06:40:29 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 107) id 7916F68BEB; Thu, 19 May 2022 15:40:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from blackhole (p5b0d840b.dip0.t-ipconnect.de [91.13.132.11]) by verein.lst.de (Postfix) with ESMTPSA id 6467768AA6; Thu, 19 May 2022 15:39:58 +0200 (CEST) Date: Thu, 19 May 2022 15:39:52 +0200 From: Torsten Duwe To: Vasily Khoruzhick Cc: Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Thierry Reding , Lyude Paul , dri-devel , linux-kernel , Harald Geyer , stable@vger.kernel.org Subject: Re: [PATCH] drm/bridge: fix anx6345 power up sequence Message-ID: <20220519153952.7c6c412b@blackhole> In-Reply-To: References: <20220417181538.57fa1303@blackhole> <20220428175759.13f75c21@blackhole.lan> Organization: LST e.V. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 May 2022 09:53:58 -0700 Vasily Khoruzhick wrote: > On Thu, Apr 28, 2022 at 8:58 AM Torsten Duwe wrote: > > power on the eDP bridge? Could there be any leftovers from that > > mechanism? I use a hacked-up U-Boot with a procedure similar to the > > kernel driver as fixed by this change. I was asking because I recall an ugly hack in some ATF code to power up the chip correctly. Did you patch ATF, and maybe call functions of it at runtime? > > > > But the main question is: does this patch in any way worsen the > > situation on the pinebook? > > I don't think it worsens anything, but according to the datasheet the > change makes no sense. Could you try increasing T2 instead of changing > the power sequence? According to the datasheet, there is also T3, I realise now. The diagram talks about "System Clock", but both Teres and Pinebook have a passive resonator circuit there. Correct me if I'm wrong, but without chip power, there is little to resonate. What if that driving clock circuit is powered by Vdd25? Maybe the earlier provision of 2V5 is enough for Teres' Q4, but Pinebook X4 takes even longer? The start-up times can be in the range of milliseconds. Torsten