From patchwork Mon Oct 30 09:48:38 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: 159599 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2089446vqb; Mon, 30 Oct 2023 02:51:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgZStlKHGoFBXHdmulo16LfH+mm8wqWM5x2t1Youjn5mB9osqPkkN1v4htuWbsEl55OtpB X-Received: by 2002:a17:90b:3b41:b0:280:4796:59b8 with SMTP id ot1-20020a17090b3b4100b00280479659b8mr4316183pjb.9.1698659512319; Mon, 30 Oct 2023 02:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698659512; cv=none; d=google.com; s=arc-20160816; b=kM0tTCN2JMYb92iYkaWM4qoBBzgpYQjaufKkDha63n0bX+kGJLRyCnURENWCbI/XXg dUmlWeGtvq5HRuPXaBOdFqUwef/c5nbg8CyCKqRv8vp8X74jONR4t/r4iAEH0TgJWpfJ fy00vhfhUbogbojavUcLXZbI6chCPt4Ndm7/qT0DwRzEBMwanQOP19OUucLxZ35oUh1B wGFOuX+PXnNSgCE9qUiKzfNfP3CLpMAZbqUQFcD2zFnKW0gCt81tCoz4tjexHpUIglEZ wAA2Yap0HHZoZKCGJhqahG9ljcVPAzogZFw1Cwvm8Gt9F7Xax5XQIKaIsSc5sa01wE/V ulVg== 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=P5JM1/wrQBmccE0zOhCn8sdA72w5RjiESxn0FFMljNE=; fh=Ux3v9q6RGxSGZGA4UA9Py7LQIuEMYcLUDaNVi51qVh8=; b=t7gfa/tePlt8Y6+rJ7g+NADoVpA4k+dsTo6Se+5XiQT5tD5UyVTBkYu/5LQa7ve9YY 0mzb5k4KQ45RYA0+Z9SoDKWT5x1JuEYa5SJvmv+ecrJ7Jmo0ccTICT/xUGSaDKSPjVUG C8JvK0Ytyu0uIR5AdXX6xYtwVeUy+aR8bZ1sleA5NUwzgS3rlOm/coMDkZ6NKrUtFpz1 QoZDOHxuAtJz8yuX/UCqTPCv0kFazXaYJvFuPdZEqCtnb3+PB9w9y514IkjnYPDVkgfm PSjR5lLfpXT5Rs6yt6tSAndlX/FCZdSgog++2tS8OIHxuKA1RdM+gxGTAtBUHb6HXdHt 1mKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Nwq30xAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a21-20020a63e855000000b005b56de1fd82si4654426pgk.272.2023.10.30.02.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 02:51:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Nwq30xAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 42FCD8080E2B; Mon, 30 Oct 2023 02:51:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232858AbjJ3Ju0 (ORCPT + 31 others); Mon, 30 Oct 2023 05:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbjJ3Jtm (ORCPT ); Mon, 30 Oct 2023 05:49:42 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A1811F; Mon, 30 Oct 2023 02:48:49 -0700 (PDT) X-UUID: 83677a0c770911ee8051498923ad61e6-20231030 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=P5JM1/wrQBmccE0zOhCn8sdA72w5RjiESxn0FFMljNE=; b=Nwq30xAGjZQKhFsWO4hd4ty9o3Q2+FVgfNhHxVtmEBTA9UVR6qwCYFpoIK9EWFPKD4fM1+u/eyrKPtK7AATrllLyqsXYM8Qi7XSCZGEufNvmvTeFs4RxkkkJ7E3U042YrpscB3P7CxALLsYn8g4scEVOefu+sSr+575ymYToASI=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.32,REQID:bdd03942-0fcc-40db-9b60-e0e32deec21e,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:5f78ec9,CLOUDID:4deeeefb-4a48-46e2-b946-12f04f20af8c,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,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 83677a0c770911ee8051498923ad61e6-20231030 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 567081399; Mon, 30 Oct 2023 17:48:43 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 30 Oct 2023 17:48:41 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 30 Oct 2023 17:48:41 +0800 From: Moudy Ho To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno CC: "Nancy . Lin" , , , , , Moudy Ho Subject: [PATCH v8 1/3] arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes Date: Mon, 30 Oct 2023 17:48:38 +0800 Message-ID: <20231030094840.2479-2-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231030094840.2479-1-moudy.ho@mediatek.com> References: <20231030094840.2479-1-moudy.ho@mediatek.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--0.382700-8.000000 X-TMASE-MatchedRID: RHvDJj0ZqxStGUuyWCB/KmNW0DAjL5p+YefZ7F9kLgtAtKM3hDDAfGb6 PphVtfZgrFJWY3X4BryAMuqetGVetnyef22ep6XYxlblqLlYqXKR6Uiu6FWuEa+B3boQjUih9dX vBwJKpHbpJdIPpLy6uSPeN9a8nXB8DIairJTdhLwwI7wF3X+bfxaAWUKCqr5YoBzXGAqqSHeOh+ wyNBrFXDJiNuKohDcKzKSG3JdyKAPqtV2AGMNPaiHWPYzouJUy X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.382700-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: BB102C03DFF603E604F4424B05CC20C916E8AEC341DB8C9753BD2E699AFBBFE32000:8 X-MTK: N X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 30 Oct 2023 02:51:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781173596637672736 X-GMAIL-MSGID: 1781173596637672736 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 Reviewed-by: AngeloGioacchino Del Regno --- 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 5169779d01df..bab68c233792 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 {