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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B361FC4708C for ; Tue, 6 Dec 2022 02:01:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A233810E2B6; Tue, 6 Dec 2022 02:01:05 +0000 (UTC) Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8631610E033 for ; Tue, 6 Dec 2022 02:01:02 +0000 (UTC) X-UUID: 32c028dc49314c038d1f37c885e250da-20221206 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=h9vpf00nkT1FqhFNddOs6fidJI6QIuGaTmh82e2scfo=; b=eKCXcfCYpnwZnLsgUpdaTJK+/GSxsUCFfoKZaPX2SB9qxW+sxD7y2EpbXTr3v1ulYeHYucMXaEFNjNuvvEYG9OIDVh1f78q5P4KGOAf8CpeKVVwjdYVPyYgHCEGDbXvZOiK9I4drl3h+5sAQi3OZas5nfYhhVEdTiX6sOa0m+1Q=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14, REQID:c9cfa8f4-47ac-4e5d-85bf-c661b89c0d10, IP:0, U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:dcaaed0, CLOUDID:ec78a116-b863-49f8-8228-cbdfeedd1fa4, B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 32c028dc49314c038d1f37c885e250da-20221206 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1993151219; Tue, 06 Dec 2022 10:00:57 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 6 Dec 2022 10:00:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 6 Dec 2022 10:00:55 +0800 From: nathan.lu To: Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue , Matthias Brugger Subject: [PATCH v4 0/6] Add first version mt8188 vdosys0 driver Date: Tue, 6 Dec 2022 10:00:40 +0800 Message-ID: <20221206020046.11333-1-nathan.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nathan Lu , devicetree@vger.kernel.org, "jason-jh . lin" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Rex-BC Chen , Moudy Ho , linux-mediatek@lists.infradead.org, lancelot.wu@mediatek.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Nathan Lu This patch is to add first version mt8188 vdosys0 driver Modify and add new files include: 1. bindings documents 2. mtk mmsys 3. mtk mutex 4. mtk drm driver Change in V4: - based on [1] [1] Change mmsys compatible for mt8195 mediatek-drm - https://patchwork.kernel.org/project/linux-mediatek/list/?series=699386 - Modify mediatek,mmsys.yaml, move mt8188-vdosys0 to ****mmsys - Modify mt8188_mmsysy.h DSI mux setting Change in V3: - based on [1] [1] Change mmsys compatible for mt8195 mediatek-drm - https://patchwork.kernel.org/project/linux-mediatek/list/?series=699386 - Modify mediatek,mmsys.yaml mt8188-mmsys name to mt8188-vdosys0 - Modify mtk-mmsys.c compatible name to mt8188-vdosys0 - Add DSI mutex in mtk-mutex.c - Modify mtk_drm_drv.c mt8188-mmsysy name to mt8188-vdosys0 Change in V2: - based on [2] and [3] [2] Add MediaTek SoC(vdosys1) support for mt8195 - https://patchwork.kernel.org/project/linux-mediatek/list/?series=658416 [3] Add MediaTek SoC DRM (vdosys1) support for mt8195 - https://patchwork.kernel.org/project/linux-mediatek/list/?series=665269 - Seperate bindings doucment into mmsys/mutex/display 3 parts - Remove redundent char in mediatek,gamma.yaml - Add another mediatek,mt8188-disp-rdma in mediatek,rdma.yaml - Remove io_start variable setting in mtk_drm_drv.c and mtk_mmsys.c Nathan Lu (6): dt-bindings: mediatek: modify VDOSYS0 display device tree Documentations for MT8188 dt-bindings: mediatek: modify VDOSYS0 mmsys device tree Documentations for MT8188 dt-bindings: mediatek: modify VDOSYS0 mutex device tree Documentations for MT8188 soc: mediatek: add mtk-mmsys support for mt8188 vdosys0 soc: mediatek: add mtk-mutex support for mt8188 vdosys0 drm/mediatek: add mediatek-drm of vdosys0 support for mt8188 .../bindings/arm/mediatek/mediatek,mmsys.yaml | 1 + .../display/mediatek/mediatek,aal.yaml | 1 + .../display/mediatek/mediatek,ccorr.yaml | 1 + .../display/mediatek/mediatek,color.yaml | 1 + .../display/mediatek/mediatek,dither.yaml | 1 + .../display/mediatek/mediatek,gamma.yaml | 1 + .../display/mediatek/mediatek,ovl.yaml | 1 + .../display/mediatek/mediatek,postmask.yaml | 1 + .../display/mediatek/mediatek,rdma.yaml | 4 + .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 21 +++ drivers/soc/mediatek/mt8188-mmsys.h | 149 ++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 11 ++ drivers/soc/mediatek/mtk-mutex.c | 53 +++++++ 14 files changed, 247 insertions(+) create mode 100644 drivers/soc/mediatek/mt8188-mmsys.h -- 2.18.0