Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp633ybi; Fri, 7 Jun 2019 03:00:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxN2HRrqa1pP5G5hhm+Bkt4OCr4jlE6jHbibAuuWvL7PBdxs0PO/Fw5fwABcMwowcY2IMUv X-Received: by 2002:a63:2d6:: with SMTP id 205mr2018915pgc.114.1559901656894; Fri, 07 Jun 2019 03:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559901656; cv=none; d=google.com; s=arc-20160816; b=zAsPVfBD4gH1/RXkxAQuRGFQY8pG/TG5Q2L5h4LjP/c0DIim8MhdQDk9GU+Xzoj4RC y8xx3H0gV2wq4HlTGJZ90vu0QXpRux3xVwT5+SG9uUAT19li/V6B++EzKMXzhBh9/Eqd m8tZLxGskNeMAMg2U8f/bOWELZQc+8cz7l9yThM8+jfnzsXlcRcUcT9jDXOpKivL47yM uUtxZpb4QmKYyTgVnx2ebMnupDOzlBMe5gOtbHpGUY94WKJnDfdsWswep+KZFj5HaPM0 JvfQ2/FFbjmVblrqAuW/YuSiYBuDMyiszHlhejVkWaLKRxWBeeLUKgmPYDXYiD/lr09G zG0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Q1AiEyEoOwA81o63cc6eeZzCc50z3LHxIWrxL/6ZamU=; b=kO4T0ln6MGpIcBd35or6YZRiw6fNgdrW0CPKsfkLv71bfiIXCpTTzRqkyvmn0bBn3V biQFp4AMfY/svGtOEexekb+BnAzUHzvumqjbrNVHZiilogeEoS/3gmMCuAn1oYaV336p 0uyLUNAMunj2uWzp+ghG1JIBqTlU4fWTyaq3ckQqewLcdv/XFlSl+fG/S4VF6wwcJw8t lxW8/dVu+0DMpBJnqePKz7BXMdDajINu8E9yjzcdYekiP5xgKgs4oH31ZnHzoiB1pbPh TBIFvKOXE4sUQuOSigVKhxLfymaDfc4HlDQaA+BOPuslgOurseg5DBGNjIDImBJHZWeV PeeQ== 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 3si1401151pli.12.2019.06.07.03.00.37; Fri, 07 Jun 2019 03:00:56 -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 S1728084AbfFGJlA (ORCPT + 99 others); Fri, 7 Jun 2019 05:41:00 -0400 Received: from verein.lst.de ([213.95.11.211]:55092 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbfFGJk7 (ORCPT ); Fri, 7 Jun 2019 05:40:59 -0400 Received: by newverein.lst.de (Postfix, from userid 2005) id 931BF68C65; Fri, 7 Jun 2019 11:40:30 +0200 (CEST) Date: Fri, 7 Jun 2019 11:40:30 +0200 From: Torsten Duwe To: Maxime Ripard Cc: Harald Geyer , Vasily Khoruzhick , Chen-Yu Tsai , Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Daniel Vetter , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , Greg Kroah-Hartman , Thomas Gleixner , dri-devel , devicetree , arm-linux , linux-kernel Subject: Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I Message-ID: <20190607094030.GA12373@lst.de> References: <20190604122150.29D6468B05@newverein.lst.de> <20190604122308.98D4868B20@newverein.lst.de> <20190605101317.GA9345@lst.de> <20190605120237.ekmytfxcwbjaqy3x@flea> <20190607062802.m5wslx3imiqooq5a@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607062802.m5wslx3imiqooq5a@flea> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 07, 2019 at 08:28:02AM +0200, Maxime Ripard wrote: > On Thu, Jun 06, 2019 at 03:59:27PM +0200, Harald Geyer wrote: > > > > If think valid compatible properties would be: > > compatible = "innolux,n116bge", "simple-panel"; > > compatible = "edp-connector", "simple-panel"; > > A connector isn't a panel. > > > compatible = "innolux,n116bge", "edp-connector", "simple-panel"; > > And the innolux,n116bge is certainly not a connector either. > > > compatible = "edp-connector", "innolux,n116bge", "simple-panel"; > > > > I can't make up my mind which one I prefere. However neither of these > > variants requires actually implmenting an edp-connector driver. > > No-one asked to do an edp-connector driver. You should use it in your > DT, but if you want to have some code in your driver that parses the > DT directly, I'm totally fine with that. I must admit I fail to understand what that extra node would be good for. Logically, the eDP far side is connected to the well-known n116bge. Inside the laptop case it might as well be a flat ribbon cable or soldered directly. In good intention, that's all I wanted to express in the DT. I don't know whether the relevant mechanical dimensions of the panel and the connector are standardised, so whether one could in theory assemble it with a different panel than the one it came with. OTOH, as I checked during the discussion with anarsoul, the panel's supply voltage is permanently connected to the main 3.3V rail. We already agreed that the eDP output port must not neccessarily be specified, this setup is a good example why: because the panel is always powered, the anx6345 can always pull valid EDID data from it so at this stage there's no need for any OS driver to reach beyond the bridge. IIRC even the backlight got switched off for the blank screen without. All I wanted to say is that "there's usually an n116bge behind it"; but this is mostly redundant. So, shall we just drop the output port specification (along with the panel node) in order to get one step further? > I guess you should describe why do you think it's "clear", because I'm > not sure this is obvious for everyone here. eDP allows to discover > which device is on the other side and its supported timings, just like > HDMI for example (or regular DP, for that matter). Would you think > it's clearly preferable to ship a DT with the DP/HDMI monitor > connected on the other side exposed as a panel as well? Well, as I wrote: "in good intention". That's the panel that comes with the kit but it is very well detected automatically, just like you describe. So, just leave it out? Torsten