From patchwork Tue Nov 8 13:00:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 17029 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2691930wru; Tue, 8 Nov 2022 05:06:13 -0800 (PST) X-Google-Smtp-Source: AMsMyM7jM9MmQBpFcj3g7rCENDNKnFseeh8y7xDgKc4ICrt9utkXX2nxuNWAJYff87AlNQ/7i9C2 X-Received: by 2002:a17:906:401:b0:73d:af73:b78 with SMTP id d1-20020a170906040100b0073daf730b78mr54589059eja.122.1667912773073; Tue, 08 Nov 2022 05:06:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667912773; cv=pass; d=google.com; s=arc-20160816; b=OH/iQ9IIDcF6HlqT073eBDY7PpM7aWuKFaMSxK+bPtR9pfkKJBs8ZrxQnUQ/amdPIm SuHuN5C0QGJTiXri9EraxqKVjAWKEM6mB3YNu+vL2O+uI0B6R38EcCde0TZ5w3VxecPV VD0+FNO/d1iAmzePKYQyLEXGyYHkRFs4RfcuPt5cnAhKGHH310KUBJRub+8/lZbZxAoZ 8gQ4X56X/W3UHMeCggmjrJOayjL9nT9K12XxFfmdtzo9Z7RMYlCtK6TXngmC57yerckO eI0tdpcAS7fEtaFOIZuvgyxr3dkGj0Ikbrv/h/ObNwTnhuXNW9VgqEr0AV1xuQuc+cuV BOzQ== 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=n6W4A/rcdPSCUOVboIwV5PmEr/hwry3p64n4pydxEoY=; b=p4sHsY5o6Hh4oqFbSW7dtn0Q2WUAnyraLZrD4hMktlnNQInW1jS8ZhrFO38JSLnmu8 Mw1hdBcBOhI6Ylmc7FC+ViRSDVkOppp01yk5x6tZIhbkvq/C/uWw1AHcZKmZKyCnu9VS 9IStcA8JxYMOmU2mgLPzuIBdN3UcZ3FAmBJN0FgKfqIOzMT4usHQHEDLeeqgvSeCmjSq RYt6RX/Kr/reAMP7Y0Ip1ut+gDgEqo3LePSnMpK3Faxrx/Rlqa3zg66qwvygDPaQR5AP aE4rBqxTLcanSvb4g/ylg1bGAYyf4grK0No+bBkNq0d73UtQqIxtzTUlLdIJnG1k8lBp OS1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=iFvDond+; 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 j8-20020aa7c0c8000000b00458e689f41fsi10592838edp.415.2022.11.08.05.05.48; Tue, 08 Nov 2022 05:06:13 -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=iFvDond+; 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 S234339AbiKHNBr (ORCPT + 99 others); Tue, 8 Nov 2022 08:01:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234135AbiKHNBp (ORCPT ); Tue, 8 Nov 2022 08:01:45 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130041.outbound.protection.outlook.com [40.107.13.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98DA9528B9; Tue, 8 Nov 2022 05:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gPi5+tFjtz1M4i8MFH2j7/mCbGvDgS8frnoXFFfSg7zgKXVYvOhs/t3I4cEgKp3zIrIIXGCtiwgxzYdWgAq/fVRDHcD0qwGE3zzl/lh2lRz2lMQbP31c7strHT2KhXvR26cU8SvTRDCOPVBZq/bY66LO14mY5jcPGWMZ6uXK8gYagbFo53S8k2B/znRqQO2NlPUXvHgpSscnFRi/Udf/09+5FRuWlcHdRM9zPyCm1oGnakvlLqga13EV7rs11ltujQ2r6MWOc4AAO+pi9q+At9xWmf9xpV9sQx/unMETCeiMwmJ7DCgAIzd+lCchVdot0AFzuVfyLFJxS3h1vbDGVA== 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=n6W4A/rcdPSCUOVboIwV5PmEr/hwry3p64n4pydxEoY=; b=M8kZAWzWhbxGKhOCQFO454IqFa7kOqsTvbZcOUqrjTylPMwBqtKTkDMYZc3qyY+2EykX4t4RwmMeugImu4qNOKO6EiU9hxxDs5zGPM2YCFXVyDuT/t1r92MWvPUc0lJ8tR8A/XjopB5yTwusN8AONz+3yahXYD0gm0dXzAfwrSVK2BC1shtf2hqgrkBJu3SODxCd1+x4jCGR4rugk5UJzg3Uuy3CDhuhnpUwBHU+OeMjaYG6KOdG2knVxm4AUmp3Xnpz4YpUlps4HsNpFBwVih5WoQvBPe1vdKuaoZIC5iNZmcFQ89Irw9QljvnuOa1O3WTR80poCAzQyFB9WdRB5g== 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=n6W4A/rcdPSCUOVboIwV5PmEr/hwry3p64n4pydxEoY=; b=iFvDond+L8IzlJIxDC3i/McubkX4zradXm8kPm5XLOFrBM2eOG0KHxnR58Q12N0fuz1jeQiMpkLmxnrIm68QnHpbqfE9jrb1Fkl4HfizpbF0ZXe7DMfONkAAwTjnNktaETnv707cCKuNboi8GBTx93qYKtmvKF6l2831MWX6kZE= 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 PAXPR04MB8895.eurprd04.prod.outlook.com (2603:10a6:102:20e::9) 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:01:42 +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:01:42 +0000 From: Sandor Yu 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 02/10] dt-bindings: display: bridge: Add MHDP HDMI for i.MX8MQ Date: Tue, 8 Nov 2022 21:00:05 +0800 Message-Id: <9ccf53cad7f735f985f4ca37b3b0159ef78a2103.1667911321.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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_|PAXPR04MB8895:EE_ X-MS-Office365-Filtering-Correlation-Id: 142297c5-c437-4f05-e311-08dac1896161 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lCyMPoVVC9sQMv/wNa9uotwRkP3WMLJaPPGJge8norLRMZrT5gY4292JgVsJ5sPqiDjq1AxuRtnNY0s0/7WpB6XxiJdVJ0ObQDoV7wBA95BBw6FAn2AyFLBCxu5F9aI/KzFfGuqHPhqY3cJdxJxyHqjwr16qMczAKB+c/S69KctpjVHzTvTqEqjs2XHSGTC+eHfCh71Lvv6MMPxcllaQRjN6CdkkRbUKHSZ2vi1CIqGHLqaae8oh48SQftZsn0I22K3O141gUrVXkgmb4xcDaiBCDAECWlin4mfMFLl2pJ3SR2zglD5BmzYxJ6Bbvg/kQ0fHj3bO3bPVzyHTCo55vayq77Svuk+lQFG4ltzfxsxD+cWEdRLMDlL5lhAgAUZ6DkPZKgTvSfL+z/Kv62zW2LWw7OYvUfECYnW8UiJ9KU90IeRpGb6pzso0/FgMQhcIuctuk9PlgF0rQqYrIWDA/zJnJ+KdkBPUlpGDKzjcu5N1qBW7cdIT3rK/J2BDaGPrEdwF1vgRfoV0xnwLOe7py0OhNxImHjjwI9FFMs9ykhz6+MLgC7YD27z30cK8dwING0PpdZbkxrpDzeUAkJRSTHh66e+knwwVpy8mqQy87vdIJqsBxeDlbll+JvnilTBdM7T/O+93VFMCjVD4bhxZyDbE9Vy/DR2fvA21CtTCH/xJtnYMnnAZP3a4tmbm8T4dMSrIoZ6UTbNRsAWC/5HnyuhGMcz89EcprpV1u23JTCRDoVmzJ6tK5RdmGgAasF09M9zBpjr7eSJa0nMqudei3DAUlcqr96UouJV1vU7/DgSimdAclN5vJ3hqgwldE3g5vAQ43fVVPukbtvAVK8Kzdlv+ewoF5XZDdDgNC6vixiQ= 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)(346002)(376002)(39860400002)(396003)(366004)(136003)(451199015)(66946007)(38350700002)(4326008)(66556008)(66476007)(921005)(8676002)(316002)(86362001)(8936002)(2616005)(5660300002)(41300700001)(6506007)(6666004)(6512007)(26005)(966005)(2906002)(478600001)(83380400001)(186003)(6486002)(7416002)(52116002)(38100700002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s5vEzLZrvAQ7onsqnSiLRNe2QUysMRK5JMtsXn82+ZIkkNaAxHc9Ycw7XOxbxjZS+5W4nQpKAFPE7guCAlJA4AfeOiES7RHtVjaIXfJBbA8DF8UvEF0EQGoPFNJ2BXK3q1Rcy/f42NHYDxfzWMQZGsnZZ0RULjXKRXgLvaga+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KAQNxfx5dSKzUslOQoFUQZ/D9z8+6LAu0LwMGkOZ63lJpV5Np8oZHnuTiJIB8gvmxopV5+Uc87Ds/xd7Rx7E///QOl/M/PEtOj84ey4uSiqYnXAxn0Yuu2S+OyakY4rEcy09AjLacweg7H0PIwWvF1YChLp+zkMEL5qsq9mjEbVVEYTT564teoN8+lk+7ddp9Mf9/DGjEdE9SY10nUccKll/ZxP807QleM9I0os7gmz24xhKS1Jwi9fniAWanQV5by2dzSfMdJNKwwG8bvhOE5MYGGGAAaPjJiaMrSsR2L6oyeDigsLTs90ZaQdcbzIeqzh1ajvkVEAwAJIoHSLlS/up4mFp9bpoYtA X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 142297c5-c437-4f05-e311-08dac1896161 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:01:41.9063 (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: 9VBo6HS4veA9RMFZQuE9QhXkTfw2Jh/oAKXMOEJ3OCMDGdbdgxrF9oFysE4VbG/F5sx14V+JbalhUorLzlSe1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8895 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748933303576859571?= X-GMAIL-MSGID: =?utf-8?q?1748933303576859571?= Add bindings for i.MX8MQ MHDP HDMI. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-hdmi.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.yaml new file mode 100644 index 000000000000..8c0afef157aa --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-hdmi.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-hdmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence MHDP HDMI bridge + +maintainers: + - Sandor Yu + +description: + The Cadence MHDP TX HDMI interface. + +properties: + compatible: + enum: + - cdns,mhdp-imx8mq-hdmi + + 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 + mhdp_hdmi: hdmi-bridge@32c00000 { + compatible = "cdns,mhdp-imx8mq-hdmi"; + reg = <0x32c00000 0x100000>; + interrupts = , + ; + interrupt-names = "plug_in", "plug_out"; + phys = <&hdmi_phy>; + + port { + mhdp_in: endpoint { + remote-endpoint = <&dcss_out>; + }; + }; + };