Message ID | 20221207094921.15450-1-moudy.ho@mediatek.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp90390wrr; Wed, 7 Dec 2022 02:08:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4k+jFMbOi/LfWUe54WX5L/YiBf3x85gx+Q5h+KrQ+KUd9ETqygqZDyZzIizFakD5h2pThY X-Received: by 2002:a17:902:e9c2:b0:189:e206:2226 with SMTP id 2-20020a170902e9c200b00189e2062226mr10631243plk.102.1670407699446; Wed, 07 Dec 2022 02:08:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670407699; cv=none; d=google.com; s=arc-20160816; b=xX7XRnQwWT8dPA1wUD0lO3P91fiy29KVRIFUWE635RoDh2wLda7NHorExEY18GcNY7 YE3mERoqxYfTwqX7G5dAaQdrLbzpr+qOwpSNlyNNFOOKyyxlG5DHyG+CVNIuyIlUNpQq gFVlMIFxWhpuF6XAGPIjq766WVjcDi8rSMG3oeIrHN7nx47v7bgNq7lt//SWLKLIbiNu mGrJ33HwDGi64F265QehKF2jNzffYmBTCHXT8wq1vRQNV9ODyGquXfTViehVOgApyrqG ZqB49BLF7KsfalQk5cReNBpPb/j46B8Mgpbl5quGsiK70BHUi4MWPLw/dGYhdllAZ1gB Ag4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=+DlieiQH5x/y67QutSHJcSuOjfcivZx2Dzr1Dzpgv0E=; b=GRhRJDKuoELCwjVYGJomJ3IHsNN1uS6wsYPj9xF6x9Uc/K/dAU0KvUFKXV9Fox4WhC 4BEe9ZdGC/WdaQXyZYRGsOBcQc+F/a4Pm8pNjgdGgvyZkgp93Ih04Y7kIMhx7r2qpNGr 9bHKlKdvDRq+ayabYdGmrQGIF2022W8LhX/zSXKPiv3qMdp4ezPps1Zwz5qP/g15W1YQ XcJFXBuA6zwYVmlsYrieiqeEkw/T1bVLNWeoWnBZP8Rj5JfVDpyqKsfs/u0I/B/1m31j 4NGJzicCIoIk4rBiGo2qv1kC+gmn65cPs3wvWxUlt3QGsPna2Rzqmmxbcs/QwWVWxvq4 lacA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SRUur7vy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 205-20020a6305d6000000b0046fc9e82c99si16571047pgf.206.2022.12.07.02.08.06; Wed, 07 Dec 2022 02:08:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SRUur7vy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230255AbiLGJts (ORCPT <rfc822;b08248@gmail.com> + 99 others); Wed, 7 Dec 2022 04:49:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229888AbiLGJth (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Dec 2022 04:49:37 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 225302E9D2; Wed, 7 Dec 2022 01:49:36 -0800 (PST) X-UUID: 2ae7fba27713489f97648e931b417b1d-20221207 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=+DlieiQH5x/y67QutSHJcSuOjfcivZx2Dzr1Dzpgv0E=; b=SRUur7vy1a+HaAGFca6Ez+G687Ob+E2JnOn2BRYukFT6Ow1VQOg0yc06PdpMzYgJW4pA5HIxUpQirfMJwa+AhiukYoq4O2ekxupjNNtfVP0gnmFeK54HvgSyQdZiOKdwhTap5N0B8FkOIn1ZJDMpLLwab5XEZQ/4+31L4xVvXDg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:7bf139e7-77ba-403e-9e5e-8d7973dd8582,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:e600ce16-b863-49f8-8228-cbdfeedd1fa4,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 2ae7fba27713489f97648e931b417b1d-20221207 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from <moudy.ho@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1645931037; Wed, 07 Dec 2022 17:49:24 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 7 Dec 2022 17:49:23 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 7 Dec 2022 17:49:23 +0800 From: Moudy Ho <moudy.ho@mediatek.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chun-Kuang Hu <chunkuang.hu@kernel.org> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <Project_Global_Chrome_Upstream_Group@mediatek.com>, mtk18742 <moudy.ho@mediatek.com> Subject: [PATCH v4 0/8] add support MDP3 on MT8195 platform Date: Wed, 7 Dec 2022 17:49:13 +0800 Message-ID: <20221207094921.15450-1-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751544251100032887?= X-GMAIL-MSGID: =?utf-8?q?1751549423774144101?= |
Series |
add support MDP3 on MT8195 platform
|
|
Message
Moudy Ho (何宗原)
Dec. 7, 2022, 9:49 a.m. UTC
From: mtk18742 <moudy.ho@mediatek.com>
Changes since v3:
- Rebase on linux-next
Changes since v2:
- Depend on :
[1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097
- Split dts settings into two patches based on belonging to MMSYS or MUTEX.
Changes since v1:
- Depend on :
[1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097
- Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding file.
- Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check.
- Rename mtk_mmsys_merge_config() and mtk_mmsys_rsz_dcm_config() to
mtk_mmsys_vpp_rsz_merge_config() and mtk_mmsys_vpp_rsz_dcm_config().
- Clean up mtk_mmsys_vpp_rsz_dcm_config().
- Add a comment to mtk_mutex_write_mod() and clean it up for use in more
than 32 mods.
Hi,
This series add support for MT8195's two VPPSYS(Video Processor Pipe Subsystem),
under which there will be corresponding MMSYS and MUTEX settings that
need to be configured.
Moudy Ho (2):
dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS
arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS
Roy-CW.Yeh (6):
dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS
arm64: dts: mediatek: mt8195: add MMSYS configuration for VPPSYS
soc: mediatek: mmsys: add support for MT8195 VPPSYS
soc: mediatek: mmsys: add config api for RSZ switching and DCM
soc: mediatek: mutex: Add mtk_mutex_set_mod support to set MOD1
soc: mediatek: mutex: support MT8195 VPPSYS
.../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +-
.../bindings/soc/mediatek/mediatek,mutex.yaml | 1 +
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++-
drivers/soc/mediatek/mt8195-mmsys.h | 13 ++
drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++
drivers/soc/mediatek/mtk-mmsys.h | 1 +
drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++-
include/linux/soc/mediatek/mtk-mmsys.h | 4 +
include/linux/soc/mediatek/mtk-mutex.h | 35 +++++
9 files changed, 274 insertions(+), 12 deletions(-)
Comments
Il 07/12/22 10:49, Moudy Ho ha scritto: > From: "Roy-CW.Yeh" <roy-cw.yeh@mediatek.com> > > With the change of the MMSYS binding file for MT8195, the compatible > name of VPPSYS in dts need to be fixed to match the definition. > > Signed-off-by: Roy-CW.Yeh <roy-cw.yeh@mediatek.com> > Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Whole series applied, thanks! On 07/12/2022 10:49, Moudy Ho wrote: > From: mtk18742 <moudy.ho@mediatek.com> > > Changes since v3: > - Rebase on linux-next > > Changes since v2: > - Depend on : > [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097 > - Split dts settings into two patches based on belonging to MMSYS or MUTEX. > > Changes since v1: > - Depend on : > [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097 > - Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding file. > - Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check. > - Rename mtk_mmsys_merge_config() and mtk_mmsys_rsz_dcm_config() to > mtk_mmsys_vpp_rsz_merge_config() and mtk_mmsys_vpp_rsz_dcm_config(). > - Clean up mtk_mmsys_vpp_rsz_dcm_config(). > - Add a comment to mtk_mutex_write_mod() and clean it up for use in more > than 32 mods. > > Hi, > > This series add support for MT8195's two VPPSYS(Video Processor Pipe Subsystem), > under which there will be corresponding MMSYS and MUTEX settings that > need to be configured. > > Moudy Ho (2): > dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS > arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS > > Roy-CW.Yeh (6): > dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS > arm64: dts: mediatek: mt8195: add MMSYS configuration for VPPSYS > soc: mediatek: mmsys: add support for MT8195 VPPSYS > soc: mediatek: mmsys: add config api for RSZ switching and DCM > soc: mediatek: mutex: Add mtk_mutex_set_mod support to set MOD1 > soc: mediatek: mutex: support MT8195 VPPSYS > > .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +- > .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++- > drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ > drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++ > drivers/soc/mediatek/mtk-mmsys.h | 1 + > drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++- > include/linux/soc/mediatek/mtk-mmsys.h | 4 + > include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ > 9 files changed, 274 insertions(+), 12 deletions(-) >
On 16/12/2022 13:33, Matthias Brugger wrote: > > Whole series applied, thanks! > And now, whole series reverted, please see comment in 1/8. Regards, Matthias > On 07/12/2022 10:49, Moudy Ho wrote: >> From: mtk18742 <moudy.ho@mediatek.com> >> >> Changes since v3: >> - Rebase on linux-next >> >> Changes since v2: >> - Depend on : >> [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097 >> - Split dts settings into two patches based on belonging to MMSYS or MUTEX. >> >> Changes since v1: >> - Depend on : >> [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097 >> - Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding file. >> - Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check. >> - Rename mtk_mmsys_merge_config() and mtk_mmsys_rsz_dcm_config() to >> mtk_mmsys_vpp_rsz_merge_config() and mtk_mmsys_vpp_rsz_dcm_config(). >> - Clean up mtk_mmsys_vpp_rsz_dcm_config(). >> - Add a comment to mtk_mutex_write_mod() and clean it up for use in more >> than 32 mods. >> >> Hi, >> >> This series add support for MT8195's two VPPSYS(Video Processor Pipe Subsystem), >> under which there will be corresponding MMSYS and MUTEX settings that >> need to be configured. >> >> Moudy Ho (2): >> dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS >> arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS >> >> Roy-CW.Yeh (6): >> dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS >> arm64: dts: mediatek: mt8195: add MMSYS configuration for VPPSYS >> soc: mediatek: mmsys: add support for MT8195 VPPSYS >> soc: mediatek: mmsys: add config api for RSZ switching and DCM >> soc: mediatek: mutex: Add mtk_mutex_set_mod support to set MOD1 >> soc: mediatek: mutex: support MT8195 VPPSYS >> >> .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +- >> .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + >> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++- >> drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ >> drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++ >> drivers/soc/mediatek/mtk-mmsys.h | 1 + >> drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++- >> include/linux/soc/mediatek/mtk-mmsys.h | 4 + >> include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ >> 9 files changed, 274 insertions(+), 12 deletions(-) >>
On Mon, 2022-12-19 at 16:17 +0100, Matthias Brugger wrote: > > On 16/12/2022 13:33, Matthias Brugger wrote: > > > > Whole series applied, thanks! > > > > And now, whole series reverted, please see comment in 1/8. > > Regards, > Matthias > Hi Matthias, May I send a new series without a fallback compatible like the mt8188 VDOSYS does? https://patchwork.kernel.org/project/linux-mediatek/patch/20221206020046.11333-3-nathan.lu@mediatek.com/ Regards, Moudy > > On 07/12/2022 10:49, Moudy Ho wrote: > > > From: mtk18742 <moudy.ho@mediatek.com> > > > > > > Changes since v3: > > > - Rebase on linux-next > > > > > > Changes since v2: > > > - Depend on : > > > [1] > > > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ > > > > > > - Split dts settings into two patches based on belonging to MMSYS > > > or MUTEX. > > > > > > Changes since v1: > > > - Depend on : > > > [1] > > > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ > > > > > > - Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding > > > file. > > > - Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check. > > > - Rename mtk_mmsys_merge_config() and mtk_mmsys_rsz_dcm_config() > > > to > > > mtk_mmsys_vpp_rsz_merge_config() and > > > mtk_mmsys_vpp_rsz_dcm_config(). > > > - Clean up mtk_mmsys_vpp_rsz_dcm_config(). > > > - Add a comment to mtk_mutex_write_mod() and clean it up for use > > > in more > > > than 32 mods. > > > > > > Hi, > > > > > > This series add support for MT8195's two VPPSYS(Video Processor > > > Pipe Subsystem), > > > under which there will be corresponding MMSYS and MUTEX settings > > > that > > > need to be configured. > > > > > > Moudy Ho (2): > > > dt-bindings: arm: mediatek: mmsys: Add support for MT8195 > > > VPPSYS > > > arm64: dts: mediatek: mt8195: add MUTEX configuration for > > > VPPSYS > > > > > > Roy-CW.Yeh (6): > > > dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS > > > arm64: dts: mediatek: mt8195: add MMSYS configuration for > > > VPPSYS > > > soc: mediatek: mmsys: add support for MT8195 VPPSYS > > > soc: mediatek: mmsys: add config api for RSZ switching and DCM > > > soc: mediatek: mutex: Add mtk_mutex_set_mod support to set > > > MOD1 > > > soc: mediatek: mutex: support MT8195 VPPSYS > > > > > > .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +- > > > .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + > > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++- > > > drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ > > > drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++ > > > drivers/soc/mediatek/mtk-mmsys.h | 1 + > > > drivers/soc/mediatek/mtk-mutex.c | 135 > > > +++++++++++++++++- > > > include/linux/soc/mediatek/mtk-mmsys.h | 4 + > > > include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ > > > 9 files changed, 274 insertions(+), 12 deletions(-) > > >
On Tue, 2022-12-20 at 10:14 +0800, moudy ho wrote: > On Mon, 2022-12-19 at 16:17 +0100, Matthias Brugger wrote: > > > > On 16/12/2022 13:33, Matthias Brugger wrote: > > > > > > Whole series applied, thanks! > > > > > > > And now, whole series reverted, please see comment in 1/8. > > > > Regards, > > Matthias > > > > Hi Matthias, > > May I send a new series without a fallback compatible like the mt8188 > VDOSYS does? > > https://patchwork.kernel.org/project/linux-mediatek/patch/20221206020046.11333-3-nathan.lu@mediatek.com/ > > Regards, > Moudy Hi Matthias, Sorry for the inaccurate information, the warning mentioned in [1/8] is because vppsys 0/1 has already been defined in "mediatek,mt8195- clock.yaml" as follows: https://patchwork.kernel.org/project/linux-mediatek/patch/20210914021633.26377-2-chun-jie.chen@mediatek.com/ Is it possible to fix it by just removing [1/8], or should I send a new series? Regards, Moudy > > > On 07/12/2022 10:49, Moudy Ho wrote: > > > > From: mtk18742 <moudy.ho@mediatek.com> > > > > > > > > Changes since v3: > > > > - Rebase on linux-next > > > > > > > > Changes since v2: > > > > - Depend on : > > > > [1] > > > > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ > > > > > > > > > > > > - Split dts settings into two patches based on belonging to > > > > MMSYS > > > > or MUTEX. > > > > > > > > Changes since v1: > > > > - Depend on : > > > > [1] > > > > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ > > > > > > > > > > > > - Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding > > > > file. > > > > - Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check. > > > > - Rename mtk_mmsys_merge_config() and > > > > mtk_mmsys_rsz_dcm_config() > > > > to > > > > mtk_mmsys_vpp_rsz_merge_config() and > > > > mtk_mmsys_vpp_rsz_dcm_config(). > > > > - Clean up mtk_mmsys_vpp_rsz_dcm_config(). > > > > - Add a comment to mtk_mutex_write_mod() and clean it up for > > > > use > > > > in more > > > > than 32 mods. > > > > > > > > Hi, > > > > > > > > This series add support for MT8195's two VPPSYS(Video Processor > > > > Pipe Subsystem), > > > > under which there will be corresponding MMSYS and MUTEX > > > > settings > > > > that > > > > need to be configured. > > > > > > > > Moudy Ho (2): > > > > dt-bindings: arm: mediatek: mmsys: Add support for MT8195 > > > > VPPSYS > > > > arm64: dts: mediatek: mt8195: add MUTEX configuration for > > > > VPPSYS > > > > > > > > Roy-CW.Yeh (6): > > > > dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS > > > > arm64: dts: mediatek: mt8195: add MMSYS configuration for > > > > VPPSYS > > > > soc: mediatek: mmsys: add support for MT8195 VPPSYS > > > > soc: mediatek: mmsys: add config api for RSZ switching and > > > > DCM > > > > soc: mediatek: mutex: Add mtk_mutex_set_mod support to set > > > > MOD1 > > > > soc: mediatek: mutex: support MT8195 VPPSYS > > > > > > > > .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +- > > > > .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + > > > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++- > > > > drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ > > > > drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++ > > > > drivers/soc/mediatek/mtk-mmsys.h | 1 + > > > > drivers/soc/mediatek/mtk-mutex.c | 135 > > > > +++++++++++++++++- > > > > include/linux/soc/mediatek/mtk-mmsys.h | 4 + > > > > include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ > > > > 9 files changed, 274 insertions(+), 12 deletions(-) > > > >
Hi Moudy, On 20/12/2022 04:40, Moudy Ho (何宗原) wrote: > On Tue, 2022-12-20 at 10:14 +0800, moudy ho wrote: >> On Mon, 2022-12-19 at 16:17 +0100, Matthias Brugger wrote: >>> >>> On 16/12/2022 13:33, Matthias Brugger wrote: >>>> >>>> Whole series applied, thanks! >>>> >>> >>> And now, whole series reverted, please see comment in 1/8. >>> >>> Regards, >>> Matthias >>> >> >> Hi Matthias, >> >> May I send a new series without a fallback compatible like the mt8188 >> VDOSYS does? >> >> > https://patchwork.kernel.org/project/linux-mediatek/patch/20221206020046.11333-3-nathan.lu@mediatek.com/ >> >> Regards, >> Moudy > > Hi Matthias, > > Sorry for the inaccurate information, the warning mentioned in [1/8] is > because vppsys 0/1 has already been defined in "mediatek,mt8195- > clock.yaml" as follows: > > https://patchwork.kernel.org/project/linux-mediatek/patch/20210914021633.26377-2-chun-jie.chen@mediatek.com/ > > Is it possible to fix it by just removing [1/8], or should I send a new > series? > You will need to remove it from the clock binding and of course from the clock drivers. One example is this one: https://patchwork.kernel.org/project/linux-mediatek/patch/20210914021633.26377-21-chun-jie.chen@mediatek.com/ In the end the mmsys will probe by the compatible and will then probe the clock driver as a platform driver. Best regards, Matthias > Regards, > Moudy > >>>> On 07/12/2022 10:49, Moudy Ho wrote: >>>>> From: mtk18742 <moudy.ho@mediatek.com> >>>>> >>>>> Changes since v3: >>>>> - Rebase on linux-next >>>>> >>>>> Changes since v2: >>>>> - Depend on : >>>>> [1] >>>>> > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ >>>>> >>>>> >>>>> - Split dts settings into two patches based on belonging to >>>>> MMSYS >>>>> or MUTEX. >>>>> >>>>> Changes since v1: >>>>> - Depend on : >>>>> [1] >>>>> > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681097__;!!CTRNKA9wMg0ARbw!giZVy8TiFNylgWKOjI75fSmleN6UlckPuiXzFf5jbdVgFbHdIxG3d3Jvkqp7Eka73I2TmataD_d5QjzBnk6-sYY$ >>>>> >>>>> >>>>> - Add compatible names to VPPSYS0 and VPPSYS1 in MMSYS binding >>>>> file. >>>>> - Fix VPPSYS's MMSYS and MUTEX dts to pass the dtsb_check. >>>>> - Rename mtk_mmsys_merge_config() and >>>>> mtk_mmsys_rsz_dcm_config() >>>>> to >>>>> mtk_mmsys_vpp_rsz_merge_config() and >>>>> mtk_mmsys_vpp_rsz_dcm_config(). >>>>> - Clean up mtk_mmsys_vpp_rsz_dcm_config(). >>>>> - Add a comment to mtk_mutex_write_mod() and clean it up for >>>>> use >>>>> in more >>>>> than 32 mods. >>>>> >>>>> Hi, >>>>> >>>>> This series add support for MT8195's two VPPSYS(Video Processor >>>>> Pipe Subsystem), >>>>> under which there will be corresponding MMSYS and MUTEX >>>>> settings >>>>> that >>>>> need to be configured. >>>>> >>>>> Moudy Ho (2): >>>>> dt-bindings: arm: mediatek: mmsys: Add support for MT8195 >>>>> VPPSYS >>>>> arm64: dts: mediatek: mt8195: add MUTEX configuration for >>>>> VPPSYS >>>>> >>>>> Roy-CW.Yeh (6): >>>>> dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS >>>>> arm64: dts: mediatek: mt8195: add MMSYS configuration for >>>>> VPPSYS >>>>> soc: mediatek: mmsys: add support for MT8195 VPPSYS >>>>> soc: mediatek: mmsys: add config api for RSZ switching and >>>>> DCM >>>>> soc: mediatek: mutex: Add mtk_mutex_set_mod support to set >>>>> MOD1 >>>>> soc: mediatek: mutex: support MT8195 VPPSYS >>>>> >>>>> .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 +- >>>>> .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + >>>>> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 28 +++- >>>>> drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ >>>>> drivers/soc/mediatek/mtk-mmsys.c | 64 +++++++++ >>>>> drivers/soc/mediatek/mtk-mmsys.h | 1 + >>>>> drivers/soc/mediatek/mtk-mutex.c | 135 >>>>> +++++++++++++++++- >>>>> include/linux/soc/mediatek/mtk-mmsys.h | 4 + >>>>> include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ >>>>> 9 files changed, 274 insertions(+), 12 deletions(-) >>>>>