From patchwork Tue Oct 15 01:39:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q0sgSHUgKOiDoeS/iuWFiSk=?= X-Patchwork-Id: 11189579 Return-Path: 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 18FB213BD for ; Tue, 15 Oct 2019 01:39:27 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EBAA22089C for ; Tue, 15 Oct 2019 01:39:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBAA22089C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D67556E29A; Tue, 15 Oct 2019 01:39:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailgw02.mediatek.com (unknown [1.203.163.81]) by gabe.freedesktop.org (Postfix) with ESMTP id 7869E6E29A for ; Tue, 15 Oct 2019 01:39:22 +0000 (UTC) X-UUID: 45e850ff3f8644f2ae8f96e2b7e4a071-20191015 X-UUID: 45e850ff3f8644f2ae8f96e2b7e4a071-20191015 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 249486550; Tue, 15 Oct 2019 09:39:16 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 15 Oct 2019 09:39:06 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 15 Oct 2019 09:39:07 +0800 Message-ID: <1571103548.4416.6.camel@mtksdaap41> Subject: [GIT PULL] mediatek drm next for 5.5 From: CK Hu To: Dave Airlie , Daniel Vetter , , Date: Tue, 15 Oct 2019 09:39:08 +0800 X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: E831F57B568CC3860F45DE659E8D3BDBC446FC706415627AAC7FB50E63A5DD142000:8 X-MTK: N X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jitao Shi , Yongqiang Niu Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Daniel: This include mipi_tx, dsi, and partial crtc for MT8183 SoC. Regards, CK The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: https://github.com/ckhu-mediatek/linux.git-tags.git tags/mediatek-drm-next-5.5 for you to fetch changes up to 631005b255aab5f846f7ca03606613f898d70207: drm/mediatek: add no_clk into ddp private data (2019-10-09 16:58:13 +0800) ---------------------------------------------------------------- Mediatek DRM next for Linux 5.5 ---------------------------------------------------------------- CK Hu (1): drm/mediatek: add no_clk into ddp private data Jitao Shi (12): dt-bindings: display: mediatek: update dsi supported chips drm/mediatek: separate mipi_tx to different file drm/mediatek: add mipi_tx driver for mt8183 drm/mediatek: move mipi_dsi_host_register to probe drm/mediatek: fixes CMDQ reg address of mt8173 is different with mt2701 drm/mediatek: replace writeb() with mtk_dsi_mask() drm/mediatek: add dsi reg commit disable control drm/mediatek: add frame size control drm/mediatek: add mt8183 dsi driver support drm/mediatek: change the dsi phytiming calculate method drm/mediatek: adjust dsi and mipi_tx probe sequence drm/mediatek: add dphy reset after setting lanes number Yongqiang Niu (18): dt-bindings: mediatek: add ovl_2l description for mt8183 display dt-bindings: mediatek: add ccorr description for mt8183 display dt-bindings: mediatek: add dither description for mt8183 display dt-bindings: mediatek: add mutex description for mt8183 display drm/mediatek: add ddp component CCORR drm/mediatek: add component DITHER drm/mediatek: add component OVL_2L0 drm/mediatek: add component OVL_2L1 drm/mediatek: add gmc_bits for ovl private data drm/medaitek: add layer_nr for ovl private data drm/mediatek: add function to background color input select for ovl/ovl_2l direct link drm/mediatek: add background color input select function for ovl/ovl_2l drm/mediatek: distinguish ovl and ovl_2l by layer_nr drm/mediatek: add ovl0/ovl_2l0 usecase drm/mediatek: add mutex mod into ddp private data drm/mediatek: add mutex mod register offset into ddp private data drm/mediatek: add mutex sof into ddp private data drm/mediatek: add mutex sof register offset into ddp private data .../bindings/display/mediatek/mediatek,disp.txt | 30 +- .../bindings/display/mediatek/mediatek,dsi.txt | 4 +- drivers/gpu/drm/mediatek/Makefile | 2 + drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 61 +++- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 37 ++- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 128 ++++++-- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 67 ++++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 21 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +- drivers/gpu/drm/mediatek/mtk_dsi.c | 233 ++++++++++---- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 338 ++------------------- drivers/gpu/drm/mediatek/mtk_mipi_tx.h | 49 +++ drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c | 288 ++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c | 149 +++++++++ 14 files changed, 974 insertions(+), 436 deletions(-) create mode 100644 drivers/gpu/drm/mediatek/mtk_mipi_tx.h create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8173_mipi_tx.c create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c