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: 121133 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp984402vqt; Mon, 17 Jul 2023 01:49:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlHevqx3umKwzFDQHmsAlc18BX3hvubcXfs2t9pxirop7c+lDBCgUnPaIi/odT2wSfFMLe2k X-Received: by 2002:a05:6a20:3d8e:b0:134:5c75:3d23 with SMTP id s14-20020a056a203d8e00b001345c753d23mr6130295pzi.18.1689583797582; Mon, 17 Jul 2023 01:49:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689583797; cv=pass; d=google.com; s=arc-20160816; b=c242G1vdxk1Wg9P9eGyVT9O596H0uyfcRIJfkE3iO1IEkiiIBIfDQbpORB/raX7652 z509zYoretmL4nYfljPYmFfcv09+xRV0KIX666JRyzYs6lRHVqgcB4edJtgXedzeB71r Mc6Fde4XoiJO/UJj1PTleChdMlE77ORFdMURFPKtgQiNEqmiCmN976RVhkRxigJrPFNz iGnjXNLSZyKdfd0tnVCNYIcfzfw8a05Au8HulA4tcjKAjYmPYrcIiK9++a/9HwT1C3c3 oT18vTTjwwnClitEsEDzTsiY5JwnhxFiFlt5mTCNIEwij7qHPw8t1YO9aoJsV+sM/EIz 2Djg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N823OSuiIJYHE9/47U9dAmlLZH3VJAlMgCDiCJL2EK4=; fh=PUBVPucWc8lRluY+e+5uvxRpT/FpFBsE6bTTCuvGxf8=; b=lIAxioP6jQZR7gCjIR+5d4SZTW5YnbPcs9lH87vl2E6p/w3XfqbtIIRD3Alpd8D/mh 81CvjUZlASHOZ0cFhWE8LnP0snzSfr1XcdL1XfB7hQP76N4i7IldVJ7ziqBW+tza7ybM HarO6girjnuJhdOIChYr1SBF/5f7V/WebFwapBosXKmm6+6GY0WMLt8hJyvHzGm6A2iL vVKoZwctFjYeQwK3sLNSgzir2z60NhAPG1FECv8T+K1m/PSm6ys5boPHhAeFEAM/0H+w YP/iQkq0RPuF303YPD1743Y0KtTiYybo+LrzHrRP1IVUbTWD5Okxzwr/c4xUxVtlkwjz BshQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YITlmQwd; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y29-20020a63b51d000000b0054ff0e193desi11094675pge.49.2023.07.17.01.49.44; Mon, 17 Jul 2023 01:49:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YITlmQwd; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231199AbjGQIFT (ORCPT + 99 others); Mon, 17 Jul 2023 04:05:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbjGQIFJ (ORCPT ); Mon, 17 Jul 2023 04:05:09 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2071.outbound.protection.outlook.com [40.107.7.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3C7130; Mon, 17 Jul 2023 01:05:03 -0700 (PDT) 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+V9JkmGcKTWoco8TaRhrZPLHuWOILeY5cS3BbJV1ohTQeOdH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1de2O3GFvzdPM/zKv+vY6GyO89b5aI/Sx+hjjj4dYQ7ne+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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771657020189433343 X-GMAIL-MSGID: 1771657020189433343 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>; + }; + }; + }; + };