Message ID | cover.1590982881.git.Sandor.yu@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=1A0W=7O=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E0EA139A for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jun 2020 06:23:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 55B3720734 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jun 2020 06:23:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZBn3lTYK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 55B3720734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=y6tx6VgdjxSGli9ou59gZW/P9+q7UatIwGEOP1NCXpk=; b=ZBn 3lTYKNgMg5hL2bfqEC1P2PkLwEUNs8lO5hWrvRrBdMEGW47nb/xvClWb/8a+YiUUdWiy3Fyht35p/ HNmwNHlZpeilpVdPTg31BGbzzlfKVAJ2k4RonB0Nk+1GROXnCQA7SECk88USbNovrCMcsPBZq4Qna QE33qDyGikzgKi12j4FfDMZKldEaXBLF5t/g12UQ4nEj1kq3BoOhUYyRB9KU2ndSuLOeYLuwF+ALm gbMzrzkmu2qPpZvU6M2Iu8BK3VJYHCW3F+9jha1E0/UAJSLXQYAJVnoL/LZLg/uat2VYQTxuHSIzF 6U9eq2tOkZ/F5P1sMo1ZdLODZEhBWrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfdr1-0007P6-6g; Mon, 01 Jun 2020 06:23:23 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfdqx-0007Nr-Ou; Mon, 01 Jun 2020 06:23:21 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 57FE22004CA; Mon, 1 Jun 2020 08:23:16 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 90AAA200480; Mon, 1 Jun 2020 08:23:10 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 60F9D40280; Mon, 1 Jun 2020 14:23:03 +0800 (SGT) From: sandor.yu@nxp.com To: a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, heiko@sntech.de, hjc@rock-chips.com, Sandor.yu@nxp.com, dkos@cadence.com, dri-devel@lists.freedesktop.org Subject: [PATCH 0/7] Initial support for Cadence MHDP(HDMI/DP) Date: Mon, 1 Jun 2020 14:17:30 +0800 Message-Id: <cover.1590982881.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200531_232320_084931_EB0A40F6 X-CRM114-Status: UNSURE ( 7.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.21 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Initial support for Cadence MHDP(HDMI/DP)
|
expand
|
From: Sandor Yu <Sandor.yu@nxp.com> The patch set initial support for Cadence MHDP(HDMI/DP) drm bridge driver and iMX8MQ HDMI/DP. The first patch drm/rockchip: prepare common code for cdns and rk dpi/dp driver is from the link https://patchwork.kernel.org/patch/10788309/ that still in reviewing. Files in drm/bridge/cadence compose with serveral parties, drm bridge driver, Audio and API functions. -cdns-dp-core.c: Displayport bridge driver -cdns-hdmi-core.c: HDMI bridge driver -cdns-mhdp-audio.c: DP/HDMI Audio -cdns-mhdp-common.c: MHDP common API functions -cdns-mhdp-dp.c: MHDP DP API functions -cdns-mhdp-hdmi.c: MHDP HDMI API functions Sandor Yu (7): drm/rockchip: prepare common code for cdns and rk dpi/dp driver drm: bridge: cadence: Create cadence fold drm: bridge: cadence: initial support for MHDP DP bridge driver drm: imx: mhdp: initial support for i.MX8MQ MHDP Displayport drm: bridge: cadence: Initial support for MHDP HDMI bridge driver drm: imx: mhdp: Initial support for i.MX8MQ MHDP HDMI dt-bindings: display: Document Cadence MHDP HDMI/DP bindings .../bindings/display/bridge/cdns,mhdp.yaml | 46 + .../devicetree/bindings/display/imx/mhdp.yaml | 59 ++ drivers/gpu/drm/bridge/Kconfig | 2 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/cadence/Kconfig | 15 + drivers/gpu/drm/bridge/cadence/Makefile | 5 + drivers/gpu/drm/bridge/cadence/cdns-dp-core.c | 530 ++++++++++ .../gpu/drm/bridge/cadence/cdns-hdmi-core.c | 600 +++++++++++ .../gpu/drm/bridge/cadence/cdns-mhdp-audio.c | 298 ++++++ .../gpu/drm/bridge/cadence/cdns-mhdp-common.c | 682 +++++++++++++ .../gpu/drm/bridge/cadence/cdns-mhdp-common.h | 40 + drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c | 206 ++++ .../gpu/drm/bridge/cadence/cdns-mhdp-hdmi.c | 330 ++++++ drivers/gpu/drm/imx/Kconfig | 1 + drivers/gpu/drm/imx/Makefile | 1 + drivers/gpu/drm/imx/mhdp/Kconfig | 9 + drivers/gpu/drm/imx/mhdp/Makefile | 4 + drivers/gpu/drm/imx/mhdp/cdns-mhdp-dp-phy.c | 390 +++++++ drivers/gpu/drm/imx/mhdp/cdns-mhdp-hdmi-phy.c | 588 +++++++++++ drivers/gpu/drm/imx/mhdp/cdns-mhdp-imxdrv.c | 142 +++ drivers/gpu/drm/imx/mhdp/cdns-mhdp-phy.h | 148 +++ drivers/gpu/drm/rockchip/Kconfig | 1 + drivers/gpu/drm/rockchip/Makefile | 2 +- drivers/gpu/drm/rockchip/cdn-dp-core.c | 247 ++--- drivers/gpu/drm/rockchip/cdn-dp-core.h | 44 +- drivers/gpu/drm/rockchip/cdn-dp-reg.c | 960 ------------------ .../drm/bridge/cdns-mhdp.h | 257 ++++- 27 files changed, 4464 insertions(+), 1144 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.yaml create mode 100644 Documentation/devicetree/bindings/display/imx/mhdp.yaml create mode 100644 drivers/gpu/drm/bridge/cadence/Kconfig create mode 100644 drivers/gpu/drm/bridge/cadence/Makefile create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dp-core.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-audio.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.h create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-mhdp-hdmi.c create mode 100644 drivers/gpu/drm/imx/mhdp/Kconfig create mode 100644 drivers/gpu/drm/imx/mhdp/Makefile create mode 100644 drivers/gpu/drm/imx/mhdp/cdns-mhdp-dp-phy.c create mode 100644 drivers/gpu/drm/imx/mhdp/cdns-mhdp-hdmi-phy.c create mode 100644 drivers/gpu/drm/imx/mhdp/cdns-mhdp-imxdrv.c create mode 100644 drivers/gpu/drm/imx/mhdp/cdns-mhdp-phy.h delete mode 100644 drivers/gpu/drm/rockchip/cdn-dp-reg.c rename drivers/gpu/drm/rockchip/cdn-dp-reg.h => include/drm/bridge/cdns-mhdp.h (64%)