Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1979427yba; Fri, 17 May 2019 08:28:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZX6+r4AaqXbxea/DqaorJKbnqMLZ7Dpu6NRzmz8sWaL5eXdn5DYWWi3WDhuk33m9179b4 X-Received: by 2002:a17:902:8c85:: with SMTP id t5mr57770122plo.23.1558106902208; Fri, 17 May 2019 08:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558106902; cv=none; d=google.com; s=arc-20160816; b=m5DglZXi206zQV8AToc/JrVVB/6jJcaCHcuJoKKfEBP20d4S99jNiqL0lMENGGIPbb 614zcxGUEEHw3LP7uG+0S2b1FIUFDX4cpVZxRPXLzUm2MJqrqEg/0sgEizjs2BdI5VWA C5yWiCoCdl6aBkgKmBdfRe5+peuDgQpkQ7Hp25FXclS589a5fzCrF9IJycR8Cc5AsIab PeKk9HF9sgk7mziORFDTFEFwDdSQMqH2zn70P95lbNMF63s8b6nFx0innKuoFrd0P7P0 G/DBXRDKZzcwy9q5mK2HcM2CdofCemxIVIJhmnUN4+A4Mqbc5F+9EUADpY75F6CK6buq ZRrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=xu5A8L7ffk/VuZGGKLFuV6FJUYoNh1BlyhIBaFYJKc8=; b=V6XCkx0OW3f9rIMNnA3xSxpF8fKJ8zFHz5Z/FIheD2pTKGNuZQc1RPl9yejkNKcg9m dFF23iy5cCv7PIb7gHdgR/drnPBuBXerD0o9xkk82zIYmia/mNuSKX9UU8F6k/i2BJNG ah38y4ThfpjvT9N5R0WT5IxF8Ejz8OV/umjE61bdwvozK1uffbllPiGzY/uprTRCuXL5 swf8+PoQUz43pAcBq+YIRmgymv6Akg3LQAXQtA+RAauHUmOmD1g14bwCtiRSgPME2los N+HoXx7PAJwFBano7IyWJHumee3i5/trDNbmL6xomjg1wrHG55+u9PQE4cUMyHyeYToj aAzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="fnGDVA/C"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn12si8741133plb.349.2019.05.17.08.27.57; Fri, 17 May 2019 08:28:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="fnGDVA/C"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729259AbfEQP0X (ORCPT + 99 others); Fri, 17 May 2019 11:26:23 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:37760 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729244AbfEQP0U (ORCPT ); Fri, 17 May 2019 11:26:20 -0400 Received: by mail-oi1-f193.google.com with SMTP id f4so5455498oib.4; Fri, 17 May 2019 08:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xu5A8L7ffk/VuZGGKLFuV6FJUYoNh1BlyhIBaFYJKc8=; b=fnGDVA/CPKgszzyvVNGPqdLlo3j4aBFjTJaRyaTzUsUqqtk3Ma/fdvvR6u0jV1QpnS ODbWVtFHuGlSkV64ydsIhDYXqWgNvxd9hUKbNVi5azAzpVFWM1JIDuYaGNdd8Pf7kLvX gOWTKjEWmmd5+7p/9sWiB9SWvYBGUPrXCEKwk5+wh97ypDgkeA/yPNjXzolAz6em//4Y QpgLVf7kpkbMl5b/Ilzqoh78hJdNKJDZRf2yAEaDS8wriC7brnX2Mbko/37I/M5hGoS6 H4iTDp7tO94GqQ+BaRhwoGNj18Nk/9lxuceTbcsD1wfLtP0skneXJODVFpDmJzqZhHFJ vlyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xu5A8L7ffk/VuZGGKLFuV6FJUYoNh1BlyhIBaFYJKc8=; b=L2vOs/Mci6avbkPZqtCdNGOWtw0dp/SMpg8KYbnR/mnbrczCUe8LZKDZ3mzFFGSiIv Z/uyz1d7PrAzurzBGsHVUsEqlre/evS6bEZSqmuvFZSZwPcc47LPWMdzadK75P3RrTa6 R4je9/fjk7jeQCu/qJwnE+am6BH2vm6amJ3ETTEwfsNMOXK6q4QhSlfe5F9VbKExClMU FlO7rlcbCWbTZaFQCCxNrGGBqQ2S3zLUpnpBfOwPW+4kILJm0C7mwouzkMUCPdUU65Be Y3nawfFA0AK9VN8+HYpd4FJBEpNT6jeVEd3P1ZCDTiGwhjPVmoX35DQLySqQtkSElWow 3Srw== X-Gm-Message-State: APjAAAUdBjeRpAaahpzeO0aRzinFFalmv5LXEMx7Rqb3pD2gVWnaeXWE 13thMmbkpfJ1aWlbzd49oKg1GgZV64aGYXCvF9Y= X-Received: by 2002:aca:38d4:: with SMTP id f203mr5209080oia.88.1558106779678; Fri, 17 May 2019 08:26:19 -0700 (PDT) MIME-Version: 1.0 References: <20190514160241.9EAC768C7B@newverein.lst.de> <20190515093141.41016b11@blackhole.lan> <20190516154820.GA10431@lst.de> <20190516164859.GB10431@lst.de> <20190517072738.deohh5fly4jxms7k@flea> <20190517101353.3e86d696@blackhole.lan> <20190517090845.oujs33nplbaxcyun@flea> <20190517094708.GA16858@lst.de> In-Reply-To: <20190517094708.GA16858@lst.de> From: Vasily Khoruzhick Date: Fri, 17 May 2019 08:25:53 -0700 Message-ID: Subject: Re: [PATCH 4/4] arm64: DTS: allwinner: a64: enable ANX6345 bridge on Teres-I To: Torsten Duwe Cc: Maxime Ripard , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 17, 2019 at 2:47 AM Torsten Duwe wrote: > > On Fri, May 17, 2019 at 11:08:45AM +0200, Maxime Ripard wrote: > > > > > > 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. > > > > You're creating a generic binding for all the users of that bridge, > > while considering only the specific case of the Teres-I. > > All I'm saying is that _this_ usage is also valid. Nothing keeps other > users from defining the output panel; on the contrary: the driver at hand > already considers an _optional_ panel and handles it, conditionally. So > driver and binding spec are 100% in sync here. Well, endpoint is not necessarily a panel. It can be another bridge or connector - that's why panel can be optional in driver. But it don't think that you can just omit an endpoint. > This is much more straightforward than requiring an output and making up > some dummy code and params because it cannot reasonably be handled. > (Remember, if there is an output, the driver will make calls to the > "attached device" driver.) They aren't dummy. Moreover you have to attach backlight somewhere (to panel) so it can be disabled when output is disabled. Try 'xrandr --output eDP-1 --off' on teres with your current code and see that backlight stays on. > > Torsten >