Re: [PATCH 1/4] dt-bindings: display: bridge: add the Hot-plug MIPI DSI connector

From: Rob Herring
Date: Wed Mar 27 2024 - 12:14:28 EST


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 <luca.ceresoli@xxxxxxxxxxx>
> ---
> .../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 <luca.ceresoli@xxxxxxxxxxx>
> +
> +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