Message ID | 20221207094921.15450-2-moudy.ho@mediatek.com |
---|---|
State | New |
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 q4csp90377wrr; Wed, 7 Dec 2022 02:08:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf66O2ecuHbWCpajdkmVhYtDs6TXzT/Qh7Pjat2B0Xh07dlJp+rxyiqmX6msgoJnxdlwIE/7 X-Received: by 2002:a17:902:aa44:b0:189:fdf:a3d9 with SMTP id c4-20020a170902aa4400b001890fdfa3d9mr84164067plr.9.1670407698729; Wed, 07 Dec 2022 02:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670407698; cv=none; d=google.com; s=arc-20160816; b=RJM7MhOycedL2gN0HmaYoNXy3BwgRq+20+rhKkSb2aoob6UPC6oV+u3j95xqw4tXaX 7w07nH1uB2UYcElbOheCmbxErTwLwrJQtBrVD1rbdzVn/J2MQEendLPXnWMx18NjBBY+ X4GNbiKcY7Owcxfba3BRRki0hFxpsyxYKLsAkuj6fqqNmuS4EV1Su0QvzQUi8K2o7zTP pzR0s0T9H784792JI5IhRDM6X1oKpVioN3uJlaI1VLh2QneDcB/L8SjdLLZ5goPU4DCn UBQ04v6s/ZKeecd7qOIE8chjGBfZpZ6WWDTRMtdLF54Xh8yip/HXKodz8nn4bn+owxVc IUPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=crufHaBJqDwuFiPQOlCXJvq1DOxDaZbIVtDdwONvRV4=; b=ih1D6fjiNlFBdMfGo3iQpY5rDqKFoaWZsSaDgHmRP1ZkA2fkA8TEEAJ5/hTuRd3iHl NrkxRxhBEaR5lODi3+3abnb1+wVOpr0UfK7hpj8uPeJ2U4UfO8jnuqEwv+ZoP8e+NKv0 p++Xyfb/P7IkDXo+xe4go+0tlNj74DNpNv09cLJeyyYGYsmS0Xq/nGTVAjHtxcTLePbz EE8DKZi34J6wkozr0/YwAseN3CA/FN0AsK3KTE4QMRgh1j+wEPAOB7BXFvXXbyua3oe0 CFXCkY8FEZhcJZJT4eZAGlTLAYMn5wq6NVtnq3/qaG9hK9/UDEfB5Qn1StmERCpsCE+w MpIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Dpra1l8p; 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 d63-20020a17090a6f4500b00219c0cd0f1dsi1029512pjk.145.2022.12.07.02.08.04; Wed, 07 Dec 2022 02:08:18 -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=Dpra1l8p; 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 S230248AbiLGJtq (ORCPT <rfc822;b08248@gmail.com> + 99 others); Wed, 7 Dec 2022 04:49:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbiLGJtg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Dec 2022 04:49:36 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A60027D; Wed, 7 Dec 2022 01:49:35 -0800 (PST) X-UUID: 37be9170f0514ba9bdcaa9f74a10d17d-20221207 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=crufHaBJqDwuFiPQOlCXJvq1DOxDaZbIVtDdwONvRV4=; b=Dpra1l8pJFu9XIRFTn2JlLHC2MpfMb1yDkDRRjN25YnWWlVlLJ0Be2bQpn7/K5ewjmV2Jfz/8vk/mH/900hxdhu/ss515DqzpoKq58Gs7fL7fdroP69y8b8rl9+fM6n6f8Wk4r1nYLAXBK5vY3jljSSxOGI1kuFpaMAUwvy1tss=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:f3ae7130-d8ed-4a3b-b1d8-1e1d707f738c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:dcaaed0,CLOUDID:06fd9224-4387-4253-a41d-4f6f2296b154,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 37be9170f0514ba9bdcaa9f74a10d17d-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 54277046; 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>, Moudy Ho <moudy.ho@mediatek.com> Subject: [PATCH v4 1/8] dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS Date: Wed, 7 Dec 2022 17:49:14 +0800 Message-ID: <20221207094921.15450-2-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221207094921.15450-1-moudy.ho@mediatek.com> References: <20221207094921.15450-1-moudy.ho@mediatek.com> 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?1751549423038062843?= X-GMAIL-MSGID: =?utf-8?q?1751549423038062843?= |
Series |
add support MDP3 on MT8195 platform
|
|
Commit Message
Moudy Ho (何宗原)
Dec. 7, 2022, 9:49 a.m. UTC
For MT8195, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be determined by compatible names. Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Comments
Il 07/12/22 10:49, Moudy Ho ha scritto: > For MT8195, VPPSYS0 and VPPSYS1 are 2 display pipes with > hardware differences in power domains, clocks and subsystem counts, > which should be determined by compatible names. > > Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Wed, Dec 7, 2022 at 3:49 AM Moudy Ho <moudy.ho@mediatek.com> wrote: > > For MT8195, VPPSYS0 and VPPSYS1 are 2 display pipes with > hardware differences in power domains, clocks and subsystem counts, > which should be determined by compatible names. > > Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) This landed in today's linux-next causing the following binding warnings. Is this a fix? Only fixes for 6.2 should be added during the merge window. /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.example.dtb: clock-controller@14000000: $nodename:0: 'clock-controller@14000000' does not match '^syscon@[0-9a-f]+$' From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.example.dtb: clock-controller@14000000: compatible: 'oneOf' conditional failed, one must be fixed: ['mediatek,mt8195-vppsys0'] is too short 'mediatek,mt8195-vppsys0' is not one of ['mediatek,mt2701-mmsys', 'mediatek,mt2712-mmsys', 'mediatek,mt6765-mmsys', 'mediatek,mt6779-mmsys', 'mediatek,mt6795-mmsys', 'mediatek,mt6797-mmsys', 'mediatek,mt8167-mmsys', 'mediatek,mt8173-mmsys', 'mediatek,mt8183-mmsys', 'mediatek,mt8186-mmsys', 'mediatek,mt8188-vdosys0', 'mediatek,mt8192-mmsys', 'mediatek,mt8365-mmsys'] 'mediatek,mt8195-mmsys' was expected 'mediatek,mt7623-mmsys' was expected From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
On 19/12/2022 14:44, Rob Herring wrote: > On Wed, Dec 7, 2022 at 3:49 AM Moudy Ho <moudy.ho@mediatek.com> wrote: >> >> For MT8195, VPPSYS0 and VPPSYS1 are 2 display pipes with >> hardware differences in power domains, clocks and subsystem counts, >> which should be determined by compatible names. >> >> Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> >> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> --- >> .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) > > This landed in today's linux-next causing the following binding > warnings. Is this a fix? Only fixes for 6.2 should be added during the > merge window. > No it's not a fix, it's queued for the next -rc phase. I didn't know of the limitation of linux-next only allowing fixes in the merge window. Actually the patch is wrong. It shouldn't include "mediatek,mt8195-mmsys" as fallback for mediatek,mt8195-vppsys[0,1]. I'll revert the whole series from v6.2-tmp/dts64 and v6.2-tmp/soc Regards, Matthias > /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.example.dtb: > clock-controller@14000000: $nodename:0: 'clock-controller@14000000' > does not match '^syscon@[0-9a-f]+$' > From schema: > /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.example.dtb: > clock-controller@14000000: compatible: 'oneOf' conditional failed, one > must be fixed: > ['mediatek,mt8195-vppsys0'] is too short > 'mediatek,mt8195-vppsys0' is not one of > ['mediatek,mt2701-mmsys', 'mediatek,mt2712-mmsys', > 'mediatek,mt6765-mmsys', 'mediatek,mt6779-mmsys', > 'mediatek,mt6795-mmsys', 'mediatek,mt6797-mmsys', > 'mediatek,mt8167-mmsys', 'mediatek,mt8173-mmsys', > 'mediatek,mt8183-mmsys', 'mediatek,mt8186-mmsys', > 'mediatek,mt8188-vdosys0', 'mediatek,mt8192-mmsys', > 'mediatek,mt8365-mmsys'] > 'mediatek,mt8195-mmsys' was expected > 'mediatek,mt7623-mmsys' was expected > From schema: > /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
On 19/12/2022 16:17, Matthias Brugger wrote: > > > On 19/12/2022 14:44, Rob Herring wrote: >> On Wed, Dec 7, 2022 at 3:49 AM Moudy Ho <moudy.ho@mediatek.com> wrote: >>> >>> For MT8195, VPPSYS0 and VPPSYS1 are 2 display pipes with >>> hardware differences in power domains, clocks and subsystem counts, >>> which should be determined by compatible names. >>> >>> Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> >>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> --- >>> .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 5 ++++- >>> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> This landed in today's linux-next causing the following binding >> warnings. Is this a fix? Only fixes for 6.2 should be added during the >> merge window. >> > > No it's not a fix, it's queued for the next -rc phase. I didn't know of the > limitation of linux-next only allowing fixes in the merge window. Stephen asks for it every time. Now it is in separate email: https://lore.kernel.org/linux-next/20221213120359.47fc3cad@canb.auug.org.au/ Previously it was in each linux-next announcement: https://lore.kernel.org/linux-next/20220527164940.6ef5b25e@canb.auug.org.au/ > > Actually the patch is wrong. It shouldn't include "mediatek,mt8195-mmsys" as > fallback for mediatek,mt8195-vppsys[0,1]. > > I'll revert the whole series from v6.2-tmp/dts64 and v6.2-tmp/soc Thanks. Please, drop all material for next cycle from linux-next. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml index 0711f1834fbd..493aa9e8d484 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml @@ -48,7 +48,10 @@ properties: - const: syscon - items: - - const: mediatek,mt8195-vdosys0 + - enum: + - mediatek,mt8195-vdosys0 + - mediatek,mt8195-vppsys0 + - mediatek,mt8195-vppsys1 - const: mediatek,mt8195-mmsys - const: syscon