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: 13036276 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 C26CEC433FE for ; Tue, 8 Nov 2022 13:02:02 +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=ISSgFSxhNycakM5MWxY++c4uy+5PMdR64VTQRZPhhQM=; b=KuMEIGSjv63uZu N8DWDJdTo2tQE6p3ygls4K3KF/y+wHnHAm/sTJI6p/DW/nqD3mUGMjBgx2N+HeinIn/7u8hq144ZI +1nn6A6xmLnuY58DY15JpL6coGvWD6SPS70sgZOz24T4x1MGby7w+rvMelJ+SSVWZQ7fP2ot6zW2N Gj9s7M+fD7K8mPcC5WzpjaIWqMuyNptyu74/dcRzW/IiDMp6MrdA8GEmENXivrqopt8JtQpq1l/PV /e9nTPYH7HODP6e8lGtpj6RbvOc7K+quQr/NImYwwZpeLx5dFKMFBA6a5Mbtek5QhkNGIpNeWnJ1L ondKhrDjQ3OpW7rSvNVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osOEr-005PWS-VZ; Tue, 08 Nov 2022 13:02:01 +0000 Received: from mail-eopbgr130044.outbound.protection.outlook.com ([40.107.13.44] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osOEb-005PJQ-Fq; Tue, 08 Nov 2022 13:01:47 +0000 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+ldH6aYpAJ79oDBJzsWc8Mvjp/2OO9GIBcj88Xk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OZ63lJpV5Np8oZHnuTiJIB8gvmxopV5+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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_050145_557875_95C01627 X-CRM114-Status: GOOD ( 12.10 ) 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 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>; + }; + }; + };