Message ID | 71c504aeb11f55e9dca533cc1b490b8e069c7b7b.1667911321.git.Sandor.yu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2692553wru; Tue, 8 Nov 2022 05:07:09 -0800 (PST) X-Google-Smtp-Source: AMsMyM56V+M1jSZHSZVSrnRLdgmcIHkUer05XMkm0mqamBYS7zntCen4itOz3edCdBJBEoPkxyDV X-Received: by 2002:a17:902:9043:b0:187:4681:6c4c with SMTP id w3-20020a170902904300b0018746816c4cmr34686614plz.170.1667912828917; Tue, 08 Nov 2022 05:07:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667912828; cv=pass; d=google.com; s=arc-20160816; b=xy2b/WXgIVF32EF3PvYSGqY8BnsTIUyTx5iOPjFDWGjHfFwNikI+JFM3wa1yyoJ/4i +fbWEMPo1wthjHSao+j3+eMl1Bh/tyle0P1ChZUYmKngGjIFicUbe2p3065Avo2GyfeW GoE6WOaeOmgags/5YsZwxZdP2WFfDIAAfc9Nut7i8Nxx7FTgbDWM2Ux4oklD5/GWxQK7 lVErxTtUqT0v3cvMOc0yiltrbwZzS5BRENvvVtnjmPK/dfDSj17W275ScvmFhPiunZHy S7iUYKievVBLgf3svqHJVtUrWGVFqXGgmwQREcmjpy3ZXmvDFJ9T6gYFhbmQ0s7PP2bd /FbA== 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=lBzHYuVATvY5Xli3z/8lVrnSUVNhhck3spwexg6xfSQ=; b=N7zcJ2NL1WwJa78K9mCgk72FjvQfjE6bC4N+47GhXYBYYLUDMu3gaREWETZG7LavLa KjEYa3YWHeQA9FjK60fQKSiU8sDqohUVhe21I3tfNdelRjR9KwBZ+AEB6GpWj+tDX+8I vXJNT0GG60tN4ChLvO+brGwesZ3lPtSOkU7QrlFI4tvQ8/WLjt0Dmljecad7eIbV2fEJ 2HBjes4winD3voEI1pRsBfjaYeBI6u3H08z+VVOSACtvLzkeymUbePvB05lBWXRZJhqI twsxXJ5dKYHEe8pqVhn2bnS3OcRO5QDvPQTJFJLL9+1uPe9wqiiXPlNUkUEkeA4mMDei xvhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=I4dFg9Yb; 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 k25-20020a634b59000000b0045cc8781244si2669410pgl.220.2022.11.08.05.06.55; Tue, 08 Nov 2022 05:07:08 -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=I4dFg9Yb; 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 S234365AbiKHNCV (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Tue, 8 Nov 2022 08:02:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234373AbiKHNCH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 8 Nov 2022 08:02:07 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2043.outbound.protection.outlook.com [40.107.105.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D005653ED5; Tue, 8 Nov 2022 05:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y9v3i3ZNmuqhTQPGjxTnI14r3S0Za9H/r02zZx6m3qQX1T0I/vFLP9yL63P30g7No5PR1eJVmOl6fitZBT+1M6RgXNsgrkJKZXvYY6CyvdyUoilNjjuUG/PJFutoM1JTb39MLEbHtXfpr0cEHnMFBaGqgIvFuie2CcOPejPj9OB+dwGmBP8A0wTI3UmGaT1CkSVZChsY2vF1Yefg6lVSkTGuj2wUotxG8mN0kx2f874TDTfIqjBUyywpKUXYPbfCF/otdlxSPRRpmMK7QQEZprs/uj15EByYzOCdsJ+HMPcOEVOmvjyHWjqn9kKPbk2bFEgc1ZB4zA8aPoutqUkb7Q== 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=lBzHYuVATvY5Xli3z/8lVrnSUVNhhck3spwexg6xfSQ=; b=EYxMCvO0rBXu8AyNv4XnyCgFiVkLvo7DYIHod1yJMMSadPJ2aYVMg1aRJztBsbTULMnbw3e0+zSyn4ShkEeDOkcmQabTIbrCldcYFxBu1/jkjuhTPpDFrIi81N/O03bUOE5EH7keWMgWsz5P94CJI7te/4ix3ZaDDEUsrN6WWCnJK+ZQuFYHsooqv/Y/JvApwPCmHVxSV002Ofhxh1fFVoqv0qtJVkZcPPouTWXkqGI3a8WZHuSGe+TMW/wkiYBXsy0/92Npfsnh1sRctn0pJd6TiPohlxXushwbH00t3JNJ6chHPZ8niYsOBY/C+Z6/wfJcvO2GV3Ysu50vfGZAJQ== 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=lBzHYuVATvY5Xli3z/8lVrnSUVNhhck3spwexg6xfSQ=; b=I4dFg9Yb4CGqM3gkM97Bh38F25BuMB+/O/oTPkRnBvtY+gMf1NjAmo6iScHVl2JMR2b1JhrBmlFTTsPHpul3FjL59Yh4Fb+Y6XXPtL0K+07go8lOStX2zv6F8P/z1IlFryRQa4qz3AHjgEdCq/HgYowh9FuzQcacWDZzAsvxFXk= 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 AM0PR04MB7059.eurprd04.prod.outlook.com (2603:10a6:208:192::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Tue, 8 Nov 2022 13:02:04 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196%4]) with mapi id 15.20.5791.025; Tue, 8 Nov 2022 13:02:04 +0000 From: Sandor Yu <Sandor.yu@nxp.com> To: 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, andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, vkoul@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, tzimmermann@suse.de, lyude@redhat.com, Sandor.yu@nxp.com, javierm@redhat.com, ville.syrjala@linux.intel.com, sam@ravnborg.org, jani.nikula@intel.com, maxime@cerno.tech, penguin-kernel@I-love.SAKURA.ne.jp, oliver.brown@nxp.com Subject: [PATCH v3 05/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ Date: Tue, 8 Nov 2022 21:00:08 +0800 Message-Id: <71c504aeb11f55e9dca533cc1b490b8e069c7b7b.1667911321.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1667911321.git.Sandor.yu@nxp.com> References: <cover.1667911321.git.Sandor.yu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0136.apcprd02.prod.outlook.com (2603:1096:4:188::16) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM0PR04MB7059:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b0b7377-cdb9-4d7c-70c5-08dac1896ee2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VLXuy2k+gPdnGp65unYrJB0wZ8WrSTVO55HJQb5agEpPfGtZgXE100wB532sj31+BV/STGRFkptIDK6CmkV5Q5DqMdp5/xhofiMxK4XLF/2+3bxInDiyUEv/+6nZt7a/geYarhDEBribXH8V2HXqMa0RTqTgWbIWFnTOEQh1bZNyjiY/ZM/Bu3T1fEExGF4r8xmxDO1FhPNs5m15DkjJzhlsyeVEkn3HmaXvx6W5Jqa19mdjQqNUAlh1CD0zIrj7bblfQF9VWBCDTSClO86hi74tm4EWkhQtqasOBDOg14GG755KXfb6gntNTvrmRikI4S/18373ybXKGFKn31XVeXbcAddg/79/LxcMyhOnN6/daNZoMaSUEH9KDLPsFSksRqsZSUIXtLiKeeoQULS8pYfcpTC1Rb1KBqIYdXtC3RebgQ1zbfR3LdipiiIEq6FFYkvZ6rXoqehlGXp8mRwQPhiHqldpOOcRDGPYzfAp0h9N2MhD4DOkEqxkyMSlkOHBrZNIM18j6xoIXahAn2thYe+XN1X40OI7Q/CPYzD3iTbwnTxv6PboIqULDVt45e1aqkIxfSIABLX0p8YBHZLKig7CeYluT/9E9+MsPwrsDRKPqikyiEK1OB+m0TK++hs2kxvPTcK4b+Fzos0Kn7j9VVeiqjLtSKlQz0C1APHXea1dTATGlV3+vdxcRi+Qsw8W3vFs03iQ27y6+mYamDMvfp5qKJ6oNbugDSEQgSXKW16xuWFML+imyYsmRQKg04FwpK5bgh4UVro9+O6FgsoMSMznnxfN1M1AYjTW9gQOJuJP5zH8rLZO7evZhZKDSVh2cMnsTYOOrBkR1h2funfGoeRj53YA8b9keSEXLf94uWs= 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)(376002)(346002)(136003)(366004)(396003)(39860400002)(451199015)(86362001)(921005)(26005)(6512007)(41300700001)(478600001)(38350700002)(2906002)(38100700002)(36756003)(2616005)(8936002)(186003)(7416002)(5660300002)(8676002)(66556008)(966005)(6486002)(4326008)(316002)(66476007)(83380400001)(52116002)(6506007)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fAdIp4fZ1N6NydPCCRrQ7rm+I7nfEDgMwnOfpfSL6PEZEFZw4p8Kwoo8MPLBWJLjCPUNAz9IE28aa0ZQ/eACi0DDaskyjwAQasoH/KlIC/U1Z79O33iL9gLcAx6z7mGpiU/mO4A8fa/xHwJL4lDburfsd6JykM+61Lv8Q5i55WTe+PPylgCwJR0waWkh28rBkeQPQOTxzSUJSHRX6vG3L0pUN8BndB54wR1d9wXgamDm4DgWEXgkybKw1ODY3HWylXo+qUBYm9dK9tYrfHzYYPRzky9MUEviR3HX5SwD/xm7oRseLIpLWLOjrbr0JucD5PcKWj2be1mHDOpZPjwjl/STKIENuVpEMIo27R2NBfyLgCc09XFXmxJkyZVjA9EiJf/uKgU5zkmE8z9wklEuN3F4J857SFuI7mRdNI3tiorxvXDNpDDCSN1gh8i5YygToQ9oUlhnb8vGQR+XiYgwSYldGGDH8nzgfvqJPjlh6cJByr6c4CyTx7y5OzQ+1QTTZA4KrfuvME/YCyLOpeVKUPUbz1hhqDbOVdsxoy/AM2zJEeyeVbBR8DR2zYjR5AHFw48xc/jkoMzkpMJD4PdTxFGryDyzHXX/28NNpjm6HjLhyeBsNPbHlX5bwz0Zp86lR4Z0xaaza8MG3b9VGnKCD80BQtl6/AdvNIIwO2w0Nu9tl3RX+chRW5xAyxX3Jn0+I5T22sb+m4k8gELZU1pVKrNl2oLTdZBMS4qitTvmBrxKmnQtdLHZKbse5WxP80qGa0O3pXDA0Gk9XXySl2U/142Y9lmecdcPiunq+x/tudBJEMhKxRXJqcBpgsqfyRDiASYE58PKF/Dzo4Lc6lpzeuemGhK2u1NM9hPfuYr2D01/TDt6Jk6AkQ3DZa4ob0RBkUiH3OIn8rbkhfG4ejQpjOOZJGSDMncEwiMxkc+rE+cXMEC0a+cF/yx9B1L/JUU+WhBnlj9n1a945XnAfnkGgTCOP/KARz0q8DDNIpUOLZKnzqEl9iZiylk26eAzId6Iu8Hl7xyUcpe5EySFT57mRePToPwLB1kVHcK1oKA//ox349wsixy0XWNyS+r1sbpbAI6MWPygk+GPj6oLYAddxDLvT/Arz/X62EcoDMbMzGR8Rrp5TH7WveBe+us0q11+bXinvbdJ+dAfBKzMKQxK3F904ZBUNUrhWJCNq7PCtJdFjPBsejBbqPLzCb3UZ/1lGiT5IRA6VKY0Qcc3Vr18r1+XgX7mgsZbeAF9Lcr320XgMEjk8I90NrODhsVXSDRaf7BS4wOKi3PTmV3WrzFGNW1pt1I0y8DUWdlo6ybEJSXW7sItAVHjpmlobAXJLmwVfgecs0RGEt7e0rZ8Q+7x26xG1VOXXye1BdytDg1DYOv6BZdyKAhHFaYm+o1dQ4KI/dlNfvWFUNHAPxdMnVfdPym5ZtUBOCAaHaWBI6J6md+lgh9DOfO1A6qmCDE3iQXw4xrrJJ7eEMJewFE19FONCHFTlp5cVnZUveCZQjOaEcyxdZHqg/LSD5csfNA9LYiYnBM3/3e6tflNplRbo2mwsB163DvVwZbxSN9/nh6nKi+bbgBUv4W1Hs4vRUaae3eT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b0b7377-cdb9-4d7c-70c5-08dac1896ee2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2022 13:02:04.3390 (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: j7688D0SnH2K/lVPP8HqzCus9J+Hcr7AgdXwoDeaZZGduiWZB7jl3o49qM20SKvMGWRAdRBruAUOam+1crHBfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7059 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?1748933362308477067?= X-GMAIL-MSGID: =?utf-8?q?1748933362308477067?= |
Series |
Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ
|
|
Commit Message
Sandor Yu
Nov. 8, 2022, 1 p.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 | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml
Comments
On Tue, Nov 08, 2022 at 09:00:08PM +0800, 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 | 59 +++++++++++++++++++ > 1 file changed, 59 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..c4d5362db2b5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml > @@ -0,0 +1,59 @@ > +# 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 > + > + phys: > + maxItems: 1 > + > + interrupts: > + items: > + - description: Hotplug detect interrupter for cable plugin event. > + - description: Hotplug detect interrupter for cable plugout event. > + > + interrupt-names: > + items: > + - const: plug_in > + - const: plug_out > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + A port node pointing to the output port of a display controller. Similarly, you need an output port to DP (or USB-C) connector. > + > +additionalProperties: false > + > +examples: > + - | > + #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"; > + phys = <&dp_phy>; > + > + port { > + mhdp_in: endpoint { > + remote-endpoint = <&dcss_out>; > + }; > + }; > + }; > -- > 2.34.1 > >
Hi Rob, Thanks your comments, > -----Original Message----- > From: Rob Herring <robh@kernel.org> > Sent: 2022年11月17日 0:27 > To: Sandor Yu <sandor.yu@nxp.com> > Cc: 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; andrzej.hajda@intel.com; > neil.armstrong@linaro.org; robert.foss@linaro.org; > Laurent.pinchart@ideasonboard.com; jonas@kwiboo.se; > jernej.skrabec@gmail.com; vkoul@kernel.org; > krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org; > s.hauer@pengutronix.de; kernel@pengutronix.de; dl-linux-imx > <linux-imx@nxp.com>; tzimmermann@suse.de; lyude@redhat.com; > javierm@redhat.com; ville.syrjala@linux.intel.com; sam@ravnborg.org; > jani.nikula@intel.com; maxime@cerno.tech; > penguin-kernel@i-love.sakura.ne.jp; Oliver Brown <oliver.brown@nxp.com> > Subject: [EXT] Re: [PATCH v3 05/10] dt-bindings: display: bridge: Add MHDP > DP for i.MX8MQ > > Caution: EXT Email > > On Tue, Nov 08, 2022 at 09:00:08PM +0800, 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 | 59 > +++++++++++++++++++ > > 1 file changed, 59 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..c4d5362db2b5 > > --- /dev/null > > +++ > b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8m > > +++ q-dp.yaml > > @@ -0,0 +1,59 @@ > > +# 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%7Cfadde1cdcefe4c1e5f > b108dac > > > +7ef642f%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63804212 > 82331650 > > > +96%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM > zIiLCJBTi > > > +I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EjvtnWhP > MVKgzlKC7f > > +8GC3EtidDKgkU5vMSuRaz3Bqg%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%7Cfadde1cdcefe4c1e5fb108dac7ef642f%7C686ea1d3bc2b4c > 6fa92cd > > > +99c5c301635%7C0%7C0%7C638042128233165096%7CUnknown%7CTWFp > bGZsb3d8eyJW > > > +IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7 > C3000 > > > +%7C%7C%7C&sdata=l0tVYsOuT6SNbREcg65s0FYjVVrpUM%2F5VztRvxE > sgA8%3D& > > +amp;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 > > + > > + phys: > > + maxItems: 1 > > + > > + interrupts: > > + items: > > + - description: Hotplug detect interrupter for cable plugin event. > > + - description: Hotplug detect interrupter for cable plugout event. > > + > > + interrupt-names: > > + items: > > + - const: plug_in > > + - const: plug_out > > + > > + port: > > + $ref: /schemas/graph.yaml#/properties/port > > + description: > > + A port node pointing to the output port of a display controller. > > Similarly, you need an output port to DP (or USB-C) connector. > Both the HDMI and DP driver don't need the functions of display-connector, do we still need an output port to connector here? B.R Sandor > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #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"; > > + phys = <&dp_phy>; > > + > > + port { > > + mhdp_in: endpoint { > > + remote-endpoint = <&dcss_out>; > > + }; > > + }; > > + }; > > -- > > 2.34.1 > > > >
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..c4d5362db2b5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml @@ -0,0 +1,59 @@ +# 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 + + phys: + maxItems: 1 + + interrupts: + items: + - description: Hotplug detect interrupter for cable plugin event. + - description: Hotplug detect interrupter for cable plugout event. + + interrupt-names: + items: + - const: plug_in + - const: plug_out + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + A port node pointing to the output port of a display controller. + +additionalProperties: false + +examples: + - | + #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"; + phys = <&dp_phy>; + + port { + mhdp_in: endpoint { + remote-endpoint = <&dcss_out>; + }; + }; + };