Message ID | f09833038399e4ed0ff845724fc99bcf8b2793c9.1669013346.git.Sandor.yu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1434309wrr; Sun, 20 Nov 2022 23:28:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf6C7W2lrSuzd3nQO5FgUAlEMq02ytUJFf4uBvcpj+vOzD8QkCrEzk22faJBCNwTi5BifWV6 X-Received: by 2002:a05:6402:707:b0:467:6035:285c with SMTP id w7-20020a056402070700b004676035285cmr14957228edx.386.1669015728367; Sun, 20 Nov 2022 23:28:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669015728; cv=pass; d=google.com; s=arc-20160816; b=WNZz3//Ce8kkTG2G0atcKooh3vZWHJoFPyOIgyb59JR8bOBo0B9Hn6RQq5wkIDdpip +lpVLTZXYq1oFJPDOZHAxoYq/9XbBqNZKsUcvZPVMD1Kex89dFAn0PL1jMwqrqAPDm8m A/f7yJDftft4XW+4rmvv8dDNg+eOD78kqHIC0e/UzbRFmubgzcFiVwS9vS8f237HMZ4t stziKYCaR4Jvjc3Buzt7HdwRCe2iH/HRGjbSJGI6t8YGQcGXwEop68SbKHTZQvgprgg+ XFya2loZLjBY90PGQJiVJx4csIBKfwu2NdD38CBVwPTUak4oUjClIGhK7ZXDAs/gbEEG S/lQ== 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=BH3voCuq35A/PdRJVKCJ4L56DgSWpqFlC8gP/Wds8dQ=; b=jQsOqp/KKZj+DCMzg2jIi5PuFxQahhshWNqUfMjbeXiungDxZ/1ILcxRPzM40bjw/+ 5OhOH4T0bDxW4ASXKqPKCWdeNw4Wuys7CRmK211+m45F6t/aiW05Ati3aDxPtGeOTbNp L0MjvLeOps0FPBlFlzGXEa6IK5N7p7Lrd4S7TIT/s5ViJY+d6FzvqtYp38jSC/j1C0nL iV9UNQrDgG75/PhQv8PARtwn6zGS2X2B1cB1iwYCXJG1Gyu4wL+dRr/J2prKHZS6KX4h eh8jCfug6C5TRnp5s1PQ5K0JkY8+jPd9UHuSDBAI22mNU63BpPNOwZYytO81o11ZILE+ 0fmA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nCFCnKIx; 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 z22-20020a056402275600b004618ed2dfe2si10464618edd.6.2022.11.20.23.28.23; Sun, 20 Nov 2022 23:28:48 -0800 (PST) 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=nCFCnKIx; 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 S229735AbiKUH1V (ORCPT <rfc822;peter110.wang@gmail.com> + 99 others); Mon, 21 Nov 2022 02:27:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbiKUH1M (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 02:27:12 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130077.outbound.protection.outlook.com [40.107.13.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A6E83C6C6; Sun, 20 Nov 2022 23:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axoOL8txmmJhFxK5nxv+AsR97ghqRLyHq3/lSlE67oImp5ynuZnujShcN0JmVlYXoW42WYp0xBGHoDH5OkbnEy5f3/PI8nmqXl/GFgSr9JOLfNBpYZI9TVYdV1xLBPjHLKXdyLCtY2XUFJLdZm/o4BOjQLz0xihav+5r/GoWNRicYIeiZkKdUCpx7My5zuIa6HieNTrSiBULK8rZoXePDwNkxNTHDUtZq0gKlU0Pn0xq4aSbqspLA2kA9yZdv4/dr+Pa5QODaBsJ5Xoa2MC3VOFQ4SKi34uNO5NUDLCOiohSlsLWf6+5Og9zL46QW8hBgaW1EA8wORh44fPRmPbt0A== 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=BH3voCuq35A/PdRJVKCJ4L56DgSWpqFlC8gP/Wds8dQ=; b=M6D2KF/MQhuRKVSkYS7dOIlJc//3wh3gtHbJJwlY/YZvCV+ddEA+N7Uc3sZta/a7/ZulUL0665q3yapPb6KeaezV1NtP6AnF0yFqtDieT3eRduMX/bt9eBxRqmsNQKmFlM1XlZEOyC52rnxc2Iz3YRTs2Zot1bJc1iNjyoKdXB/JERp5i8k+B0IVdJx7XGAvD1J2XdhXhbLN5kLn499NPkBSk1Mjrc+YcCj9WOgevj/Mv+c2Bt/S3QsQcrRVCz053aSTHQW71G6qsswdDABh8sau+InLJAA7Baf/B2+xaO5A4QxeulMKfwREEbiux6IWyjCYL0RPndqYsM14PZJTNw== 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=BH3voCuq35A/PdRJVKCJ4L56DgSWpqFlC8gP/Wds8dQ=; b=nCFCnKIxWbSWoLbJGlgF+pnwmcDOgzGqkz3CuhHUAM9nFeSDrr0y1aLjlY/54Drnu2pCu11yXLIxDUbUD8lmmZ6fvnWh6M0UUNfxSPUFx7bUYvHE7AX0h4slEbgAm82I8dQTH/NO6Yfuo+LiKdyW0egCTlTDT/fHxa+IF/5GBHk= 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 DBBPR04MB7769.eurprd04.prod.outlook.com (2603:10a6:10:1e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Mon, 21 Nov 2022 07:27:07 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196%5]) with mapi id 15.20.5834.015; Mon, 21 Nov 2022 07:27:07 +0000 From: Sandor Yu <Sandor.yu@nxp.com> To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@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, kishon@ti.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, alexander.stein@ew.tq-group.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com Subject: [PATCH v4 02/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ Date: Mon, 21 Nov 2022 15:23:52 +0800 Message-Id: <f09833038399e4ed0ff845724fc99bcf8b2793c9.1669013346.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1669013346.git.Sandor.yu@nxp.com> References: <cover.1669013346.git.Sandor.yu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0246.apcprd06.prod.outlook.com (2603:1096:4:ac::30) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|DBBPR04MB7769:EE_ X-MS-Office365-Filtering-Correlation-Id: 032c2706-724f-4a43-e05b-08dacb91cba0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +I9vd1QaF1HdX33vJFrR+8DBfnFR9K3i2iv7/y+BtaVjM1i7edBVYdZjrH6afOVn3GihnwrzMOq84tDMEqjfpDYzja3Fn5BuXVXppLXyneaOr/lkQifiKyujkw7m6zpFpITnnpIO6VFexmUNW2/9Gv4j0qoDvCHNtSK+a3wi69iXFK8LD+4qhpqa7RcOtOC8XL4wcuGWSC2jNmOqAPMsvHGC6Lbi8zDqK9Yhy70TgkxLL2knVPekuiflBKLNTWYCjw5VFyPJlrhMasGJT4rmHtMph94MkU8W4IsBwAbHyokI4GHnVVNdoU05ZIrYeoNse0tIAM32RdgK5DOH2uvIYon05J+EP6ahO10Uy6ob51u21WAxfp6umDFVyAqakrex+7kF7pyfEYdhO79CmbjTyzqPocOD7noIjFjq81IhlNN4cOU858+kfOlfhMcbt8uAOVGJF92WmO2StRSYs9TToMlR3BZTXwfCwCwtZE3Cc/fnW6Eu1bnGKurAOcTiI/xMU5Ra27xuCy3ZYIEA12lWMoiOhWoUjgv78YZ8takqXqzJNGcio5Gv4Pqv60QYHI6vK/gFkfoxEbRUnbgMEDGi6AKRmArcTEDCHR3OlJXYfLVlqSuh6IZ26pXsSRKfmDQVHGHFQi665N5BJdOnjxKVDrbKpqs7FoIRkC61eMMsoib5so1uZR77nvMC5cAHSf086Yo2pwHLG1hWuDIW3TDmmLwjxXgLXWjN46ZxYgwEWT1YYiZs/FS3HByfSmfkVzgt8b/CrNJv0hVowRiBzodP4/UegIgBysZV+YXxHiL0xVU= 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:(13230022)(4636009)(396003)(366004)(39860400002)(136003)(376002)(346002)(451199015)(86362001)(36756003)(8936002)(5660300002)(7416002)(2616005)(2906002)(186003)(316002)(52116002)(4326008)(6506007)(6666004)(66476007)(66946007)(8676002)(66556008)(6512007)(478600001)(38350700002)(38100700002)(26005)(921005)(41300700001)(83380400001)(6486002)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wR9Fj8eTcoMBcPQrPCryWvue4QJvHx8JTOMZwN1BWsMvtgZ1vrrMU7I0avoc78v4JjQpmGoXp7GGnI5S37JQSPvPfM3rDZqcwDp8fFvVBPuxorZp0k0SCPESXFdlqtKokumMfS38jkpmBDVNrq/icOWejdK4FHQR5dO0POEtAG3e5AEW/eRBmT7pFSPUuiX8/N2fcviLvnRsVXmkNda3qonMfS+uKnRjV69eCHGp5BZWYgJGnB8lhZjhUknYBgyicumewEqOnhhdRjJ6EisfQzglVVJvnLszG8Dba5piEXdBLhTEV0ZqAIcMDquc3/0PuMCEjg30J0QmyLy3lRJl1DfcAjpisY7o/eac1DF05oUTJgD2WAVhpS+YRs5CTvA/F1tpo5Hadq7YFNnaR3vL0gmRmZzvsZww68WCZVtv6DHPxXDlr4jcVUoAhRSMxw6MMQw8JsxzHZsA6XA8m78vi8/ztmz9Skr9MAXAHB84ZJiuwDBJAXalVwqVd/KC+OP7nxqYEIzurXClyxA/lqR//loBCTPgJXnpNV7AD17Sm3r3Gxqe0kHRVknHCyYZ59lPSYEYzIb5Cg2SIfy8LJsr98tdTDKa46id1Y8LmzlQVKYPnjcK/j0MUhAUsnRz4MlvNjZsutjanusZr59LmiIWEzY/64ntJsSA4qPuqRAqZVHpgE0cimMlhSam5od+7FtioslBvLMXMwtiWiu80rp1jtvqgkewRsMG8AkfKjGshKMpkRYXl6bP22z3peQuAgjfIgOGdWu1FEpTiWdBqHd8dTMEmdDmC2CiB/96tmVOA4p/3ejw0v0raXTVsohvihhVlPjcSc0CsmUkLvu7MPPaa1xsfPWiJPpkePlH1na3c1zjz+I3C+zl3nMod+442k7RMVKN9fL8tzF+8Bhw20ip5Sx+JdxjD2cmXuQHuoV1ltm/zSjzpx9UGu/+g3i+xjzcIXBkZH2Re7gMjG6PSEE9+aMV2/l2NxkHBGZBVgH2s9aNg3dzJnr1KScCccbwSy0XsuBnpzNuj5QFZdhrF1WFhJn4DJlcRvNWlwYx20L35+ZXdPLWiNLPTQrxzO7Oh6vyoaIMok7SJuJnXVfbK3UGDpbxDRzGn3Uwga0gp1kuNQB1smp/Bu+RKKP1XLR4SGC0xMbrcY5AKuOtjp8usInaU1SA1/aAG5+J497QE3KDIuTFJHI2NBPl09jPrjUun6bjUAd2+ZOB7IaqKl1qoco64QXS69tf/WhYHgKvF0folO2VQ6NvOwydwA+Ed0GY+OBkIVBwwTHg86QUfTCMY50wuhhdDKkPblIQ/OjQx/mKyFPx0OrFP1IMKwFYbX2j4dKo8B6OyYPnyU1jqZcCVcOz7TBaE7SBRiIl25lJc4UhOgtQfqnGApjph09srYG/AJYVfkR6CiMEsDzqZPFqVOIgVDUdFdjs6GDd1zaIE863Mkt/XhTG4qSGWJ0JyhyGsEJbAEvHbR7Z/kI9ALlTazw0H+E/sYHlWvC/BIpBfeHHqWE5Jf8ORyDlHhnKFlxlDcMNjCneO+w0YboBFtAipjmXNfywFeq7DUY2Rt3M+zQxd1k64eG6Ez8uYl1X1r1NsI79 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 032c2706-724f-4a43-e05b-08dacb91cba0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2022 07:27:07.5860 (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: Xhv/tv+g3fmGa/4JthgrPSCXlu6QAi3/y4MM1iFEu9sq5qUMFSgFDmQM9+LQyIwq0iDa2fSerz39l1QyNlbNcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7769 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_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750089836509935591?= X-GMAIL-MSGID: =?utf-8?q?1750089836509935591?= |
Series |
Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ
|
|
Commit Message
Sandor Yu
Nov. 21, 2022, 7:23 a.m. UTC
Add bindings for i.MX8MQ MHDP DisplayPort.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
---
.../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 93 +++++++++++++++++++
1 file changed, 93 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml
Comments
On 21/11/2022 08:23, Sandor Yu wrote: > Add bindings for i.MX8MQ MHDP DisplayPort. > > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> > --- > .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml > new file mode 100644 > index 000000000000..d82f3ceddaa8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp-imx8mq-dp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence MHDP Displayport bridge > + > +maintainers: > + - Sandor Yu <Sandor.yu@nxp.com> > + > +description: > + The Cadence MHDP Displayport TX interface. > + > +properties: > + compatible: > + enum: > + - cdns,mhdp-imx8mq-dp > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: MHDP DP APB clock. > + > + phys: > + maxItems: 1 > + > + 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 DP connector. > + > + required: > + - port@0 > + > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + - interrupt-names > + - phys > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include <dt-bindings/clock/imx8mq-clock.h> > + #include <dt-bindings/interrupt-controller/arm-gic.h> > + > + mhdp_dp: dp-bridge@32c00000 { > + compatible = "cdns,mhdp-imx8mq-dp"; > + reg = <0x32c00000 0x100000>; > + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; > + 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>; > + }; As Rob suggested, you allowed property for output to DP port. However it is not in the example. If this is a bridge, what does it bridge if there is no output connector? Best regards, Krzysztof
Hi Krzysztof, Thanks your comments, > -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: 2022年11月22日 16:28 > To: Sandor Yu <sandor.yu@nxp.com>; andrzej.hajda@intel.com; > neil.armstrong@linaro.org; robert.foss@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; > kishon@ti.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; > alexander.stein@ew.tq-group.com > Cc: kernel@pengutronix.de; dl-linux-imx <linux-imx@nxp.com>; Oliver Brown > <oliver.brown@nxp.com> > Subject: [EXT] Re: [PATCH v4 02/10] dt-bindings: display: bridge: Add MHDP > DP for i.MX8MQ > > Caution: EXT Email > > On 21/11/2022 08:23, Sandor Yu wrote: > > Add bindings for i.MX8MQ MHDP DisplayPort. > > > > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> > > --- > > .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 93 > +++++++++++++++++++ > > 1 file changed, 93 insertions(+) > > create mode 100644 > > > Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.y > > aml > > > > diff --git > > > a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp > > .yaml > > > b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp > > .yaml > > new file mode 100644 > > index 000000000000..d82f3ceddaa8 > > --- /dev/null > > +++ > b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8m > > +++ q-dp.yaml > > @@ -0,0 +1,93 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 > > +--- > > +$id: > > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi > > > +cetree.org%2Fschemas%2Fdisplay%2Fbridge%2Fcdns%2Cmhdp-imx8mq-dp. > yaml% > > > +23&data=05%7C01%7CSandor.yu%40nxp.com%7C163690c8a8ab4f7a6 > c9208dac > > > +c6373c4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6380470 > 247542869 > > > +46%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM > zIiLCJBTi > > > +I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Eei5Nkp0 > Hl8SHpBLZU > > +1HsJDnWQujHvmPh2XMuC%2BSZ58%3D&reserved=0 > > +$schema: > > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi > > > +cetree.org%2Fmeta-schemas%2Fcore.yaml%23&data=05%7C01%7CSa > ndor.yu > > > +%40nxp.com%7C163690c8a8ab4f7a6c9208dacc6373c4%7C686ea1d3bc2b4 > c6fa92cd > > > +99c5c301635%7C0%7C0%7C638047024754286946%7CUnknown%7CTWFp > bGZsb3d8eyJW > > > +IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7 > C3000 > > > +%7C%7C%7C&sdata=eZUnepnQHS9ewyWb9AHMht%2F%2BevutmOt > mTajL%2B5Ewwbs > > +%3D&reserved=0 > > + > > +title: Cadence MHDP Displayport bridge > > + > > +maintainers: > > + - Sandor Yu <Sandor.yu@nxp.com> > > + > > +description: > > + The Cadence MHDP Displayport TX interface. > > + > > +properties: > > + compatible: > > + enum: > > + - cdns,mhdp-imx8mq-dp > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + maxItems: 1 > > + description: MHDP DP APB clock. > > + > > + phys: > > + maxItems: 1 > > + > > + 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 DP connector. > > + > > + required: > > + - port@0 > > + > > +required: > > + - compatible > > + - reg > > + - clocks > > + - interrupts > > + - interrupt-names > > + - phys > > + - ports > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include <dt-bindings/clock/imx8mq-clock.h> > > + #include <dt-bindings/interrupt-controller/arm-gic.h> > > + > > + mhdp_dp: dp-bridge@32c00000 { > > + compatible = "cdns,mhdp-imx8mq-dp"; > > + reg = <0x32c00000 0x100000>; > > + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, > > + <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; > > + 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>; > > + }; > > As Rob suggested, you allowed property for output to DP port. However it is > not in the example. If this is a bridge, what does it bridge if there is no output > connector? > OK, I got it. Output connector will be added to the example in the next version. Thanks, Sandor > > Best regards, > Krzysztof
diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml new file mode 100644 index 000000000000..d82f3ceddaa8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp-imx8mq-dp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence MHDP Displayport bridge + +maintainers: + - Sandor Yu <Sandor.yu@nxp.com> + +description: + The Cadence MHDP Displayport TX interface. + +properties: + compatible: + enum: + - cdns,mhdp-imx8mq-dp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: MHDP DP APB clock. + + phys: + maxItems: 1 + + 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 DP connector. + + required: + - port@0 + +required: + - compatible + - reg + - clocks + - interrupts + - interrupt-names + - phys + - ports + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/imx8mq-clock.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + + mhdp_dp: dp-bridge@32c00000 { + compatible = "cdns,mhdp-imx8mq-dp"; + reg = <0x32c00000 0x100000>; + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + 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>; + }; + }; + }; + };