From patchwork Wed Feb 8 09:21:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TW91ZHkgSG8gKOS9leWul+WOnyk=?= X-Patchwork-Id: 54292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3352613wrn; Wed, 8 Feb 2023 01:25:32 -0800 (PST) X-Google-Smtp-Source: AK7set+kF+2fszZCC3fx75MREdC11OmT8DMXQo0uA7Hinz6jrfPT3h04YlSQX8ufMsce3nXBRvq7 X-Received: by 2002:a05:6a21:370c:b0:be:ffb5:e41d with SMTP id yl12-20020a056a21370c00b000beffb5e41dmr5240811pzb.25.1675848332318; Wed, 08 Feb 2023 01:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675848332; cv=none; d=google.com; s=arc-20160816; b=ehQ+0e7OSVLtf7OSj+ZpYBp3trT1BytMIsIjQ/vBgfMRqxCmUrc4D2uio1KtFX62VT f0KhDMcTU7O8PHK9LE54oZkEogDcw6WOYLgHogSDCn3kelTiqurY8iBKS6DzDZQzuYub 1BIxv14L0mVoPnpuKNG7kPgFot+VT1Ed1BVUeOzW2pgcrbA6FJQy45h73HAUFfVpgTYZ KtsWxNvhWlG1mt3Ka1GM4/OXT46z9TsMLxHs2pJ/G9NnM+LgHx3nELpPm4aU2Yhxvszk NyW3W1O71/WGmn24JJZy0W4W3GfFEGT2Xwd7qe/ZS2GMldF6lMaPQaXQbyoliQEJnZIh 2l/A== 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=ANfh8Sp6RDP1BEKj58c80tDv8uSSZSoV0eHp6LVwnNQ=; b=09G71oOvX3qwX0kABGGyi0wHy5yZ07ujkcihrnlwODyPWDHnQTnEJ58UC6OTJxGH4G BUBPkq/Exj8u50k1aCQllEtl4mPEqql/uyFMvjM8dKkWZJCJn5ZCafUtX+kc1nx/zCg+ 471tvDRZH1jer0Gigmh3YxnmYWw9YpdgR6YgGXWGPetZ0vgvvXZkgsXjw5ZQPknIyiOi 7OwB5kpyzt0/t+3BPpE0B96TLBr0NW+XXbl2tzOCHGCunefXlH6ep1IpPtRck+gPuBuy a+U2fj0Yek17wElNHx1IUSg+DkCoTFNqgJ4g31xmIYgaL5evRmIedDEB/BefjDWodSth YQcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=M+b31tzl; 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 13-20020a63020d000000b004e09546554esi15984245pgc.680.2023.02.08.01.25.15; Wed, 08 Feb 2023 01:25:32 -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=M+b31tzl; 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 S231491AbjBHJYg (ORCPT + 99 others); Wed, 8 Feb 2023 04:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbjBHJX7 (ORCPT ); Wed, 8 Feb 2023 04:23:59 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C4F4617D; Wed, 8 Feb 2023 01:22:19 -0800 (PST) X-UUID: 119aac38a79211ed945fc101203acc17-20230208 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=ANfh8Sp6RDP1BEKj58c80tDv8uSSZSoV0eHp6LVwnNQ=; b=M+b31tzl6Gn5bkEaTvcmuE0zAn7ragRpSK3DZ3dCbwlawwMtlaFlCFk+cIXWwa6u/v8sWdrgdmSX9R8lPSreBkZZKC/1c4zp4kLs2qKvkkA6gD/SssqxvdFlppj5xfnMr0i9fZv9dr4U1GgE/jKGhT4e/RMKl4oouEW1aGvMRbc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.19,REQID:2646509c-e406-41ea-a71e-83ad13400877,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:885ddb2,CLOUDID:cd98d4f7-ff42-4fb0-b929-626456a83c14,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,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: 119aac38a79211ed945fc101203acc17-20230208 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 612659513; Wed, 08 Feb 2023 17:22:12 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) 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; Wed, 8 Feb 2023 17:22:10 +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, 8 Feb 2023 17:22:10 +0800 From: Moudy Ho To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Matthias Brugger CC: , , , , , , Moudy Ho Subject: [PATCH v4 02/16] arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes Date: Wed, 8 Feb 2023 17:21:55 +0800 Message-ID: <20230208092209.19472-3-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230208092209.19472-1-moudy.ho@mediatek.com> References: <20230208092209.19472-1-moudy.ho@mediatek.com> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757254340900611962?= X-GMAIL-MSGID: =?utf-8?q?1757254340900611962?= In order to generalize the node names, the DMA-related nodes corresponding to MT8183 MDP3 need to be corrected. Fixes: 60a2fb8d202a ("arm64: dts: mt8183: add MediaTek MDP3 nodes") Signed-off-by: Moudy Ho --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 3d1d7870a5f1..d7011e6511e1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1781,7 +1781,7 @@ mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; }; - mdp3-rdma0@14001000 { + dma-controller0@14001000 { compatible = "mediatek,mt8183-mdp3-rdma"; reg = <0 0x14001000 0 0x1000>; mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x1000 0x1000>; @@ -1793,6 +1793,7 @@ iommus = <&iommu M4U_PORT_MDP_RDMA0>; mboxes = <&gce 20 CMDQ_THR_PRIO_LOWEST 0>, <&gce 21 CMDQ_THR_PRIO_LOWEST 0>; + #dma-cells = <1>; }; mdp3-rsz0@14003000 { @@ -1813,7 +1814,7 @@ clocks = <&mmsys CLK_MM_MDP_RSZ1>; }; - mdp3-wrot0@14005000 { + dma-controller@14005000 { compatible = "mediatek,mt8183-mdp3-wrot"; reg = <0 0x14005000 0 0x1000>; mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x5000 0x1000>; @@ -1822,6 +1823,7 @@ power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; clocks = <&mmsys CLK_MM_MDP_WROT0>; iommus = <&iommu M4U_PORT_MDP_WROT0>; + #dma-cells = <1>; }; mdp3-wdma@14006000 {