Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3454379lqp; Tue, 26 Mar 2024 09:30:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNIALevotppBRyZPlku/bg6umcwhvs8gMNW+kMo+ram1Q1Mgeav3v+d7ciw7qJfaD+oRAdx6XuT5Vxnv/P2aE0XhjBfE6d0AbHNpAOeA== X-Google-Smtp-Source: AGHT+IGARUbB8C5cn3VOcCzdpVWYZ9V3A/EbgywBUafnp4k/7Ejp16FOWaq2SNbsCz0Y6KNkq5B6 X-Received: by 2002:a17:902:e882:b0:1e0:b28c:ab with SMTP id w2-20020a170902e88200b001e0b28c00abmr1850621plg.13.1711470630338; Tue, 26 Mar 2024 09:30:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711470630; cv=pass; d=google.com; s=arc-20160816; b=G0uhFgnJVwLdOuyf+2sxgECJTTktC7CwCl7p2ExDd/kIyp/dFC2H/aAYzmKAQ0VxW9 JUnn4afObdufYl3zlBnMS8c20TzKw1WrqOFg2r233L7ZP/3/jkkeJN3vzQpknu6+l+IU /YhvlT8WDh1CQtOjqmyDXgPfnILe4oDGkK8VGvru5+jeV4Nag48nhHfYsPx9/hMiolqc lERq4MFiNtO2eAoM5ZVkS3LmJ5ULQd9z5jJVxGvUL3SbHdw18Pp/RxULDl131qbJMXoD 1QLLP/1vUlsYPZnLo2a+lEt0Hq7YB75naacj12PzjVmKG4pQQg4BY4ViScwTB3Tjj9Zk 6ozQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=RmYml7XwTSu6fSdoWdCFzUtOiKillgd8hTYBjXtprsw=; fh=5/lQOR7r8Ck3BuCEedTmMI8LwJogFIXUogeiYwjvopw=; b=BOoYmE1IbH3kRutbLoL9ZV+SkGhbrunAj6P1aDPos9A7baMvNFQ1L0a8cILiWcVYTc THxNCvosqZiprqiFOuBdfsM5CgOWL3svrTSG8mO2XAB2izaF//8XTPWYmKr42+CrAie0 Ebx/0n3DVLvDiVMLQNispjFguqcQpDRIUI5qmRrmn0j3DGFrgk40DvffTvLxkXDSx6AT CWlX27HkGE2k6ARWPzplCSRonwg0zcNZ+8ZYzOIE0XGyn9b+0fPD1IbyKKQ7Ty8/JnX3 rbQMF1ltpIAYHQxyUU2giipnk/oPTsfeAXsZnFq9oWf3rToJnqdWyghK8uirlXE51Brb gpAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=C7r5zL3w; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-119454-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o6-20020a170902778600b001e0d095ec82si2956561pll.380.2024.03.26.09.30.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 09:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119454-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=C7r5zL3w; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-119454-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119454-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C7731320430 for ; Tue, 26 Mar 2024 16:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0985813CC4C; Tue, 26 Mar 2024 16:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="C7r5zL3w" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 3D2B613C9D6; Tue, 26 Mar 2024 16:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711470518; cv=none; b=C7vNPWsAddcPraWf3Ci2lOj2vi6hduKAGm2BazEBG5D54NwS/jNVT8G9c7q8O0RuysXkaHQHCezmGtvo+qFUvJfir4Olrv8APZi8ovlftyhYhTwWpLDOiEDik10tNZl+qbcVpX+xhNUWmsrojzexG3Bxe4o4JTyb2tSdWUtlog4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711470518; c=relaxed/simple; bh=cnfca3Jmjldq/unKmKoyHtdHACTokkYBtkSCRfoj6RI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cYpc895YZqMD0jdJRii3q38XJTK+c72gH4UifX5DlviVYT8VxwVcs/d3jrNlGZjKTGdBoXMio7rlmb8rvYqJuQwoh4FpaNf69cWp9drw7NjTP9e3LvPlgYlIdEaXV6fP18cz94sw51fUETCBWpAN5KyoKoZd1h53r73sr8Tia+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=C7r5zL3w; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id E42512000C; Tue, 26 Mar 2024 16:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1711470514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RmYml7XwTSu6fSdoWdCFzUtOiKillgd8hTYBjXtprsw=; b=C7r5zL3wlRU0TVIuEGVlJO4Pv0QsFT5fakKDCEjP6XGPbIwjk6RYd6fbmAClmIOKNTZ1QO cYvYe0+AcvGmTER3z5TCBwwQXV0i/UnTeK/JFr1Pe4ax56GV08FdtfBvQaS9K8+u9Q9Y+B Qy/YiaRYIRiih9ZlhTp47GDNykIiw1bhCHwMBJVjww0+KJ6Q5nfDBMbJcFYbRnccUYY6wR hmp2k+JdE4czP514d91u1bn5IP6i1agR4qZ0yNOPp4Wg0p2CIw6DF5hho12/0ivIr/A+HB VEARt9ItnNWt3W7UjrjNZA7DjaucaKzPmLAmkcNf5ubMfvAThQsAVsdwE8XKpg== From: Luca Ceresoli Date: Tue, 26 Mar 2024 17:28:11 +0100 Subject: [PATCH 1/4] dt-bindings: display: bridge: add the Hot-plug MIPI DSI connector 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240326-hotplug-drm-bridge-v1-1-4b51b5eb75d5@bootlin.com> References: <20240326-hotplug-drm-bridge-v1-0-4b51b5eb75d5@bootlin.com> In-Reply-To: <20240326-hotplug-drm-bridge-v1-0-4b51b5eb75d5@bootlin.com> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Paul Kocialkowski , =?utf-8?q?Herv=C3=A9_Codina?= , Thomas Petazzoni , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Kocialkowski , Luca Ceresoli X-Mailer: b4 0.13.0 X-GND-Sasl: luca.ceresoli@bootlin.com 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 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + The end of the fixed part of the MIPI DSI bus (terminating at the + hotplug connector). The remote-endpoint sub-node must point to + the previous component of the video pipeline. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + The start of the removable part of the MIPI DSI bus (starting + from the hotplug connector). The remote-endpoint sub-node must + point to the next component of the video pipeline. + + required: + - port@0 + - port@1 + +required: + - compatible + - ports + +additionalProperties: false + +examples: + - | + hotplug-video-connector { + compatible = "hotplug-video-connector-dsi"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + hotplug_connector_in: endpoint { + remote-endpoint = <&previous_bridge_out>; + }; + }; + + port@1 { + reg = <1>; + + hotplug_connector_out: endpoint { + remote-endpoint = <&next_bridge_in>; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index aa3b947fb080..e1affd13e30b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6716,6 +6716,11 @@ T: git git://anongit.freedesktop.org/drm/drm-misc F: Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml F: drivers/gpu/drm/panel/panel-himax-hx8394.c +DRM DRIVER FOR HOTPLUG VIDEO CONNECTOR BRIDGE +M: Luca Ceresoli +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/hotplug-video-connector-dsi.yaml + DRM DRIVER FOR HX8357D PANELS S: Orphan T: git git://anongit.freedesktop.org/drm/drm-misc -- 2.34.1