Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp267385ybl; Tue, 10 Dec 2019 22:36:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyBe4LUxzxT3qR/G3MZvXusse8d8/skbG8xEP1ccD0PdI0BAd3vr2Y3UApGtTPPIEJyg20T X-Received: by 2002:a05:6830:1741:: with SMTP id 1mr1202799otz.295.1576046214479; Tue, 10 Dec 2019 22:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576046214; cv=none; d=google.com; s=arc-20160816; b=WR+5T6V0Lj1kLso2j83IjoWyovnRIpF4x+XjHPT6Loeq0+kCsdhf03INy+d9jyhikO YIL/ooyCS/bTwDtod0AgDj8HMOiOicqgsKnvp6EM03fzMU1qxXXVt3edEaOTjRoebwC8 OUVAKw4py24pmrOtQISyVKLdOFw5RDJ2t8275U0wXsxVNDesKkPJnpJyi1Ccc+ELi3Vb PJuYLWr+vUOL/vc1pQnavcha0BXVWT6hR7P9TTfQ6ctI1peaKEOVv8Z7XCJ159vU5v4t HhoRzgRvD/qD8PY5sEdwFpVVSxHRoHpE17M8IjHDmIabV2qZS0qIvVTrLIpX3Yvd5luV lWZA== 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=LnlhPhwrwhKWR1phS0Nm+X1oLAnw1Q6Ps2LzFwtjOXA=; b=VHvPjqqN2Tlkm0lNvdYoYbST8KTd6uB8cMLIMFfpjXtL/9Q2IpUm02fn3CqjhgHtbA PacaSIIFAVmFtonUt/JCAM+cbejk8FSuX3T9sn8FFMuYgRpPOhbwsblLrpIwX8ZQRoiU 40xuCjUOZgoiZza4KYwX/xGE+YjdeSAxTeZuZ/arDKaMVbwZxngqolXCXed/q0FDWApR x0Htny7KhkMTeVirqE6oacc0slbL8OILjca46LGZHJ8gP+QaXGFrM2skGE/25m5J0Sua Gu7b1GESKldP34Xx9o0mprxHemni5SYZ51MFxtBcbaw6FuM544LfWtnM6iK9uZMRGQTa xzpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iWKx872K; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si478939otq.137.2019.12.10.22.36.41; Tue, 10 Dec 2019 22:36:54 -0800 (PST) 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=@chromium.org header.s=google header.b=iWKx872K; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbfLKGe3 (ORCPT + 99 others); Wed, 11 Dec 2019 01:34:29 -0500 Received: from mail-il1-f196.google.com ([209.85.166.196]:45773 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbfLKGe3 (ORCPT ); Wed, 11 Dec 2019 01:34:29 -0500 Received: by mail-il1-f196.google.com with SMTP id p8so18419394iln.12 for ; Tue, 10 Dec 2019 22:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LnlhPhwrwhKWR1phS0Nm+X1oLAnw1Q6Ps2LzFwtjOXA=; b=iWKx872KPmJDhgFcf5COT7Op+IIuz8zU4qTC/GkfEPj+L4ny0kYCXvXcvnrF7slFtO tRTq8JfxBf+FgO4ZsVHcARsFtCGen0274loCE2qfu2jt8RQaJf4pniitusGBQ/Qk/+tW jxZRhZ6WiohSl8XkyFg4MVrs3mQIB4j7FmLHY= 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=LnlhPhwrwhKWR1phS0Nm+X1oLAnw1Q6Ps2LzFwtjOXA=; b=uCnNn3HwcFXXvsV22wQVa630FCf5oNmSX7UnXZggqV81mIzhrKPDYdrXqberFrqG1s aIPbqXbhIgsU3JE30u72srZV7tfLDYYH/jAknA4KChog9Rq0wqQPbJ20perc6MGhZq79 NbFDO9ExjyZIRtvcrNyNArI3kfivsMJPIV2Xdd2MlFQpRDbMuYWZ+oWjssk5muDms2Fc AelEjLALcepGe6gut+qpabmAq8REraz98bgU3ADG/HEs/FghzRX3UGzUUFcrb5g6ofPo WeXBG5v8kH3tDkUmTPQ30v6v7fF9nE7qlnduDQ2i6UR/BXLGlN2Ln+pdkL/Kca1elnyK w1Qg== X-Gm-Message-State: APjAAAV6AbMHQ82qJUBExJLQYf+e7Gtmb7Ai0uzYTeHodIcv9qc6rJQz wva83+uKYOQu5LUH43rMw6naLGm0lZh9iMRxhpW93A== X-Received: by 2002:a92:d610:: with SMTP id w16mr1456477ilm.283.1576046068601; Tue, 10 Dec 2019 22:34:28 -0800 (PST) MIME-Version: 1.0 References: <20191209145016.227784-1-hsinyi@chromium.org> <20191209145016.227784-4-hsinyi@chromium.org> <20191209145552.GD12841@pendragon.ideasonboard.com> <20191209153238.GE12841@pendragon.ideasonboard.com> In-Reply-To: <20191209153238.GE12841@pendragon.ideasonboard.com> From: Hsin-Yi Wang Date: Wed, 11 Dec 2019 14:34:02 +0800 Message-ID: Subject: Re: [PATCH RESEND 3/4] dt-bindings: drm/bridge: analogix-anx78xx: support bypass GPIO To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Nicolas Boichat , Devicetree List , lkml , Andrzej Hajda , Neil Armstrong , Jonas Karlman , Jernej Skrabec , Archit Taneja , Philipp Zabel , Enric Balletbo i Serra , Matthias Brugger , Russell King 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 Mon, Dec 9, 2019 at 11:32 PM Laurent Pinchart wrote: > Hi Laurent, > You may have used a proportional font when writing this, the | doesn't > align with anything using a fixed font. Do I assume correctly that the > hardware multiplexer is actually a demultiplexer with one input and two > outputs ? > +-----------+ > +---------+ +------+ /--> | HDMI | > | MT8173 | HDMI | -->| --/ | Connector | > | HDMI | ------> |--/ | +-----------+ > | Encoder | | ->| --\ +-----------+ +-----------+ > +---------+ +------+ \--> | ANX7688 | ---> | USB-C | > | Bridge | | Connector | > +-----------+ +-----------+ > Sorry for not noticing the font issue, this graph is correct. > > There's a hardware mux that takes mt8173 hdmi as input and has 2 > > output port: native hdmi and anx7688 bridge. > > If gpio is active, we would like it to go to HDMI. > > > > Previous approach is to make hardware mux a generic gpio mux bridge, > > but this is probably a very rare use case that is only for > > mt8173.(https://lore.kernel.org/lkml/57723AD2.8020806@codeaurora.org/) > > We merge the mux and anx7688 to a single bridge and leave this as an > > optional feature in this time. > > I think that's a better approach, at least at the DT level. The HDMI > demultiplexer should be represented as a DT node with 3 ports (one input > and two outputs) with a control GPIO. > I've resend the original gpio mux driver. So for anx7688 there's 1 input and 1 output. Thanks