Message ID | 20230118032122.29956-1-moudy.ho@mediatek.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2120313wrn; Tue, 17 Jan 2023 19:28:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXtuhHZxy+3GHTW3vL/hyFeQwtXJVNf3KG//iT/j9qKjKFFSr19ZP2MBNZfAOy8uCENIyimM X-Received: by 2002:a17:906:edac:b0:844:1d1d:f7 with SMTP id sa12-20020a170906edac00b008441d1d00f7mr5195714ejb.23.1674012495995; Tue, 17 Jan 2023 19:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674012495; cv=none; d=google.com; s=arc-20160816; b=LAYDehy6KtOd34b/JeJtdPlHmpQwLfdkYySbS9LleK55JjT7hAp7OY6qzdAuSBdkxg ulbXGpJz8KJVBHOGW1wsXizZ+UnAm8RjajIpL3B8suUd5OhB0hMCUzE7nYYLfzWt6iiK yg/Tok9G4pOD0ZMeE66psylDsL9xGHgC4A4hKmJOfZ6KLAsJ1MYfwSnwBQ7wa6R0G3o9 Ia3z3dvtrlsHqxcL3SpWPCDIo8jVR99aAHoL83DT++l8ULEp2g/boecLy3hERiWRdEyu lb8ZWS3Pa71G0QvlDFQmd4np4fCKxhe1UunUoWWw/aqx8XdL/+77CK/2H2TY3yjLfdLQ xaOQ== 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=ycH4P5KAsAz3Rkgh22rbb/wU5u/MiEjLIddM/CcUkAc=; b=sQbT3BUEUx5k5U/cBLC66CYkYPILFp8sGeTUtA9ZclMNT4SIQ97psUGxr1dRPZ/P95 ggZTbFXK/7byi04K7diOq5LB9RnNMsEaMj4mERQiUJELN3wV/KfKSn5WkHje7Z6ke5tk wxsH4KM0QU85vO7VyYg8A0DKReynO0a4sOzzY8uoWzsBK3xkjWxSjmh+1pdMzHQL3bi/ hxV66LoRs7et7fXQXsAD9GN4v/0SyzNtOTWRcqYe+hrn9wq2jS/9uqbszvm/nZlJioWP 1sm8QVqVZZI7sfarRAtVyYYk5K897olPypT/yXNkGn4xPQP+pMiCK3Y8vAJQfGE0U4E3 KtCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lirSJf4e; 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 hg6-20020a1709072cc600b0086e4b1b433fsi12908842ejc.802.2023.01.17.19.27.52; Tue, 17 Jan 2023 19:28:15 -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=lirSJf4e; 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 S229638AbjARDVn (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Tue, 17 Jan 2023 22:21:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjARDVe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 17 Jan 2023 22:21:34 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F41815140B; Tue, 17 Jan 2023 19:21:32 -0800 (PST) X-UUID: 2fdf57a296df11ed945fc101203acc17-20230118 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=ycH4P5KAsAz3Rkgh22rbb/wU5u/MiEjLIddM/CcUkAc=; b=lirSJf4eA8NjiOxSvtYmCAfz3Gk8vtSr4A5Sb5bprsSHpJeiF2TcyM4ktO/n3LiIQDvwYm0v5Yxm+komYtSctOpdnuMBwQlDE8aGWU58MdwU5RBzEUjSh+Ok3vc1F3vU9X1O+cfR+oiAhMfc7UkvWFDJ6ffiZ/Az5y8RdW1QzJQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:da17ff3a-a40b-4907-bf5e-04795fd13fa3,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:70 X-CID-INFO: VERSION:1.1.18,REQID:da17ff3a-a40b-4907-bf5e-04795fd13fa3,IP:0,URL :0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTI ON:quarantine,TS:70 X-CID-META: VersionHash:3ca2d6b,CLOUDID:cf59f654-dd49-462e-a4be-2143a3ddc739,B ulkID:230118112126YRNNTOKC,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-BVR: 0,NGT X-UUID: 2fdf57a296df11ed945fc101203acc17-20230118 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from <moudy.ho@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 942765737; Wed, 18 Jan 2023 11:21:24 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 18 Jan 2023 11:21:22 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 18 Jan 2023 11:21:22 +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>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> CC: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <linux-clk@vger.kernel.org>, <Project_Global_Chrome_Upstream_Group@mediatek.com>, Moudy Ho <moudy.ho@mediatek.com> Subject: [PATCH v6 0/6] add support for MT8195 VPPSYS on MMSYS and MUTEX Date: Wed, 18 Jan 2023 11:21:16 +0800 Message-ID: <20230118032122.29956-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?1755329327250350319?= X-GMAIL-MSGID: =?utf-8?q?1755329327250350319?= |
Series |
add support for MT8195 VPPSYS on MMSYS and MUTEX
|
|
Message
Moudy Ho (何宗原)
Jan. 18, 2023, 3:21 a.m. UTC
Changes since v5: - Depend on : [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=713031 Changes since v4: - Rebase on linux-next. - Remove MMSYS fallback compatible. - Migrate MT8195 VPPSYS0/1 from clock to mtk-mmsys driver. 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 (1): arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS Roy-CW.Yeh (5): dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS arm64: dts: mediatek: mt8195: add MMSYS configuration for 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/soc/mediatek/mediatek,mutex.yaml | 1 + arch/arm64/boot/dts/mediatek/mt8195.dtsi | 26 +++- drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ drivers/soc/mediatek/mtk-mmsys.c | 42 ++++++ drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++- include/linux/soc/mediatek/mtk-mmsys.h | 4 + include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ 7 files changed, 245 insertions(+), 11 deletions(-)
Comments
Whole series queued for the next merge window. Thanks! On 18/01/2023 04:21, Moudy Ho wrote: > Changes since v5: > - Depend on : > [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=713031 > > Changes since v4: > - Rebase on linux-next. > - Remove MMSYS fallback compatible. > - Migrate MT8195 VPPSYS0/1 from clock to mtk-mmsys driver. > > 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 (1): > arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS > > Roy-CW.Yeh (5): > dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS > arm64: dts: mediatek: mt8195: add MMSYS configuration for 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/soc/mediatek/mediatek,mutex.yaml | 1 + > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 26 +++- > drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ > drivers/soc/mediatek/mtk-mmsys.c | 42 ++++++ > drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++- > include/linux/soc/mediatek/mtk-mmsys.h | 4 + > include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ > 7 files changed, 245 insertions(+), 11 deletions(-) >
On 02/02/2023 13:40, Matthias Brugger wrote: > Whole series queued for the next merge window. > I encountered some compile errors, so I deleted the whole series, please fix and resubmit. Thanks drivers/soc/mediatek/mtk-mmsys.c: In function 'mtk_mmsys_vpp_rsz_merge_config': drivers/soc/mediatek/mtk-mmsys.c:261:9: error: too few arguments to function 'mtk_mmsys_update_bits' 261 | mtk_mmsys_update_bits(dev_get_drvdata(dev), reg, ~0, enable); | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c: In function 'mtk_mmsys_vpp_rsz_dcm_config': drivers/soc/mediatek/mtk-mmsys.c:270:9: error: too few arguments to function 'mtk_mmsys_update_bits' 270 | mtk_mmsys_update_bits(dev_get_drvdata(dev), | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:273:9: error: too few arguments to function 'mtk_mmsys_update_bits' 273 | mtk_mmsys_update_bits(dev_get_drvdata(dev), | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:278:9: error: too few arguments to function 'mtk_mmsys_update_bits' 278 | mtk_mmsys_update_bits(dev_get_drvdata(dev), | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:281:9: error: too few arguments to function 'mtk_mmsys_update_bits' 281 | mtk_mmsys_update_bits(dev_get_drvdata(dev), | ^~~~~~~~~~~~~~~~~~~~~ drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, | ^~~~~~~~~~~~~~~~~~~~~ Regards, Matthias > Thanks! > > On 18/01/2023 04:21, Moudy Ho wrote: >> Changes since v5: >> - Depend on : >> [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=713031 >> >> Changes since v4: >> - Rebase on linux-next. >> - Remove MMSYS fallback compatible. >> - Migrate MT8195 VPPSYS0/1 from clock to mtk-mmsys driver. >> >> 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 (1): >> arm64: dts: mediatek: mt8195: add MUTEX configuration for VPPSYS >> >> Roy-CW.Yeh (5): >> dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS >> arm64: dts: mediatek: mt8195: add MMSYS configuration for 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/soc/mediatek/mediatek,mutex.yaml | 1 + >> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 26 +++- >> drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ >> drivers/soc/mediatek/mtk-mmsys.c | 42 ++++++ >> drivers/soc/mediatek/mtk-mutex.c | 135 +++++++++++++++++- >> include/linux/soc/mediatek/mtk-mmsys.h | 4 + >> include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ >> 7 files changed, 245 insertions(+), 11 deletions(-) >>
On Thu, 2023-02-02 at 16:01 +0100, Matthias Brugger wrote: > > On 02/02/2023 13:40, Matthias Brugger wrote: > > Whole series queued for the next merge window. > > > > I encountered some compile errors, so I deleted the whole series, > please fix and > resubmit. Thanks > > drivers/soc/mediatek/mtk-mmsys.c: In function > 'mtk_mmsys_vpp_rsz_merge_config': > drivers/soc/mediatek/mtk-mmsys.c:261:9: error: too few arguments to > function > 'mtk_mmsys_update_bits' > 261 | mtk_mmsys_update_bits(dev_get_drvdata(dev), reg, ~0, > enable); > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here > 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, > u32 offset, > u32 mask, u32 val, > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c: In function > 'mtk_mmsys_vpp_rsz_dcm_config': > drivers/soc/mediatek/mtk-mmsys.c:270:9: error: too few arguments to > function > 'mtk_mmsys_update_bits' > 270 | mtk_mmsys_update_bits(dev_get_drvdata(dev), > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here > 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, > u32 offset, > u32 mask, u32 val, > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:273:9: error: too few arguments to > function > 'mtk_mmsys_update_bits' > 273 | mtk_mmsys_update_bits(dev_get_drvdata(dev), > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here > 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, > u32 offset, > u32 mask, u32 val, > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:278:9: error: too few arguments to > function > 'mtk_mmsys_update_bits' > 278 | mtk_mmsys_update_bits(dev_get_drvdata(dev), > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here > 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, > u32 offset, > u32 mask, u32 val, > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:281:9: error: too few arguments to > function > 'mtk_mmsys_update_bits' > 281 | mtk_mmsys_update_bits(dev_get_drvdata(dev), > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/soc/mediatek/mtk-mmsys.c:129:13: note: declared here > 129 | static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, > u32 offset, > u32 mask, u32 val, > | ^~~~~~~~~~~~~~~~~~~~~ > > Regards, > Matthias > Hi Matthias, Sorry for the inconvenience, the v7 with corrections has been sent. https://patchwork.kernel.org/project/linux-mediatek/list/?series=719050 Regards, Moudy > > Thanks! > > > > On 18/01/2023 04:21, Moudy Ho wrote: > > > Changes since v5: > > > - Depend on : > > > [1] > > > https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=713031__;!!CTRNKA9wMg0ARbw!hudgud9YRhtPxf6iEZ9MRM6C9XVGOIPS8Uvzc-VKoQGZDgBBCf-XqwSoBK1Fgqwh59DUX3kUcsaDM6OfmMiOcLk$ > > > > > > > > > Changes since v4: > > > - Rebase on linux-next. > > > - Remove MMSYS fallback compatible. > > > - Migrate MT8195 VPPSYS0/1 from clock to mtk-mmsys driver. > > > > > > 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!hudgud9YRhtPxf6iEZ9MRM6C9XVGOIPS8Uvzc-VKoQGZDgBBCf-XqwSoBK1Fgqwh59DUX3kUcsaDM6OfprEEPgw$ > > > > > > - 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!hudgud9YRhtPxf6iEZ9MRM6C9XVGOIPS8Uvzc-VKoQGZDgBBCf-XqwSoBK1Fgqwh59DUX3kUcsaDM6OfprEEPgw$ > > > > > > - 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 (1): > > > arm64: dts: mediatek: mt8195: add MUTEX configuration for > > > VPPSYS > > > > > > Roy-CW.Yeh (5): > > > dt-bindings: soc: mediatek: Add support for MT8195 VPPSYS > > > arm64: dts: mediatek: mt8195: add MMSYS configuration for > > > 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/soc/mediatek/mediatek,mutex.yaml | 1 + > > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 26 +++- > > > drivers/soc/mediatek/mt8195-mmsys.h | 13 ++ > > > drivers/soc/mediatek/mtk-mmsys.c | 42 ++++++ > > > drivers/soc/mediatek/mtk-mutex.c | 135 > > > +++++++++++++++++- > > > include/linux/soc/mediatek/mtk-mmsys.h | 4 + > > > include/linux/soc/mediatek/mtk-mutex.h | 35 +++++ > > > 7 files changed, 245 insertions(+), 11 deletions(-) > > >