Message ID | cover.1697162990.git.Sandor.yu@nxp.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1639652vqb; Thu, 12 Oct 2023 20:26:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH2mKIHbqR3uHhZJMEf4udWxN8nb/RIKLYC1tmTN6TpEu2lVWDKTVoXculxxR4GPCueB7ff X-Received: by 2002:a05:6359:639d:b0:14d:2d2a:97f9 with SMTP id sg29-20020a056359639d00b0014d2d2a97f9mr21355673rwb.1.1697167567723; Thu, 12 Oct 2023 20:26:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697167567; cv=pass; d=google.com; s=arc-20160816; b=L8/3wMZyEhOY/CMlWB81dfRUHbAXMZGqiel4c8aHM4QP0lwfp7ED7qpi9hLjlIYjm/ PcIrtuM8GiLkAZPDsWZ8hhgEbqzgnEUMIN5Ymfw1WYl82zrJjdFs9XNYbiCFXUX5MFn0 uExBxZDVHFc93zOtmspjbAzsD9pyG3aZkbV1GRKIct6rx3vLzezt71QQ5ffJkmaBGCgq rwyVU7SrvPbQP0JEeLfakEtEk+rEQtIJ6ygUeIFgBdVoYbmRks0uYzSNlSXqWIRHGUqu OYY3ur21bc7G9GCbHPGr+2qT7B8Ci1aNfgR73o0KXRfivWz4pVie5RwAMJ8to4SpZnko r1oA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=VkUcMzvT54oZrVmKbD9jFzBMgS1Qtcgdd7sYJ6G/tmI=; fh=8NLGe14sCJly95EXmVPGTZNu7Y8L8QDjBnK0D9mygcM=; b=ArfDVa43HMAyBi23uTdThHQCk58GtJUMcFRYuArcUwxcPUz0Xn3P4o+NCLmPaRoGOj B9BFDmmqsH+sdwUz0i6gLuiYmUxLdcZnr8KaTj7IzzFAz+WZnXX9VZJ4lie9Ns63npTa JVPw7UVbyoKphZh0+cgF4Tsy16yns19iWLjohWbcv8UdKPM7y9MV+eP/Uje1Gsmo1EA4 TRnOaVQkqxO1fEknsHrxtWYU5xc3+/rhrI5yCvrFCDLlq8dL1ocka6XU00fZ/MOYRqYI bOXDiJE+39eHU6OdKTJv+7gNF05Lp+2c+2dOluojSpkm2nfDaeW2iKjjF7DNlJkaTvhP H6kQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hsAXacCx; 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::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id a19-20020a056a000c9300b0068fbac77dd0si16899134pfv.226.2023.10.12.20.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:26:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hsAXacCx; 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::3:1 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7D3DA83BDCFA; Thu, 12 Oct 2023 20:26:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229436AbjJMDZo (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Thu, 12 Oct 2023 23:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjJMDZk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Oct 2023 23:25:40 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2087.outbound.protection.outlook.com [40.107.105.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DCEFC0; Thu, 12 Oct 2023 20:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MHduVwzo+6y+BT9uSayy6Q/Q/5yGqWZXVHAJcjZ7vo08es433we9f6pm+Ydazq4BLcN3+CMZUFjy9mC7IvQAfB/4ROlfBea1lkhW3YYUw7EKQJDK1Hd4kjxvgHYlSoErVjbFglKcXj8CP1v2PAQ5w+qdjuwkt2so7qipT0paaUC6wL8h3N91r370cTLcN/cwmtqg77nNcPchFROuf1upEzHJh6Pdq0yM+XMyh//o//VG8fNYBUOmFEbeJCWk3+LN5401Kj/Z0Zls/8AeCRNKFHU4YhOOeZRD8XPyPmU6keR10toCTI9wXv5TinG3pK1H21Rzj86rle/NMh0CHpY4og== 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=VkUcMzvT54oZrVmKbD9jFzBMgS1Qtcgdd7sYJ6G/tmI=; b=GCBpbTQGfdaGHfzZ8RRsMmQIzv8FaJrWQi4pMUygiUoIAddf5fkk8ckSrFKAQadLfEJMQwE/nab0oNNGjV0Sxlqoi7luGtJsu9UWmcH+hILKEhdWLM8qzyxT33/3W+sYfcTjd4MojVbrcAb5LoQvL4ndb9IuG3P+lgxR1nQ+G9onZKDsD0VO3OwA3VOtRl8HGL3VG5m/MNqhhBZKuvBfpBouTtawvdrUZGMg/rkP+gvJbhyWp81mrMeRR0rHD+35yNyTm0g7XVrPbB1dLwUc+d47XfpWza55dfzRz4swvedqA+MI2i6Qwi9bVrx8T8jRvXFe9ekeBGjC3cC8d9Q/8A== 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=VkUcMzvT54oZrVmKbD9jFzBMgS1Qtcgdd7sYJ6G/tmI=; b=hsAXacCxKx+ewbrzivz1pBCXBcwM9kmnwLe3eLDS/4LgMjHF7UA/2J+6/b2cBalwGUBUP6E2P5CXUs0C/s2A8BehTCZsEaYiGTBIvyBf3LF4PQpGlmRWv6+7PsB5m5gJ5Ib5LvjGe5C8zhN3SOmvGZL6eZWLYDkd0EhaUwbGBl4= 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 AM0PR04MB6978.eurprd04.prod.outlook.com (2603:10a6:208:17d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Fri, 13 Oct 2023 03:25:34 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2%7]) with mapi id 15.20.6863.043; Fri, 13 Oct 2023 03:25:34 +0000 From: Sandor Yu <Sandor.yu@nxp.com> To: dmitry.baryshkov@linaro.org, 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 v10 0/7] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ Date: Fri, 13 Oct 2023 11:24:19 +0800 Message-Id: <cover.1697162990.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR04CA0179.apcprd04.prod.outlook.com (2603:1096:4:14::17) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM0PR04MB6978:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cda7514-9aa6-4680-df40-08dbcb9c0fe0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VA7hzpqNPuWjBlhTOVPZaXWgmyGRFJFXlpLeCjB0aNQZkb4KmQIQ/Nir21ceJsHoWk11k7qBUzw3j6L3zJGQVthxkCRKpsRer7+CnyqwXPI2PBD7vGdIWCaisbI7ncqjUcZnzWERrpxYC/GqlGwTYLQoX7XmouX8PUqYdJuKUmshebH83YraFP/cVbnwSgiD7D2Spc8HDTpR1eWpHdO+BfiEixJKBMEAwCdMKvXxsVC1MFAyeNiqgfzX31VpWq7orM0/QUtYDtruStIQy9lItJe3TTgbx4Mv/6h86oSZ7tJN30TWWE0nm3S35wX11xMZDvec/IVoWiOhNJK9/+1Nx09up61Jh9qmZ5iPEx5esVp04Bx80uNQq2fBU4Z7lXcPg6ENf0ci2I+ROSJ6nmuNYlSrQJH2ZEyTTtKR8lP5q427HPxPg6A2IccwCtam21oor44BAT02sd30K7Qvuth8aToFST2LjpUqMlv9auzdPBfxcPwttCYGEvAU12XW4Ev01p0fixSJV+Cuiv3Jp0W63cUg3R3oFEvuunn631hDzz2BgU8huTyEzPZZ80hPe3RMNpKBUiEeRqnoeN+Y/WzuZbBZyQ5QQxOxzRQZN+IxOPn1Q+3fqzPOvs+Xuxb+cLOl 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:(13230031)(39860400002)(366004)(376002)(346002)(136003)(396003)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(83380400001)(86362001)(7416002)(921005)(36756003)(2906002)(38350700002)(38100700002)(41300700001)(52116002)(6666004)(6506007)(6512007)(8936002)(8676002)(5660300002)(478600001)(966005)(6486002)(66946007)(66556008)(66476007)(316002)(26005)(4326008)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Teh8Dc9kWcwf0GYAKsdcdDZWH78W?= =?utf-8?q?Ip8gcvbGXzPgdfgOCoDDbviGhGDDCT0RRhOiu7OrEDg6xN0V490yfUJRIkCioZVpn?= =?utf-8?q?5GvXkcXFFvXyHnLDeZPV3GQ6h8RrViztql3t3Xf9t23MdFNyCguFpistHUY/tt+kb?= =?utf-8?q?kNhnDPMFJMvZp+L8o7kMiz2RwfTKYrFGBSVGoGwlNoreVKxBdPuMuIO5Yt0m3VC84?= =?utf-8?q?QEcpuCKzbIwB1PhmLYREBuaGS7dxGHEvj0lipVsFmSydC9dWXv5icxxOFxb2H3pnp?= =?utf-8?q?5fRC8iqtKi/JPNjmxSeFoebGB/+UkfjVQ0laIkywhXSLIJD/5tneZmEWL2QDKXeTp?= =?utf-8?q?t8LoSUcbzfFCmJpueOEQeL8FEQJdBoVI1PG68i/vGFNegYXoKrKCSG8RVyh2eZjOu?= =?utf-8?q?+byy49mo/5xyqvy0YWIMQHU/I4LzMRh4PHM7c09aN7tP43UftNV1qEyDLEgdwNaE8?= =?utf-8?q?qZhrSaCAeBz3vRSL7//ORVgGbJDkUabarfFp1f6SswzcBLeI3qsBOCAnf2Jg8NinG?= =?utf-8?q?3hC4NZnBa9S1qwYHV8qanXVQ1BUp35hI0TYDef7GTjjqTE7NvXoFaHrtpaypwei4f?= =?utf-8?q?MfrCTN36dXBh/yHnOO18aW3kCM3jKh4uQ03sHS95uT72msXu/q5H38mW3Dyyg7NKB?= =?utf-8?q?B35hyrQPgOI9B+3+ZE8vk9CBKa6KFjbavGnBLrZ3yDegVyH67eKyNA5brs7F3apcB?= =?utf-8?q?3UUOG1fjmebIlhRFSpL/GYbA1E6zpw3WmIAOjBMc/YU23Xte5Pol2B78ELlGVXhwO?= =?utf-8?q?xHs0mfI6K90TD3t64XIePjqMBDzCRGadAJKCMUE9beMCJp2DYzOk5WzfLX5s09wkI?= =?utf-8?q?W5BxgEMJEEr9gRBrWR9CznyWl9CHN0J+zFt2mKJesIFR1t1ksHmzLWwdMoEGaVKrm?= =?utf-8?q?8pZOIF7idveBd5KAxp3Ql9xtkXw3CjIp0p71IPvllVjyBRNbQ+Nq2S2ZUrbMONFAi?= =?utf-8?q?dk0U4bMg7B/KoZh8k1ZZUMETIif2Za8mleukpiLnhkTnG1YU/+yExJCqORAVUq4FA?= =?utf-8?q?MFg5EohcBjW4gKyVYtpxnlx3fqbJpTpBqgNjMpMBL3Kgf37FseFF3EapguRXUo9MY?= =?utf-8?q?zJizct6zNVA3lzK1yrklQ9WNjI8u7S3AuJhnlqmtR7jY/FV2wy//6SXD2ELHVKrdt?= =?utf-8?q?cJMZR9XsLBp1nAtLlx8lCWRTwMjl5aLhS8Yp//mne95+36rdCrcqhHs2JvFTi/tdg?= =?utf-8?q?Lm8LogbSG2WEU6uv3ZEFkPXukpiHJdovluGeqjTbNM+M0zUX1051ZTcdLbnEIUwBk?= =?utf-8?q?LoGeAZv6l1ioFtmYFrik11rIIWBjDIAQxjXAwtEsp0eZfzebseCwOdD1rujuqffaw?= =?utf-8?q?UuXOCo+cuwQREdyIDHyY1/GJ11QRckcshmCTdnOqcVECrDznz18JmTYNUVVYLkcna?= =?utf-8?q?a+trh/leNzGt3rJqpACr2PIL99YZNJ5cjkkDrOQPk+wVZ3Mk1+mnGgkHi3ojQRQCe?= =?utf-8?q?/GsINwLyY1d0oXnoHT+VpheB0S6V1bwagZ8rixXtuJJH8LcH2DssQMX+65oNjnGjL?= =?utf-8?q?7Jk1XBa5JPc6?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cda7514-9aa6-4680-df40-08dbcb9c0fe0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 03:25:34.6952 (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: 4x6G8MpyYUUiFsoAyJkKNeuEuPBDter2ZJM/aTELnny5lvrCm9IvDr38ZTILksIhVNx1fZMbclFM1w7lK2ZxKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6978 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:26:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779609179265284457 X-GMAIL-MSGID: 1779609179265284457 |
Series |
Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ
|
|
Message
Sandor Yu
Oct. 13, 2023, 3:24 a.m. UTC
The patch set initial support Cadence MHDP8501(HDMI/DP) DRM bridge drivers and Cadence HDP-TX PHY(HDMI/DP) drivers for Freescale i.MX8MQ. The patch set compose of DRM bridge drivers and PHY drivers. Both of them need patche #1 and #2 to pass build. DRM bridges driver patches: #1: drm: bridge: Cadence: Creat mhdp helper driver #2: phy: Add HDMI configuration options #3: dt-bindings: display: bridge: Add Cadence MHDP8501 #4: drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver PHY driver patches: #1: drm: bridge: Cadence: Creat mhdp helper driver #2: phy: Add HDMI configuration options #5: dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY #6: phy: freescale: Add DisplayPort PHY driver for i.MX8MQ #7: phy: freescale: Add HDMI PHY driver for i.MX8MQ v9->v10: - Create mhdp helper driver to replace macro functions, move all mhdp mailbox access functions and common functions into the helper driver. Patch #1:drm: bridge: Cadence: Creat mhdp helper driver it is totaly different with v9. v8->v9: - Remove compatible string "cdns,mhdp8501" that had removed from dt-bindings file in v8. - Add Dmitry's R-b tag to patch #2 - Add Krzysztof's R-b tag to patch #3 v7->v8: MHDP8501 HDMI/DP: - Correct DT node name to "display-bridge". - Remove "cdns,mhdp8501" from mhdp8501 dt-binding doc. HDMI/DP PHY: - Introduced functions `wait_for_ack` and `wait_for_ack_clear` to handle waiting with acknowledgment bits set and cleared respectively. - Use FIELD_PRE() to set bitfields for both HDMI and DP PHY. v6->v7: MHDP8501 HDMI/DP: - Combine HDMI and DP driver into one mhdp8501 driver. Use the connector type to load the corresponding functions. - Remove connector init functions. - Add <linux/hdmi.h> in phy_hdmi.h to reuse ‘enum hdmi_colorspace’. HDMI/DP PHY: - Lowercase hex values - Fix parameters indent issue on some functions - Replace ‘udelay’ with ‘usleep_range’ v5->v6: HDMI/DP bridge driver - 8501 is the part number of Cadence MHDP on i.MX8MQ. Use MHDP8501 to name hdmi/dp drivers and files. - Add compatible "fsl,imx8mq-mhdp8501-dp" for i.MX8MQ DP driver - Add compatible "fsl,imx8mq-mhdp8501-hdmi" for i.MX8MQ HDMI driver - Combine HDMI and DP dt-bindings into one file cdns,mhdp8501.yaml - Fix HDMI scrambling is not enable issue when driver working in 4Kp60 mode. - Add HDMI/DP PHY API mailbox protect. HDMI/DP PHY driver: - Rename DP and HDMI PHY files and move to folder phy/freescale/ - Remove properties num_lanes and link_rate from DP PHY driver. - Combine HDMI and DP dt-bindings into one file fsl,imx8mq-dp-hdmi-phy.yaml - Update compatible string to "fsl,imx8mq-dp-phy". - Update compatible string to "fsl,imx8mq-hdmi-phy". v4->v5: - Drop "clk" suffix in clock name. - Add output port property in the example of hdmi/dp. v3->v4: dt-bindings: - Correct dt-bindings coding style and address review comments. - Add apb_clk description. - Add output port for HDMI/DP connector PHY: - Alphabetically sorted in Kconfig and Makefile for DP and HDMI PHY - Remove unused registers define from HDMI and DP PHY drivers. - More description in phy_hdmi.h. - Add apb_clk to HDMI and DP phy driver. HDMI/DP: - Use get_unaligned_le32() to replace hardcode type conversion in HDMI AVI infoframe data fill function. - Add mailbox mutex lock in HDMI/DP driver for phy functions to reslove race conditions between HDMI/DP and PHY drivers. - Add apb_clk to both HDMI and DP driver. - Rename some function names and add prefix with "cdns_hdmi/cdns_dp". - Remove bpc 12 and 16 optional that not supported. v2->v3: Address comments for dt-bindings files. - Correct dts-bindings file names Rename phy-cadence-hdptx-dp.yaml to cdns,mhdp-imx8mq-dp.yaml Rename phy-cadence-hdptx-hdmi.yaml to cdns,mhdp-imx8mq-hdmi.yaml - Drop redundant words and descriptions. - Correct hdmi/dp node name. v2 is a completely different version compared to v1. Previous v1 can be available here [1]. v1->v2: - Reuse Cadence mailbox access functions from mhdp8546 instead of rockchip DP. - Mailbox access functions be convert to marco functions that will be referenced by HDP-TX PHY(HDMI/DP) driver too. - Plain bridge instead of component driver. - Standalone Cadence HDP-TX PHY(HDMI/DP) driver. - Audio driver are removed from the patch set, it will be add in another patch set later. [1] https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.Sandor.yu@nxp.com/ Sandor Yu (7): drm: bridge: Cadence: Creat mhdp helper driver phy: Add HDMI configuration options dt-bindings: display: bridge: Add Cadence MHDP8501 drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY phy: freescale: Add DisplayPort PHY driver for i.MX8MQ phy: freescale: Add HDMI PHY driver for i.MX8MQ .../display/bridge/cdns,mhdp8501.yaml | 104 ++ .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 + drivers/gpu/drm/bridge/cadence/Kconfig | 20 + drivers/gpu/drm/bridge/cadence/Makefile | 3 + .../gpu/drm/bridge/cadence/cdns-mhdp-helper.c | 306 ++++++ .../drm/bridge/cadence/cdns-mhdp8501-core.c | 316 ++++++ .../drm/bridge/cadence/cdns-mhdp8501-core.h | 365 +++++++ .../gpu/drm/bridge/cadence/cdns-mhdp8501-dp.c | 708 +++++++++++++ .../drm/bridge/cadence/cdns-mhdp8501-hdmi.c | 673 ++++++++++++ .../drm/bridge/cadence/cdns-mhdp8546-core.c | 383 ++----- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 44 +- drivers/phy/freescale/Kconfig | 20 + drivers/phy/freescale/Makefile | 2 + drivers/phy/freescale/phy-fsl-imx8mq-dp.c | 720 +++++++++++++ drivers/phy/freescale/phy-fsl-imx8mq-hdmi.c | 961 ++++++++++++++++++ include/drm/bridge/cdns-mhdp-helper.h | 96 ++ include/linux/phy/phy-hdmi.h | 24 + include/linux/phy/phy.h | 7 +- 18 files changed, 4443 insertions(+), 362 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-helper.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp8501-core.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp8501-core.h create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp8501-dp.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp8501-hdmi.c create mode 100644 drivers/phy/freescale/phy-fsl-imx8mq-dp.c create mode 100644 drivers/phy/freescale/phy-fsl-imx8mq-hdmi.c create mode 100644 include/drm/bridge/cdns-mhdp-helper.h create mode 100644 include/linux/phy/phy-hdmi.h