Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp152563lqo; Wed, 27 Mar 2024 09:14:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUV0+HoICRHB9KhRw22pOflcKMvJ0Hz4AWuNYP2CP8Ap6h5jz6Rzg3lpCIPSVnzx8ZQz+bam19SahzJdFY92G9cLBii4KZE2HFOfp63GA== X-Google-Smtp-Source: AGHT+IEDn0e8HQ+qhLesHceEP4vH9Dq8M2zbyv6VltJ4o6pzrFMJBfhj7cv4yJzGCLKjG6blM9H9 X-Received: by 2002:a17:906:54d:b0:a4e:b5b:2585 with SMTP id k13-20020a170906054d00b00a4e0b5b2585mr971818eja.13.1711556070391; Wed, 27 Mar 2024 09:14:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711556070; cv=pass; d=google.com; s=arc-20160816; b=CIHXc/EVgk+ZQR8rvQgIX1dfRQJvYFyBen4oB8FEwBiRDKZz2+ivPPu92kTLZs5Qbs UNjS7c+3KGAw77clOKmDNvehGhZU08HQMmWuBAaPnfRCVznrPbABvtnPf3MfhImWDpOq joY2Uiquq70gCAkH7OfzHwQ9IIvKMb1lwSiovM9HOQYrPdwXzSRxoLbfLSf3Yl8wswf8 nYIudj7aKqCvBUcSMGpF8rYbLu6rHphv0s9lTiS8TflkDUT3WWy2lHgVizCiEd8hk1IJ 8+qlupmwJGaeWgL4019T4KjOdaDdu64zEbcjVazjgNtGUqVhHidyK2kI2BIWTipvb4ZK 8/Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cKYMn/bOV4lWqCA1+5zLxryvJG4qJ5Jlu1J19L04Z4w=; fh=4UqiVX4KV/HXmq3INxaHUFLgtVptH5CU+xxmrYa48MA=; b=uAtJS6GxBw9biaT5aLhEz8lciCZVmV7BI+X8LcOy/NqPMGfT/fPnttslafwT28pS6S 8wzI4FtV/R5O5/MPde2QWPafFzmAeZAVz8tD+bYPfQKDpKe7rO51PHPCda/13Vw12uSD 8QBWD3xjq9wB4rtqARN/MMtParrfqFFb7HBkoe2HxMFc2fPpgVVQcEc4TRG6H+4qmMl7 5+MIipEGICib0sqICgS2gqXHoZFvDpItcGAzwnw+a7gaLb1yK4UaDTEu8FDL21DkvYMR WZhcMRQ9Bs49LFTZDaPGhPOCXYSLndN4j3TUAK+y3YX3dLsp8x9BFcp2bketEhzmxys+ buYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QfKe9Umm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w23-20020a170906b19700b00a4721de23fcsi4756237ejy.387.2024.03.27.09.14.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QfKe9Umm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 24F3E1F32B66 for ; Wed, 27 Mar 2024 16:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CDDA13B7AF; Wed, 27 Mar 2024 16:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QfKe9Umm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 936E712EBEE; Wed, 27 Mar 2024 16:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711555751; cv=none; b=q71nmb8lmwKrRpmVBtN0O/kgglyv4TashyrueNMX/FAqYcZFpge49Bg3AHgK6MD414XKB6kvbnWkfTHnsrKSl4RK0MsrwqRS2PG+RvLcYuN1RNJsLgHdl71deqEzmePM62++ixky8AdbaabSWxTexsiJszeiKiPVUwcCJAqIvY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711555751; c=relaxed/simple; bh=7T5BGCgr9wS3JyIXUuZj45o2W4RjyxGPRlRV3KjkiR4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h9kLJ6LFfWK47WXG3itkmVlvh8LxQUWZs6UZKWNSlQ3iSsb/RxjgMBmXng2Vvj86mceDib/skeQh0TC4Z1PWgWwRVfkkXsep502Qmddz1L5YpbaT/oBGjC0Do4bhzvRmSaErrFbxZUqwVMI5i0a4pDo9NZMaclQalCswJHI/QYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QfKe9Umm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1317C433F1; Wed, 27 Mar 2024 16:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711555751; bh=7T5BGCgr9wS3JyIXUuZj45o2W4RjyxGPRlRV3KjkiR4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QfKe9Ummb1Wuiv7L+kpncdWozSCKk+PB5D7rWUWkaFNAYfRZn+DbpcVO8s3vi7eib keLxWh1PKWe1ExQ5TlqVM3uIoz7SWDP//aVLfwNcdej7PmjfdMSr2s5N/8jacJDsFQ F0O7zMTBXtsW2CVAMdGb4b8792vbVzKZ1F6Mp9ah1dmHgaqsl7QjS139fzp+SmOVPA YJyXd7N01LS1PLAyLV35txUfhWcm44u/suRDKJuE0azWKWY+acumVfleERK4obiicW 76MqOyHrAFAzNK7zdJEFXasTxmGDMk9ZJ2j4UxXapOCz49IN/Ey6r/pc42SlIiXyVN M1cdgflipBJ8w== Date: Wed, 27 Mar 2024 11:09:08 -0500 From: Rob Herring To: Luca Ceresoli Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Krzysztof Kozlowski , Conor Dooley , Paul Kocialkowski , =?iso-8859-1?Q?Herv=E9?= Codina , Thomas Petazzoni , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Kocialkowski Subject: Re: [PATCH 1/4] dt-bindings: display: bridge: add the Hot-plug MIPI DSI connector Message-ID: <20240327160908.GA3460963-robh@kernel.org> References: <20240326-hotplug-drm-bridge-v1-0-4b51b5eb75d5@bootlin.com> <20240326-hotplug-drm-bridge-v1-1-4b51b5eb75d5@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240326-hotplug-drm-bridge-v1-1-4b51b5eb75d5@bootlin.com> On Tue, Mar 26, 2024 at 05:28:11PM +0100, Luca Ceresoli wrote: > Add bindings for a physical, hot-pluggable connector allowing the far end > of a MIPI DSI bus to be connected and disconnected at runtime. > > Signed-off-by: Luca Ceresoli > --- > .../bridge/hotplug-video-connector-dsi.yaml | 87 ++++++++++++++++++++++ > MAINTAINERS | 5 ++ > 2 files changed, 92 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/hotplug-video-connector-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/hotplug-video-connector-dsi.yaml > new file mode 100644 > index 000000000000..05beb8aa9ab4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/hotplug-video-connector-dsi.yaml > @@ -0,0 +1,87 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/hotplug-video-connector-dsi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Hot-pluggable connector on a MIPI DSI bus > + > +maintainers: > + - Luca Ceresoli > + > +description: > + A bridge representing a physical, hot-pluggable connector on a MIPI DSI > + video bus. The connector splits the video pipeline in a fixed part and a > + removable part. > + > + The fixed part of the video pipeline includes all components up to the > + display controller and 0 or more bridges. The removable part includes one > + or more bridges and any other components up to the panel. > + > + The removable part of the pipeline can be physically disconnected at any > + moment, making all of its components not usable anymore. The same or a > + different removable part of the pipeline can be reconnected later on. > + > + Note that the hotplug-video-connector does not describe video busses > + having native hotplug capabilities in the hardware, such as HDMI. > + > +properties: > + compatible: > + const: hotplug-video-connector-dsi Got a spec for this connector? How do I know if I have one or not? The problem here is what else is on this connector? GPIO controls, power rails, etc.? If this is some kind of standard connector, then we need to be able to remap everything on the connector not just DSI signals. And for that, it's not just DSI signals, so I'd say we would need some sort of generic graph remapping that the core graph code handles transparently. If it is not standard, then you don't need any remapping and can just use an overlay that connects the ports directly. Rob