From patchwork Wed Mar 6 10:16:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13583944 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3C8B1C54E41 for ; Wed, 6 Mar 2024 11:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QDzp43LFUfVBilmxZoW8E6mHN4qdPvsbq7gEG1FLZqw=; b=muTSuRdxLiUwPj 7Sci9qnvBcaEm+2ayc7Rvst1h0Ij7SWPgIY/UMScz8S+r3A7S0PeV7DgK7YKN1XOzIgVB38pEbq7x eROZrPfrW5HQcy6lyK7kO+ADU/toSA4PKj2QmUzke77Y+ZLwlnwILGU3EEVYc692dmLCvm/aT04L/ VTt9NE0osaEEVj7Vm6bEdwUmU0nLhfUVZvVYFYDzsuFu1FM3tS5pd43r44BtCEMBASBDD3zWxvJYp GVitn/2RpBlT+K2vTTYTBZruY+bvJava99YHgkwLR6+sBkeG23GHPDOFbHzzEggAEjig5CCri8iZ1 j1OBCaROf8AeQZwthgpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhpKt-000000000ax-29VN; Wed, 06 Mar 2024 11:21:23 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhoKW-0000000HLl5-1b6j; Wed, 06 Mar 2024 10:17:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1709720216; x=1741256216; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SYXuJLH9FFcXEVhHyLPfYAcOMpPiLaLB8rAER9c/HTM=; b=PqICuD9+5ZVEdkONaEefVZBioBLjXD/bzGXLTMIStXSNxygI5dxtuSzU pA/gYbMhx1OdmzmmfmmHyYlL24qNN73a5LGqUxV6PNSqaIARZVRPlu/6f sGidIKeuSIrr8HOP3/2aOL0w7+BJMwK/SGu7KoFM9SRfFImIyeOhh6uN2 aVrIdlVAc0L/mPfFLFwpP3H/WuiYAhAnPb6jsBmwyZPigCeRfUWFNI+UO iExIgtkRrMUO2HWGgDuUPzzfeEmi3/hWKtviajAaNd1seNXtedhX141BG ahl8uz6bv4+aRUph55+7bmWDRNhEf+F4wOytEiG9lJUhKyHItACKnqws9 Q==; X-IronPort-AV: E=Sophos;i="6.06,208,1705359600"; d="scan'208";a="35760900" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 06 Mar 2024 11:16:55 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F3FC3170271; Wed, 6 Mar 2024 11:16:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1709720211; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=SYXuJLH9FFcXEVhHyLPfYAcOMpPiLaLB8rAER9c/HTM=; b=rYhZgUQ3x/SFTNW52NjWbD5oKJS9QFl2l4oHmuNiMrbMPKMVrvbw+WcgSNFTzN6K24zCwN J2+oOT3KuHyqguogvZyocc21FAPDSgOTG7/dmIkEGbEoh4pe7o8O9WqfuCqv0yvYAf4BId dI93sJxQUakxTETPqOZSe1fea5G2DRvoWc5ej5EbhDHMJdnxSJlizrQjMe6DDN4yPb9WtW tFOnqbHlsY37DtoBMz6gDnwPHn+6QWpc7ODKa25bS6c63i5sffuVHwJf0gCAt4bd9WX6As WlWQZq/RdRrcaCLNqqO5vMZNrV9yZYsmTd5fnj7QGDhqrynItaCMwNiZrR52Wg== From: Alexander Stein 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 , Vinod Koul , Kishon Vijay Abraham I , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sandor Yu Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Krzysztof Kozlowski Subject: [PATCH v15 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Wed, 6 Mar 2024 11:16:20 +0100 Message-Id: <20240306101625.795732-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240306101625.795732-1-alexander.stein@ew.tq-group.com> References: <20240306101625.795732-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_021657_037251_870CE88A X-CRM114-Status: GOOD ( 11.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Sandor Yu Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- .../display/bridge/cdns,mhdp8501.yaml | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml new file mode 100644 index 0000000000000..8eff6c24fb87f --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml @@ -0,0 +1,104 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp8501.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence MHDP8501 DP/HDMI bridge + +maintainers: + - Sandor Yu + +description: + Cadence MHDP8501 DisplayPort/HDMI interface. + +properties: + compatible: + enum: + - fsl,imx8mq-mhdp8501 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: MHDP8501 DP/HDMI APB clock. + + phys: + maxItems: 1 + description: + phandle to the DP/HDMI PHY + + interrupts: + items: + - description: Hotplug cable plugin. + - description: Hotplug cable plugout. + + interrupt-names: + items: + - const: plug_in + - const: plug_out + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Input port from display controller output. + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Output port to DisplayPort or HDMI connector. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - clocks + - interrupts + - interrupt-names + - phys + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + mhdp: display-bridge@32c00000 { + compatible = "fsl,imx8mq-mhdp8501"; + reg = <0x32c00000 0x100000>; + interrupts = , + ; + interrupt-names = "plug_in", "plug_out"; + clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + phys = <&mdhp_phy>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mhdp_in: endpoint { + remote-endpoint = <&dcss_out>; + }; + }; + + port@1 { + reg = <1>; + + mhdp_out: endpoint { + remote-endpoint = <&dp_connector>; + }; + }; + }; + };