Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4600180rwb; Wed, 17 Aug 2022 02:58:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ppiF+CPEPWlIQkPMqTBXP/oDpIQOROLHDfpy+qh59ww+qR0cG6JKlmgnEVZSvb79kJBp1 X-Received: by 2002:a17:907:160f:b0:731:55b2:1c1f with SMTP id hb15-20020a170907160f00b0073155b21c1fmr16462503ejc.731.1660730289643; Wed, 17 Aug 2022 02:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660730289; cv=none; d=google.com; s=arc-20160816; b=ulC7QuVfOelvDv537hJiP7A69plqbhdEvC/eryqpixW+odXsfuHy9rhm/Ec8COyG6I 5QmyPJhSgbIWzOeDbIZoBs1q08tYw4VHlR10J4nCI31oo0AcqkDSWlQRCsvLSo4AeOvk ykLNgcjI0yfbPu9ji5GoLrh1ZmdWO1nspOdnzyYz5bcWYC2vgTuTlZb09TzXgQoi1FNo 1CTtFz41qIOyFpdrAMmCgM6seD4+WuIBlSy/EcqtDaHxcZAAXQm3OMXG1SBl33Sg8tWD dar+rQsw1SeUy1JDtKHlvzXAo14ZsoaK6kHGs92JrZYOX0NoM97QssXX2t2HPyf86x9S GoZg== 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=tjf6H6IThMSCMLkSgMB4FlCL8HQC6Ruzd1YbmB9axXU=; b=LnWoB2nDrNSwtArVjpDZs14UsYJudqc0RhZcK35q1phfeg369Lun81sIfFdAx45yWQ iUnmfqbEryjsZIt3uFR1DKnvUso6AIOJLXEjFjJObtf/T4JYpbTZy9zRhfSo/GgGtMce Gaqnk0zza21BhjGFn3DQboLQAyKXh3LYlCujeYX6ugR1aS5FYKi014O1V1gXPyzoZCEy svx/ePGgA4YLEGNjrglsmsSd6eo4D9xW5zRnUGTtDuwyrx8PyjH6nE/wGKsTIfxDpKJZ MsypxMYWluJ+mY7djG+GYeJ2+2UNNrvOfOIiCr+IDXh595AW2tBUjPu0S7wvrA6lwUqS XKkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GRfP+EtQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a17090658c400b00730928e31cbsi13393212ejs.882.2022.08.17.02.57.43; Wed, 17 Aug 2022 02:58:09 -0700 (PDT) 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=GRfP+EtQ; 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 S238617AbiHQJ4o (ORCPT + 99 others); Wed, 17 Aug 2022 05:56:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbiHQJ4n (ORCPT ); Wed, 17 Aug 2022 05:56:43 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A2C970E61; Wed, 17 Aug 2022 02:56:37 -0700 (PDT) X-UUID: 0530e6176e1e4b8d825df75c8687d04f-20220817 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=tjf6H6IThMSCMLkSgMB4FlCL8HQC6Ruzd1YbmB9axXU=; b=GRfP+EtQZh/3YBpWJyb7exfQWYIkvcxavqo6GMbJvvznbRX/iYXt4y5dlKDO9SH/NefO1nnTWsA+7dgc2296bXqGCA4Iaze+amijPyOZatwwUE/agv7dMG8JxDjO7SP75QABpM/PQ/YCCre7dOtLD9pCy15hqAWyUywMAYpgA7o=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:fa175c5e-9ce8-4956-b8ed-c84f5a47f847,OB:0,L OB:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release _Ham,ACTION:release,TS:95 X-CID-INFO: VERSION:1.1.10,REQID:fa175c5e-9ce8-4956-b8ed-c84f5a47f847,OB:0,LOB :0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS98 1B3D,ACTION:quarantine,TS:95 X-CID-META: VersionHash:84eae18,CLOUDID:6ebe93fd-9e71-4a0f-ba6b-417998daea35,C OID:b13d97a23a30,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 0530e6176e1e4b8d825df75c8687d04f-20220817 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1926577087; Wed, 17 Aug 2022 17:56:31 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) 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, 17 Aug 2022 17:56:30 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 17 Aug 2022 17:56:30 +0800 From: Moudy Ho To: Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , "Krzysztof Kozlowski" , Hans Verkuil CC: Chun-Kuang Hu , Rob Landley , Laurent Pinchart , , , , , , Alexandre Courbot , , , , , Benjamin Gaignard , AngeloGioacchino Del Regno , , , Moudy Ho Subject: [PATCH v25 3/4] arm64: dts: mt8183: add MediaTek MDP3 nodes Date: Wed, 17 Aug 2022 17:56:28 +0800 Message-ID: <20220817095629.29911-4-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220817095629.29911-1-moudy.ho@mediatek.com> References: <20220817095629.29911-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, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org Add device nodes for Media Data Path 3 (MDP3) modules. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 63 ++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 9d32871973a2..1543876b1e3c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1691,6 +1691,60 @@ mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; }; + mdp3-rdma0@14001000 { + compatible = "mediatek,mt8183-mdp3-rdma"; + reg = <0 0x14001000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x1000 0x1000>; + mediatek,gce-events = , + ; + power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; + clocks = <&mmsys CLK_MM_MDP_RDMA0>, + <&mmsys CLK_MM_MDP_RSZ1>; + iommus = <&iommu M4U_PORT_MDP_RDMA0>; + mboxes = <&gce 20 CMDQ_THR_PRIO_LOWEST 0>, + <&gce 21 CMDQ_THR_PRIO_LOWEST 0>; + }; + + mdp3-rsz0@14003000 { + compatible = "mediatek,mt8183-mdp3-rsz"; + reg = <0 0x14003000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x3000 0x1000>; + mediatek,gce-events = , + ; + clocks = <&mmsys CLK_MM_MDP_RSZ0>; + }; + + mdp3-rsz1@14004000 { + compatible = "mediatek,mt8183-mdp3-rsz"; + reg = <0 0x14004000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x4000 0x1000>; + mediatek,gce-events = , + ; + clocks = <&mmsys CLK_MM_MDP_RSZ1>; + }; + + mdp3-wrot0@14005000 { + compatible = "mediatek,mt8183-mdp3-wrot"; + reg = <0 0x14005000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x5000 0x1000>; + mediatek,gce-events = , + ; + power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; + clocks = <&mmsys CLK_MM_MDP_WROT0>; + iommus = <&iommu M4U_PORT_MDP_WROT0>; + }; + + mdp3-wdma@14006000 { + compatible = "mediatek,mt8183-mdp3-wdma"; + reg = <0 0x14006000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x6000 0x1000>; + mediatek,gce-events = , + ; + power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; + clocks = <&mmsys CLK_MM_MDP_WDMA0>; + iommus = <&iommu M4U_PORT_MDP_WDMA0>; + }; + ovl0: ovl@14008000 { compatible = "mediatek,mt8183-disp-ovl"; reg = <0 0x14008000 0 0x1000>; @@ -1834,6 +1888,15 @@ power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; }; + mdp3-ccorr@1401c000 { + compatible = "mediatek,mt8183-mdp3-ccorr"; + reg = <0 0x1401c000 0 0x1000>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xc000 0x1000>; + mediatek,gce-events = , + ; + clocks = <&mmsys CLK_MM_MDP_CCORR>; + }; + imgsys: syscon@15020000 { compatible = "mediatek,mt8183-imgsys", "syscon"; reg = <0 0x15020000 0 0x1000>; -- 2.18.0