From patchwork Mon Jul 17 08:03:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13315341 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 1E3DCEB64DC for ; Mon, 17 Jul 2023 08:19:49 +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=DP3OGEXC74fkoGPk03GpvDTdQb8w45YPVX8ePVkutJ8=; b=J5OV/za/Q5Afdg 4ZePrD3XyenV8nQ9QgTgijtmIzPUpIolHrPDyLKZAphs3LKfZ1hPYAKP0G/Zi5Hp7MEtKAMm2uHMk gXe2bM5mbjZKhDRB81iuqNLPtu+pWe6ii9eME9RaBMQ5YTPyjA4Cvt+wkMLzqgcOymHNJMGL77Xsk nnr5MoIWnJdi+qWhc+yR0tEMf4ofH4rYZka37v2zg5JgmqVoD1N34f70GPMKtYZk/M/MB0nBlMvBS 7OzNZeIdHNTUGBxUFg/xqVnmu6oqfs5ael0qvEJL6yuyqXhvYKGzdpnDbW+5NQOjxT+x5lxsGalAB O2MhhRYe67qfqJ0y4gXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qLJSP-003RkB-18; Mon, 17 Jul 2023 08:19:49 +0000 Received: from mail-vi1eur04on060c.outbound.protection.outlook.com ([2a01:111:f400:fe0e::60c] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLJSE-003RiF-2o; Mon, 17 Jul 2023 08:19:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XC0hjned1idEb6OQctgvngSguGSrIDHAYYt/fmW38nd+n9DTdUBJphGHCIv7Xk/VAUNBNBLkUcNqGaTc2hUg4RxDQ1eZs7RCLPFauPl89BCFwoJ/Ss47/VC/S8kpS1M7MvR7FdSZwFKFiZtIan9GclwH+vQ+nULO0xYHZkJLpSM/rYWvzywpLUxoyf3w1f1AMu6PFi9WRLkaVRQ1mWZHZ4JBpr7yavtUrWSkvwCUQbxu47llv51oL82Bbf0UaxsYLNtT1eFf1GGFhmM4XIQLEtEkRv940mKDdE8xDV2KLBLsiqSc6m0Aq/yJbh1cENE/JeF7x/mMc5odrwzjOUaT8A== 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=N823OSuiIJYHE9/47U9dAmlLZH3VJAlMgCDiCJL2EK4=; b=bx22Z1NboC+TezrovFipYVW/X8PfsTuy7jFpd1EcGO5cCpz1DazuSs7/N5iJEEPkYCe8ElKyzgrYWz3qjue1vPp+jptTjvcEIaqiuTJuE9I41aZ395qLESW53nryf1Dc/jgh6SrK+GxG6/Vv/NflMcgzUARqUnwZyuyWSUuxcDtM+7udu7fsmfDWEWn/iiJMNAf6FtIcmurH7PTUgjLpmVkpvoAwsfstt+ci+Mpmw2+ef3+NNZ4KApOj3Jj5jB9pHBs6uWzd12N5sDI1F1omtGPEvj8CtlJkm7FYovdDjqPpu5aNBta2HeGT8htyuQlYNvE+hXRPy2wWaLVETLXgow== 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=N823OSuiIJYHE9/47U9dAmlLZH3VJAlMgCDiCJL2EK4=; b=YITlmQwdrisK+lRaatIfqynf+O1gW+kgDg55YGzbYyw3CpIxsO9aRxPfRt9QpfBRJemNtaUtTMoaRJTMBCkClKzIvV+5UXPWfrqYjLCFs03Cy1L6SBqRHJhHzZztgA97ttzg17/35B0/65jxkFj4p9J5aC8xtFZl83GD00LDTWE= 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 DBBPR04MB8025.eurprd04.prod.outlook.com (2603:10a6:10:1e4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Mon, 17 Jul 2023 08:04:59 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429%4]) with mapi id 15.20.6588.031; Mon, 17 Jul 2023 08:04:59 +0000 From: Sandor Yu To: 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 Subject: [PATCH v7 3/7] dt-bindings: display: bridge: Add Cadence MHDP850 Date: Mon, 17 Jul 2023 16:03:49 +0800 Message-Id: <3646ea4d279838c78e00af1d746e3de34351b083.1689580812.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0030.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::15) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|DBBPR04MB8025:EE_ X-MS-Office365-Filtering-Correlation-Id: a6ac4956-9e5c-4bf6-3d76-08db869c8433 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dy0Kz6PTzq/zW6CpTOqOEJTaRi9NSW7/SIba7sZiJLwEY/5YdA/Jgi8koy3IDE9f+KT4c+LpjiVM48q/2yj/Udibx2y+n0TOPQJ4yetafjpDvts6l5ddslX58O4phDhCN86TDb1XFDAXDCiYWD8ogpT/Zmp0LfXj3eNZvRa5ZxKhy8rPgm1qS05o4Xby/xBqi8gsK6rjRiK87Wm3B0oJKHFgI7xBGnHFYFZmDyCE98uX+gntBU4Hl0fEnk+R1rPlKQLGE9aq78SShGqUIYkg+ckwThmt2UOGtdWNBzywCsKa/Jhkf8SGln8qFGTJ9QbzpINo7pNSmzi/ZpCTDXx2ho7ej5WzW4sMutBeJQ4sZqGYBJPOC6GckUUY40muYlqokI791JD/K/YF75sFeQp+/czv32KvyM4iREPJ0f+AgXDppgGA14VLXweYZZ333YK+Vmwy4BqnjuIFKlXlIe3ugPR7geaWP3GXxsHWGGtRCuYtYQdaXdYjU1GkuuVX6H2wduXt4NoS0Kms+FfWy/bEhJhtaTXWaq4obBuyRYfpHxqg5JxkJEVLIGMgx53SUyaysQMK4sqyuJ2mFSllqHKlCh5RCa9kd5+6rGr5FfjBVfLpqooJbHFdKHMDmgndOmy4naorQ15gyT1I/pjJ1FIf61I9XuR5nZMqK+6Lw9LZfyo= 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:(13230028)(4636009)(396003)(376002)(39860400002)(136003)(366004)(346002)(451199021)(6486002)(52116002)(26005)(6506007)(966005)(6512007)(36756003)(2616005)(83380400001)(38350700002)(86362001)(38100700002)(186003)(921005)(8936002)(8676002)(2906002)(41300700001)(478600001)(7416002)(5660300002)(4326008)(316002)(66556008)(66476007)(66946007)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fbPT8A3pZicOxNVxYrB8a2pqFTxL6WV9h8iwlcvCWZDV8YMXNFYr4Eu44+XUCs2bC+okW+QSSYeSRGVg2kpCF79ayL9mbWudtkZfLoNMF3mJ8BjevUwEAE8Blm+mXXnQ7b1oGZWjr7rBYm7tBgToDhCczpNnjdwesIwuTfjXK4dTji5dayHhgX/f8KLiASgd1YRAxJb5MXrYFzlKMuGOfojcdYgyOlWO1jv77tRdhRttu42nTDBHd+htQJEQTcUAtVduPQFC2MBylOrWMQJp7SWTsx6w0ucy+QASDA/jSQzOuyHaPt/Ewo/KGb60ha8mgRPha7lbUX/XcATv7bUS1TVNwWUGXj7GdDy+V9JkmGcKTWoco8TaRhrZPLHuWOILeY5cS3BbJV1ohTQeOdH2h0ZMEAjydvtNwdcjUpCcgWmTeIMDBJbM0zK1x+7dio/a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ne+lkNTvtne4IrWM9HKTZ3zQbU4IuH1GUy+Mbx7MV17UtgF4sx8aKOhg7n0fQ1IVdbOIa X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6ac4956-9e5c-4bf6-3d76-08db869c8433 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2023 08:04:59.5769 (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: CFAA+0NYn2HEVDfQ4sVXBNRJlJYQcDHaA7IOfhTS/oUSTIPtIugIrBqt/0LPVBHyKPlusecyxfOC1at1aptgyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230717_011939_175076_5F2036F0 X-CRM114-Status: GOOD ( 11.11 ) 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 --- .../display/bridge/cdns,mhdp8501.yaml | 105 ++++++++++++++++++ 1 file changed, 105 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..b983ee765f54 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml @@ -0,0 +1,105 @@ +# 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: + - cdns,mhdp8501 + - 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_dp: dp-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>; + }; + }; + }; + };