Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1624835yba; Fri, 17 May 2019 02:27:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjvOSOOXk8XCnx+Oz3EqOXOFnoCZq0E09k43vcMoBYbMDqVfryPrxFzJVwlwY4TDGj2gPx X-Received: by 2002:aa7:8ec6:: with SMTP id b6mr59459833pfr.234.1558085246631; Fri, 17 May 2019 02:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558085246; cv=none; d=google.com; s=arc-20160816; b=Qqa0h26mxnAeQQ6MqpTz3qNPAGXQh8AEdyp+MZJRg3WNiBHqseOFFbmw0m8NpIpN1t hxQ30hHrmVwUT9ULrkjmAvFMr8JKSB5qziPH/YRlRwkSbQk76CMqFbV/0SwKSnS0TZZJ D2n6FYN5azwJIjv5lNxGGAbwfCY01T8V0QsC07Vxa8zIhhc8N7yXDj9J1DRuExOMgWLb B0lzbLMKXJlpdC2d0/qMaEzwFe55RSs8+yvEzdamYMpJ6OCLY2tiQWo741Txj/4YhH/9 34m4f/2Lkff0xGMnIC4A+hmOjWrPm83m6oLpEDbo+fBG8NR1wc1bH+idOouzsjhHVD/2 4MnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=hcgDhMeq7NdHlxCDO5/Fs5W8vqW5OLtLP1wlxgCLeDM=; b=URoX0rpOr9s3IcL1LviJlOxNiEa7tKk3zOfft6F+aZd/rrIUGi6Mgom837lCBzgEKd P+yoe2cOto91WROd+sYQhZW+V7luN8Y4S3vF2tPg3hJ32iL0xxqwZnUUs8jHyUFWaK3E 8pnScEQF/EqjR+BepCZrbidviv8liE+Hr2eU0atMLSk4PPcIYb+iPZcqGPq9bs4g9ucM TZP7ko3nigOIgT5teAdCx+UstMz7vvftqcsPPgnW5UWPyu9q3TFcAoxnA8fw76dkapRC SSpRoQOA4ttWPDW9HrgqDW0ZMboRn5wCAF8h8uFA3r7XrDV7jXnItQvS8y4/Onq+Rnak k19w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si7749013pgh.417.2019.05.17.02.27.11; Fri, 17 May 2019 02:27:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728564AbfEQIPN (ORCPT + 99 others); Fri, 17 May 2019 04:15:13 -0400 Received: from verein.lst.de ([213.95.11.211]:36068 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727386AbfEQIPN (ORCPT ); Fri, 17 May 2019 04:15:13 -0400 Received: by newverein.lst.de (Postfix, from userid 107) id 6C01068C4E; Fri, 17 May 2019 10:14:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on verein.lst.de X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_50 autolearn=disabled version=3.3.1 Received: from blackhole.lan (p5B33F92B.dip0.t-ipconnect.de [91.51.249.43]) by newverein.lst.de (Postfix) with ESMTPSA id DBFF067329; Fri, 17 May 2019 10:14:19 +0200 (CEST) Date: Fri, 17 May 2019 10:14:18 +0200 From: Torsten Duwe To: Maxime Ripard Cc: Vasily Khoruzhick , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Thierry Reding , Chen-Yu Tsai , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , Harald Geyer , dri-devel , devicetree , arm-linux , linux-kernel Subject: Re: [PATCH 4/4] arm64: DTS: allwinner: a64: enable ANX6345 bridge on Teres-I Message-ID: <20190517101353.3e86d696@blackhole.lan> In-Reply-To: <20190517072738.deohh5fly4jxms7k@flea> References: <20190514155911.6C0AC68B05@newverein.lst.de> <20190514160241.9EAC768C7B@newverein.lst.de> <20190515093141.41016b11@blackhole.lan> <20190516154820.GA10431@lst.de> <20190516164859.GB10431@lst.de> <20190517072738.deohh5fly4jxms7k@flea> Organization: LST e.V. X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 May 2019 09:27:38 +0200 Maxime Ripard wrote: > On Thu, May 16, 2019 at 06:48:59PM +0200, Torsten Duwe wrote: > > On Thu, May 16, 2019 at 09:06:41AM -0700, Vasily Khoruzhick wrote: > > > > > > Driver can talk to the panel over AUX channel only after t1+t3, > > > t1 is up to 10ms, t3 is up to 200ms. > > > > This is after power-on. The boot loader needs to deal with this. > > The bootloader can deal with it, but the kernel will also need to. The > bootloader might not be doing this because it's not been updated, the > regulator might have been disabled between the time the kernel was > started and the time the bridge driver probes, etc. No, you cannot practically switch off this voltage. It supports _all_ the devices I mentioned. In fact, the PMIC needs to enable it initially, and then it takes some time before the SoC can access the MMC and read the SPL from it, just because of exactly these 3.3V. Then the boot loader starts, and later the eDP bridge gets initialised. In *theory*, albeit a very daring one, I could imagine a very deep sleep mode that can only be ended by pressing the power button, which should still work without DCDC1. Only then, a description of the panel would be required. But I probably missed something and even this does not work. So for all current practical purposes, we can assume the Teres-I panel to be powered properly and providing valid EDID; nothing to worry about in software. HTH, Torsten