From patchwork Tue Feb 20 03:23:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13563312 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4D71FC48BC4 for ; Tue, 20 Feb 2024 03:25:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 87B6810E0C7; Tue, 20 Feb 2024 03:25:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="C+d/h1PU"; dkim-atps=neutral Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2049.outbound.protection.outlook.com [40.107.104.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9A8A510E067 for ; Tue, 20 Feb 2024 03:25:26 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NU5QYx8lfYXuBYJpOM3EXYBAQ5SHlQOH0pRU59VhzW5SrxzEXgOhrmQS/AKSKT7DYWhiLCy5mvDmxxJNq5IJAsrtpvk7329C2S2kjueZ+HsoW76BszLoi3ECx3Dv89+fPr8U/8sl27/m/H5QdfL3t+424JcfIL4V9izA+KoNshUrPLmwC+w4ct+lbEPvdkzlQMvlcL5wjqo4UQAQQQR3xK7bBvP46INUrOJ4wp9X+b5rf9jma7N7N8hBpIqZwnmrnZOY+0TnJLPmph1WrWKIChntk3pfi/MFiS8pcU0qlNzM1sm9ESPi2WdEuxeho9lhNVbmO/eGGIvix8zTrLAO3w== 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=tUlBDMyhDnXg+HJWojsqcMlGuL17qjYosk5UEtQsF/E=; b=nAw1ghsAse6yaRpwkqAXTtbKH1W0w4sLZj6f3n2bimvgy2eSaaa6jBeEgcYavO7AvXyCx6WgoiH3qcY03T2rCpMW57AOfKH5gz4m2EgKXctEAfJsObZn5sl/HMVB1Z3JS9fjy2VY/KxHFiDD1jN/haQ7Dn1EtqfANT88w7K66DbT6H9xq4rE5M8l/xswWiPHB9nmZpZVY78YrzvdV5/Gqg2PIEOL/4Fw3d66c+I6Tcdlc9nDGrncvBvDGeoT6jIK0On1YnEE4EQyQfUgLZmRW4vcVcOJHKw33krW3YB1fLpdwIW3Mb8U9tMGh5dB42hJ6IMyBqS9Vz2EoEgf3O22pw== 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=tUlBDMyhDnXg+HJWojsqcMlGuL17qjYosk5UEtQsF/E=; b=C+d/h1PUiPoX03EInPMDRSD64/qK4kQebIL4KpL/xn9qE1znp7Oz+TT88WplzSN3ToyTC2qewJCo59OClO2KbkxOmgl3t81O/eh20Ya7g10ZE/DfJVLiZzE2n1rbfm9nWPSP7Lk0hQFyuPD0wrQIe8ZkwAO+nil996ElX+5YEo4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9452.eurprd04.prod.outlook.com (2603:10a6:10:367::13) by AM8PR04MB7268.eurprd04.prod.outlook.com (2603:10a6:20b:1de::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 03:25:23 +0000 Received: from DB9PR04MB9452.eurprd04.prod.outlook.com ([fe80::4272:e277:dda3:2446]) by DB9PR04MB9452.eurprd04.prod.outlook.com ([fe80::4272:e277:dda3:2446%2]) with mapi id 15.20.7292.029; Tue, 20 Feb 2024 03:25:23 +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 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 v14 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Tue, 20 Feb 2024 11:23:51 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0029.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::16) To DB9PR04MB9452.eurprd04.prod.outlook.com (2603:10a6:10:367::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9452:EE_|AM8PR04MB7268:EE_ X-MS-Office365-Filtering-Correlation-Id: 055c888e-5a33-4496-8d42-08dc31c39324 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; X-Microsoft-Antispam-Message-Info: hOezVlKu5CEAlRNprAANOoyWDflbosIT/diti3kwajudNZ34QMR21HclLhY36MY8woHONK3Ec3cT+Kni8vpK+J/ggHYbBeA61JDBgsaYNeguuG5GC7GsmyIIaJnpQT232VuFIGUb66WEaC2IkMwTc7h6HY/B9RUHils2w+Ss1IKyf2xObuizmuEBM3sizy/Da/o2jDxOjwn+fyKNHuMSNiCaEe75521dZ/7FpSGRZyMonPnk2aAqEnABeqEyDgtrQA0oUuw55lyIMQMyJhAmDHR5U3PNCY76bNKB7JT3MqeVlPxHRIoF+rQnTwVKt+5ObrZ5vwQzkOy3ndOoEEMNPH5l1oPQXmT9lFERDxeDRgJM++kcS+I5u4BYQ/X5f6CgLJ1JyZ07z34ZzizIjV6t/2YA+ckX/fijeCDqH9etSgiuQmFxYlbLc8QtWlWkz8od6hJ99DlRkEBoItdRDJO19Z5n0GmbyUOUUIIn22M6VPMUAFr3bFE/moFksdmN+G0sua25VHgulHCF+00beOu93K71r+Jtsfm94SEbOWPelgpGHHk7uH2nB/era02zkaOZMgzlHNJoHKy0MMO96kHpPEwGsxTInnuv5CvxQ7reCZFY4GVMTjqNlic++Sbed7xW X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB9452.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(921011)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1Jb8hyncVXGj8D9pb3yBr6+bVIDir4B+ZbCAGPrQTbVXTQq0mVVR0NCvKGNeNRdrNH6HO6Ac/mzuJ27TvvUH3PBUZ3sIjqQ7t0MPDJhTU087Krm74/coVhTQmry94PS53K+yHJsiBqUBC1QaRemrAKAkDZT7eaPBR92Q9PASpb2iM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D2VGl9tQZ2c7GPSZIRwSmjBvukbEn6WC1GGHeQ89EkqwLydjMCaiGj3+O3BiYS7NClvj1n/9lnvGBNNPWGbMTnXkQJZ4jh38v6maTACU5g4Mwv59go/R90+323c6PCgrpeaXppZiVj4w+OPhN+o0bobR3OF4I6U2MZTm2N9j44iS+WwYFeHV9pNqDyCqAHtdFB0Vpy1FgRic8UvAacv/0G3BOV96w441pdJJWWAbDuV/g2w7irMXdLzzK1eQLI37FNVAQAJD8GsvboXL9ugoXGxWU/SvOfXjwB4U1VZZdgVvkheuC4lLOk0RL+6h6UtjHwY1311giL0xyx+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 055c888e-5a33-4496-8d42-08dc31c39324 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 03:25:23.8306 (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: 5GgRLg61y9Pe5iG5sZXAMbGPgX9xtBMYIU+5P7rkAqu0fPf9Nr2HNI6zB+C2plI2cGBBK0QkZr7RIMy3JqfzXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7268 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v14: *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 0000000000000..3ae643845cfee --- /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 DisplayPort or 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 = <&dp_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>; + }; + }; + }; + };