From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2AF9C433E1 for ; Thu, 28 May 2020 19:48:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B77512088E for ; Thu, 28 May 2020 19:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590695325; bh=D2r1sFVCo87uGvflG87lx9zXVSyz6xCgbRu8Nf53FjY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=WeH+9d5mXPtzmiPnN4cM1R2eDIznkLupPxO5WIK6hjBbTbzRGNA3YxS+qbu/Gi7Ld z2S1u2WWPvt5Ew+mf3E8zLtqV2/hcM8CagYgqADMUOmIUHbcXZ+Jo2weKdqqsxYwBf fPoC1FiQD2ZnCRwi/tYXyxwpnM0I3FJw7XvVHiQg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406792AbgE1Tsp (ORCPT ); Thu, 28 May 2020 15:48:45 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:45776 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406780AbgE1Tsi (ORCPT ); Thu, 28 May 2020 15:48:38 -0400 Received: by mail-il1-f195.google.com with SMTP id 9so68670ilg.12; Thu, 28 May 2020 12:48:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Go6xO5WoC3zEQRJwVmH9bUe++RxJSEnlCwIRvUl4+dQ=; b=fLOPCfN3UPdZMn+WVDutvbQQORGLazd0mnxnXTvMwrVZAV4TnOpaNt5l77yLUiV9RN JhECmQLNPRjPNFYkeEk9q0G13S50XFZX1diPrsbMiY3/1FfciCbw3rk6LGKTNTzpPSki awsZuuUE/uEC8BcgIYKS8wR7tawrzvqUy0oyRUdypEQZ9jL/hhVcw3l0jVSD1n/QBgmd rtPwOURwim2kSv9UiEj64EUbLMBW5UVbgA8XoHowAqgN7DTtaxz+9wfj5AfTIFrqHYHq qG/RefjXpH/u+LlaJ4wtodIU/wVFCEtYYCq/SbuAoI/cJeuL2MG6n4NNu3Q98Nl7NL1o RahA== X-Gm-Message-State: AOAM533O3x9SFUZGHx8D78aR0maXmHx7frBx0kI7AxQzTICZCQdnnAV3 fdvdx6N35jwIizqG2h3X/Q== X-Google-Smtp-Source: ABdhPJxdVc8I3c5Wd+1g7euGl5ed0EkKErorxTkquQmiCvhOLVCyVbgdKy+eSwMN7mVRv2h0Ec4qUQ== X-Received: by 2002:a92:c809:: with SMTP id v9mr4288575iln.209.1590695318014; Thu, 28 May 2020 12:48:38 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id y13sm2960819iob.51.2020.05.28.12.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 12:48:16 -0700 (PDT) Received: (nullmailer pid 568649 invoked by uid 1000); Thu, 28 May 2020 19:48:04 -0000 Date: Thu, 28 May 2020 13:48:04 -0600 From: Rob Herring To: Guido =?iso-8859-1?Q?G=FCnther?= Cc: Laurent Pinchart , David Airlie , Daniel Vetter , Shawn Guo , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrzej Hajda , Sam Ravnborg , Anson Huang , Leonard Crestez , Lucas Stach , Peng Fan , Robert Chiras , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 1/6] dt-bindings: display/bridge: Add binding for input mux bridge Message-ID: <20200528194804.GA541078@bogus> References: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 15, 2020 at 03:12:10PM +0200, Guido Günther wrote: > The bridge allows to select the input source via a mux controller. > > Signed-off-by: Guido Günther > --- > .../display/bridge/mux-input-bridge.yaml | 123 ++++++++++++++++++ > 1 file changed, 123 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/mux-input-bridge.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/mux-input-bridge.yaml b/Documentation/devicetree/bindings/display/bridge/mux-input-bridge.yaml > new file mode 100644 > index 000000000000..4029cf63ee5c > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/mux-input-bridge.yaml > @@ -0,0 +1,123 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/mux-input-bridge.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: DRM input source selection via multiplexer DRM is not a hardware thing. The graph binding is already designed to support muxing. Generally, multiple endpoints on an input node is a mux. So either the device with the input ports knows how to select the input, or you just need a mux-control property for the port to have some other device implement the control. You could do it like you have below. That would be appropriate if there's a separate h/w device controlling the muxing. Say for example some board level device controlled by i2c. Rob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55C78C433DF for ; Thu, 28 May 2020 19:48:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EF2C207D3 for ; Thu, 28 May 2020 19:48:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UIFaqu62" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2EF2C207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AsfxWTUGWbawCEAUA9r9I+mJibgDfIUSl8JiRgP8KS4=; b=UIFaqu62F88Pnk 1JKnZCEmjAzk5IEbbzu9dWFvLquShDChzdM7PMd+hbHT7l1Th4yR7rQTJMGzBaInNLfrp4DNPZeTr pzsDHA8XUYDR8sksK7fdyu8zjomsTh/iURrKvfL657SnPHW2fkK/KjR9dTeUEY2c/QlaFZ7fHp88U kmC5csi9RkCta4TQ46UpvVwPs0fSBvXaM/jdwR4VTvXEffM3s2kneUxBfC6Vt23peztGEs8osPzp7 8Qmen1EITjpe4kIgTJ30qlFfr2MsMW4e0aCmo1bqY5tORyyOH9yRys2cLDOhfaSigTgcvP+dzt+A0 RuV0HUScYWDcid+scM1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jeOWA-0004Vf-Ew; Thu, 28 May 2020 19:48:42 +0000 Received: from mail-il1-f196.google.com ([209.85.166.196]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jeOW6-0004Ue-Tw for linux-arm-kernel@lists.infradead.org; Thu, 28 May 2020 19:48:40 +0000 Received: by mail-il1-f196.google.com with SMTP id a14so144300ilk.2 for ; Thu, 28 May 2020 12:48:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Go6xO5WoC3zEQRJwVmH9bUe++RxJSEnlCwIRvUl4+dQ=; b=eD8Q5wyemmaHaOvvvKq4glXhRO7GcSkZlyl2qKGhnVQjvQdmDdRoQKKWJziT2LnJHS BmAL2QZczx3cvcWVvN2IGDrx3WbSnIM2m+f1Uaoe9NJJzkfYKgn82qshMznb4prPCs1t 3rUEl+xUE/wtufhu4chBEi0vm62TFTM9/HE9+1Daedf/NcLcpvREkJ7pO4HeWdBr1aPD 6vGsaJz1F1WnQaWofAjMo9KQnQ5Dsx01iSDVBRxkTXtDVEJvIPGpRdpTaX6d+Ms2pB19 FFBCmQzl2x16K57nRbwYGMhCk2bbcJLdCjfehrf55u+4HWvYtiOlbRyR/flAtTQ1Gb1j eYdw== X-Gm-Message-State: AOAM531n9XqYhmwlxgDYfSJMidXA66msC7mxt2zDQYI5Nt2DBijxWKLT z59SXpZnhD8LSAuRstmdHQ== X-Google-Smtp-Source: ABdhPJxdVc8I3c5Wd+1g7euGl5ed0EkKErorxTkquQmiCvhOLVCyVbgdKy+eSwMN7mVRv2h0Ec4qUQ== X-Received: by 2002:a92:c809:: with SMTP id v9mr4288575iln.209.1590695318014; Thu, 28 May 2020 12:48:38 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id y13sm2960819iob.51.2020.05.28.12.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 12:48:16 -0700 (PDT) Received: (nullmailer pid 568649 invoked by uid 1000); Thu, 28 May 2020 19:48:04 -0000 Date: Thu, 28 May 2020 13:48:04 -0600 From: Rob Herring To: Guido =?iso-8859-1?Q?G=FCnther?= Subject: Re: [RFC PATCH 1/6] dt-bindings: display/bridge: Add binding for input mux bridge Message-ID: <20200528194804.GA541078@bogus> References: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200528_124838_962982_FF23FAD1 X-CRM114-Status: GOOD ( 15.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , Pengutronix Kernel Team , Sam Ravnborg , Anson Huang , David Airlie , Shawn Guo , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , Daniel Vetter , Lucas Stach , Robert Chiras , Leonard Crestez , Fabio Estevam , linux-arm-kernel@lists.infradead.org, NXP Linux Team Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, May 15, 2020 at 03:12:10PM +0200, Guido G=FCnther wrote: > The bridge allows to select the input source via a mux controller. > = > Signed-off-by: Guido G=FCnther > --- > .../display/bridge/mux-input-bridge.yaml | 123 ++++++++++++++++++ > 1 file changed, 123 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/mux-= input-bridge.yaml > = > diff --git a/Documentation/devicetree/bindings/display/bridge/mux-input-b= ridge.yaml b/Documentation/devicetree/bindings/display/bridge/mux-input-bri= dge.yaml > new file mode 100644 > index 000000000000..4029cf63ee5c > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/mux-input-bridge.y= aml > @@ -0,0 +1,123 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/mux-input-bridge.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: DRM input source selection via multiplexer DRM is not a hardware thing. The graph binding is already designed to support muxing. Generally, = multiple endpoints on an input node is a mux. So either the device with = the input ports knows how to select the input, or you just need a = mux-control property for the port to have some other device implement = the control. You could do it like you have below. That would be appropriate if = there's a separate h/w device controlling the muxing. Say for example = some board level device controlled by i2c. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9DADC433E0 for ; Thu, 28 May 2020 19:48:39 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9EFA6207BC for ; Thu, 28 May 2020 19:48:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EFA6207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 151576E1F3; Thu, 28 May 2020 19:48:39 +0000 (UTC) Received: from mail-il1-f193.google.com (mail-il1-f193.google.com [209.85.166.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 94B9C6E1F3 for ; Thu, 28 May 2020 19:48:38 +0000 (UTC) Received: by mail-il1-f193.google.com with SMTP id d1so96952ila.8 for ; Thu, 28 May 2020 12:48:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Go6xO5WoC3zEQRJwVmH9bUe++RxJSEnlCwIRvUl4+dQ=; b=Gxf241y9rAnfkAw6YuP3JxlO981wL9LtiAP006k1QVc8GCZOLARZL5Bk+XQ9ifr/yQ b9UkUqL9pURA+XHp3EDV/JXgqa3CR4cRHnV1EgWPXYdMBh1P4R/k9A89vJ55ngftvJnX dDH8FtlcVG+wEFiuZOFZHdNp1RvLQaWNb51NELiN9DlADRyfs1lTP14b2bOhycX5WYgt kQbu2L2/N+PB1A5ZoB5Y7IFvAppld0I1pn0kiXHkzSVWrloLrgWf8NPtVttAEwnO4lJj VKVRxtnozD5lnmBA29+guE0iAQPgWnJnE5D2f0AWLWce9eVB4nV2s+EXFa4WWGEpYP+U bYsw== X-Gm-Message-State: AOAM532l72Ejoi4tNLKbHy1rRzvhd59dVInue2T/KLNcUfj4qWtaLCVZ 4xZnrR3c8w8FPPp1hgGDDg== X-Google-Smtp-Source: ABdhPJxdVc8I3c5Wd+1g7euGl5ed0EkKErorxTkquQmiCvhOLVCyVbgdKy+eSwMN7mVRv2h0Ec4qUQ== X-Received: by 2002:a92:c809:: with SMTP id v9mr4288575iln.209.1590695318014; Thu, 28 May 2020 12:48:38 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id y13sm2960819iob.51.2020.05.28.12.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 12:48:16 -0700 (PDT) Received: (nullmailer pid 568649 invoked by uid 1000); Thu, 28 May 2020 19:48:04 -0000 Date: Thu, 28 May 2020 13:48:04 -0600 From: Rob Herring To: Guido =?iso-8859-1?Q?G=FCnther?= Subject: Re: [RFC PATCH 1/6] dt-bindings: display/bridge: Add binding for input mux bridge Message-ID: <20200528194804.GA541078@bogus> References: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <14a44a664f40584ffa25c1764aab5ebf97809c71.1589548223.git.agx@sigxcpu.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , Sam Ravnborg , Anson Huang , David Airlie , Shawn Guo , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , Pengutronix Kernel Team , Robert Chiras , Leonard Crestez , linux-arm-kernel@lists.infradead.org, NXP Linux Team Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, May 15, 2020 at 03:12:10PM +0200, Guido G=FCnther wrote: > The bridge allows to select the input source via a mux controller. > = > Signed-off-by: Guido G=FCnther > --- > .../display/bridge/mux-input-bridge.yaml | 123 ++++++++++++++++++ > 1 file changed, 123 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/mux-= input-bridge.yaml > = > diff --git a/Documentation/devicetree/bindings/display/bridge/mux-input-b= ridge.yaml b/Documentation/devicetree/bindings/display/bridge/mux-input-bri= dge.yaml > new file mode 100644 > index 000000000000..4029cf63ee5c > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/mux-input-bridge.y= aml > @@ -0,0 +1,123 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/mux-input-bridge.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: DRM input source selection via multiplexer DRM is not a hardware thing. The graph binding is already designed to support muxing. Generally, = multiple endpoints on an input node is a mux. So either the device with = the input ports knows how to select the input, or you just need a = mux-control property for the port to have some other device implement = the control. You could do it like you have below. That would be appropriate if = there's a separate h/w device controlling the muxing. Say for example = some board level device controlled by i2c. Rob _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel