From patchwork Tue Jul 2 12:22:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13719556 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 DFE4CC3064D for ; Tue, 2 Jul 2024 12:24:21 +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=J/aR3A7MOkzguZW3U4qBWeJoiueg0f7b/nvINDQShAs=; b=RaCsNpHLG4h+xB GNeciFHirN7mWA1gytm/fDVkNoJct2YaYa8DYZPFJtj0CH+F1R1lPziWBDLSrsUbUUhS30VIzOPVe IHy8NGS8Kgp+Lw8SwLGMkQYKemGCERkPIn/+tpPjSeO68l8X2KDymuWKFrR8Kv2Fu0g1np9DzNtyT xIGsytOqnnEE6nSzHBnvpCHwH3rqJAkCyy6oixRb+3XNNMvfMz3Kwf3PbbgHnhMJLC9j/zuWLqZ8u ETDfPO1otEHji/kpdahQzQxaNVZLFzlpSbEgwTl8E0sV/rhDc2Cr8qjcThTuE82H3+De5zz8Xyh8U 6O3V7Lf70wwuBNDgC0UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcYX-00000006f3V-2VPo; Tue, 02 Jul 2024 12:24:21 +0000 Received: from mail-vi1eur03on2062b.outbound.protection.outlook.com ([2a01:111:f403:260c::62b] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcYU-00000006f1L-28EY; Tue, 02 Jul 2024 12:24:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OhtG1svESeKV9GNZIe4ULWjucGG3ZxhbtwaE9t3kFmJ3uPbnI1Bxxjg5RyG50zCxZXE/JY0eWoeIHyibjP1nEZmiBUOruJ/qlBERwnUEOUPlTiY2n/Go/4vFGGOZdbMxq5rbseZlRNOrrkJTxvJjMIB5F9a7JIWKwCjIRkDOV8QIWio6cT3351nDgMIgeLyRalmKJLBm1M0htmz16GnCFGgjuDffOhRGK/iwiS3nL7Icc105WqnDV6cnxm4mSOuKWnqUt6jo++Ip2NcnMORpjnOpzr6PrxeeASkE+wDuO6xD9P8q0KcOQsHN7qkzuiZJJnkbaD1XN1awdeZm6RdmLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=roWjBXpqQ9CSbQWBEY7CJj8qxVM/h3pWvr7OeyIVX8E=; b=MdQ3OzO4z0dKC8fVhiyS6gVCJP/rmfWzYTJ3k7th3INUNmZ5NqMEVETb8SvZOVLHcxqgWh4JLMcam/4hxd9epMBJXD1LUnKNOdyfPFQt9e8bLKPiLCFTar34VNxQbR9orlt3m/MjObIh5Zuu5e+kzRS+9op4UoQplUJwCnXPSVN/2zyoeRFoQmH8ddWZT5HyyBAfKKirMCeInp95jBKHaG9H79jbQ5YcjEMOSiVsqEzgGqwyl7mQfkHqNQHuLVIulrE7chnROBvEIuw6XQGCLYSS8zXLmkwIfyoDsjwZXV9/5hM2cEuleDwVzJWuA4ruOKE2LjYydoMJ3tgWJieT2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=roWjBXpqQ9CSbQWBEY7CJj8qxVM/h3pWvr7OeyIVX8E=; b=k07n8/elEU2/7lMIXiKMy4qnbY8iHgCnVNc2Kn4FxUKXcpwvyMBVrvSI8wADRjn3cNHwQB1CW88Jg76BH8qJgHdekDarCg8JoaHPpkdmT+Ih2i5cUkwysBqp/CD6pfk3UqA1L4+vjuXTY9Zhc2mBT9LhgzUVbvBVGY2EAxfIhgg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) by AM7PR04MB6870.eurprd04.prod.outlook.com (2603:10a6:20b:107::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33; Tue, 2 Jul 2024 12:24:12 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%4]) with mapi id 15.20.7719.028; Tue, 2 Jul 2024 12:24:12 +0000 From: Sandor Yu To: dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, mripard@kernel.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, sam@ravnborg.org, Krzysztof Kozlowski Subject: [PATCH v16 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Tue, 2 Jul 2024 20:22:35 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM7PR04MB6870:EE_ X-MS-Office365-Filtering-Correlation-Id: 63fad24f-b517-4724-05af-08dc9a91e16e X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: dX3/iUd3kjvGScWo6jbvFeyqXsmGIz1iLvm445SCepJSxuRouRb2rMEGX5Tk+tV71bQl5vPDCzApTUNUV1vNFEjHBDXKCcRcbyA6Y7L0ofioQ8Yby2iyePfwP37826CBWEf1x6NUFfUVyRi2D51WpAWwAJ1BkRUtvzwGp2u/X8tXrOAhz2mEhmdcv02iWuZjivebSmmDMHBG25be3Q8ZcxSdgd+6rna3Gmn1xm31M/C2J5vr5kF4hDYGirVS2NkeDUiFBJ4FPh0Zt644/VEWXznZmaxGNCxPFphWSqbeRBFilqBU4pMqDN+epFnLDR0KWV8yYSVKpXBdz+60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X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9448.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(1800799024)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +UD12Q3E8dsWvdDw+klw6asEZlA7m9hIBzzxnxQNi/obOgHxplbhrzoQmUk/RWCZZqKF6JquxpknjL/mf5r6kG0WV1dvVXctQR89pkc4JKt+zJnGMESR49gP59sGfdssuxgXq347AwdA3xJI/H0mwWAKnR68HQR2CfWBq93lPu/RMciZ1lwTBhoXMT8jWQIDnDyCrL+8lo+q0dxcuogzpB074t2g1+6+XK13uYxG7fl3zajRDDwNYjM0eyV9jaQjMEqgTO1+LjMk+l/xJ90vh95bqJrHdijGviFa1ZW7TFYD3CdPoRjjLLOHDPGfWjdzlKOvLIPJHyVpGud4SKJbYVy1Vc7vDDqGk/V3OFLTZnCBNOWsfKE9OM/sngwES1tWlMTqWjPrpOozhga/vCmxfJdFJgPkx3kUceqJWpn4+MRrGL0BpQaIsJDGqKuEBMS2SCXVqRnvY7UeXWrhcA1ZgBYtIkzZrXZSzdiBhzymFE6cqMKDepmlcqgVDRwDDIBAITZBWvhU2Vw2Rf7qM3/lhhMkJbpWPvMadBX5x/ACB7NjOJRgIXgeXpIGlLxxhUL2tTyGdrPs/9UA4voTow0OA77Uh++1S9mXykFRW/5o6I8aUS6yDofl3XVW+illFPohxSOyfmCmgWmuBRJZ1nowqs2ycRbgbOEKpoXtfEwFLEgOqHnJyEn5qnC3C8qo+8XvBG/1qg7iBg/feCUhDmSUmx7tzJtGi9XNwSoIegssv0iZyCbGbDINLCAk6SV0UmGoQqtTLA0jbZ66wQOBOmtNgGJsV2GMb9ZsUAKssiendN0mf+N+M5HK800w++U/rHHe3Of1m0nl23posCvw18M29wdRYjl8jxux8eTriEqgvWi7k1oRyNXrM58lZqI8omEYtAE7FPLB6RmmacMBw+I2PKKT9i+MY+b7290KaAhq0Rt6sdNe+FHN+42u/yUbw6BDp6tQr8UJtWSLEtQ0JVXNVbutZq5kCmUuWchxvR5dUm1MwmxeCiXlBxJAKQdzq6pqGg6BSyC/9YZm+7zK5dF1zk+XejQCWToQ2H4eH3hCP1gH1x81Z+bByh7fcUhmCBW91CnhDETitkbQjJJ8gDVnh0kA/ioADKwfq2V8hlWYWh8PF37odOIfLfBQHpyj4RRWNclZ706BiZZCAxBNXtCvQKdt7dAstu5LwIukmVpihHFEAog92eLEsWT861w1tVQLxy907aTrOikfNAv/zSiAOudOA1Ha7aa4cW1xWL3sV6rDIPRRgkwZd/cTRzxxxl6V297DiM7ytkzPdGtulInVpAt/7HefEVBMOLkClp1Z7MWnPemZFn1Y8Qbu5MokG9+wCSjXyrDkHpnUO5Jfhf8gis/QxvtQ2RYX72xrm9bnFFzn0ZoR/FNeNyGiIerYDB4RXJW/R7n6L+iGf0ZJXl/Hvx5WCQkbmuWDIY9p57+CEUDmyfK+NEOXGLNS/PT3jh9d8hXzjACi5HtpoEDX6ln2Aztv/i65dKnDAwaZhx4ke/2puQFrRt6jkpKHUgprMuZa/R11pexJv+yRcTNsikZubPWyNciVPlg0w2t0AnqwVENBGXicah+1jWT0+yTq4yI3 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63fad24f-b517-4724-05af-08dc9a91e16e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2024 12:24:12.4705 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tgsEqgOl9D8NKqBvbwbfbgG9iUrBoxaS2mw3RMAAEbQYqq//9n2stL3Z5+4Z2DPtGdUnfDP/e7WszJQc5f7mEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_052418_574859_30F63D40 X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v16: *No change .../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 000000000000..8eff6c24fb87 --- /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>; + }; + }; + }; + };