From patchwork Wed Feb 8 05:36:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Wu X-Patchwork-Id: 54200 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3280077wrn; Tue, 7 Feb 2023 22:03:08 -0800 (PST) X-Google-Smtp-Source: AK7set+K4mPzw63HWZyUR3FkMitt70UrWpVhDsMOpcuNhK9vpO6b7CfJSUfwsTKGExHaAuMFOO0Y X-Received: by 2002:a17:906:3ec3:b0:878:8294:9179 with SMTP id d3-20020a1709063ec300b0087882949179mr5989922ejj.54.1675836188580; Tue, 07 Feb 2023 22:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675836188; cv=none; d=google.com; s=arc-20160816; b=dUqfyn5w0a0axkKAH9cnsJMdGuESLq7tfQjgpm1LQPj3gVxo48g8/za+flOgl64a+X 4EL/o/SEoGNRFYEvGeyvs/eIVRiLQR8fH+1XJ31CGlFmVtvg1uOvsrMs2tcbKl8K0m8f wd8eii3e4AH8e7lDqtbpMyJabIMLOokTX7TNwfyt/yaNvMjBafPLIF0CXxfiMMAhayGZ d5MSLZFHUUCBWyYY/6l59KieFuDO6XY1v88WCdcJ+zR0fewSSMk/8QWE0Z/Z/eU/8WA+ vXkFp2vWqexCbaRZXKcj+ZEkj/wgTY290jB58KHU/YE5r4SNt2F7+7Dg6TtoestkmZ1y Wrfw== 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=6NHS2KCzcmLYPt4o9uTG7GnDL5CYjHINzLfnsbF5K0Q=; b=t5jINYHbUWREpIIcBCYrmODkXivoMoAE3e0tktqmHKJnL8Yu39KwFVwNC7qgXQMEe4 dFeWESGP0woQ62I1VnDxJ1NPYIuMtYfGzXxJ5W1TLPbyZhAnVyYza5TM8wp7kt+BGFI/ odzR5fRtXmMiXOCKyhGU9xNvHAbiAuOQBftQjPVnP1sAYSV6JUywrPZLmxgwaxQuLJZ+ qVw9/R5RN78SDARwnSpMafvm++6rik1GaS0/QRcvZVBcBvN4DSos45aP2xm+V+PzPL3s FOt3MD8+XwRL0VJ9LX0AZFgtKYzL+3ZJPmBkqGtCjprF4Me6nS+N7AAe1Nizorb0N9/3 F6GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=aZxnTqS5; 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 w21-20020a05640234d500b004a2357e19d2si22347427edc.33.2023.02.07.22.02.44; Tue, 07 Feb 2023 22:03:08 -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=aZxnTqS5; 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 S230331AbjBHFjU (ORCPT + 99 others); Wed, 8 Feb 2023 00:39:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbjBHFjR (ORCPT ); Wed, 8 Feb 2023 00:39:17 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9FA1CDFA; Tue, 7 Feb 2023 21:38:51 -0800 (PST) X-UUID: dac9ef58a77211ed945fc101203acc17-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=6NHS2KCzcmLYPt4o9uTG7GnDL5CYjHINzLfnsbF5K0Q=; b=aZxnTqS5GOz/ms+Z9vH4gzzn+gTgJYRb3o/TmCgquLFoEIDy+JicWbRllBp7FsF3IZIOUgqFfEtepqWyTWoLfMYhH7iGHuoPjYeOCzvcQmvoAKKgBXEdeEF9T8eVBerQjP5WNQNPpeGv9LLC2Hx/l4YGGZbselquaBnOmyh3/kI=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.19,REQID:e3d2a112-1254-40da-ac69-f8e8c5fc1fa1,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:8b22cdf7-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 X-UUID: dac9ef58a77211ed945fc101203acc17-20230208 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1479023298; Wed, 08 Feb 2023 13:38:45 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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, 8 Feb 2023 13:38:44 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 8 Feb 2023 13:38:43 +0800 From: Yong Wu To: Joerg Roedel , Matthias Brugger , Mauro Carvalho Chehab , Rob Herring CC: Will Deacon , Robin Murphy , Krzysztof Kozlowski , Hans Verkuil , , , , , , , , AngeloGioacchino Del Regno , , , , Yunfei Dong , kyrie wu , , , , Yong Wu Subject: [PATCH v2 09/10] arm64: dts: mt8195: Remove the unnecessary dma-ranges Date: Wed, 8 Feb 2023 13:36:42 +0800 Message-ID: <20230208053643.28249-10-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230208053643.28249-1-yong.wu@mediatek.com> References: <20230208053643.28249-1-yong.wu@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?1757241607227261646?= X-GMAIL-MSGID: =?utf-8?q?1757241607227261646?= After we add the dma-ranges in the parent "soc" node, this property is unnecessary for the leaf node. Signed-off-by: Yong Wu Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 0f5a31ca1b70..7d87cbabc9f1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -2300,7 +2300,6 @@ power-domains = <&spm MT8195_POWER_DOMAIN_VENC>; #address-cells = <2>; #size-cells = <2>; - dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; }; jpgdec-master { @@ -2312,7 +2311,6 @@ <&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA1>, <&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET1>, <&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET0>; - dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; #address-cells = <2>; #size-cells = <2>; ranges; @@ -2384,7 +2382,6 @@ <&iommu_vpp M4U_PORT_L20_JPGENC_C_RDMA>, <&iommu_vpp M4U_PORT_L20_JPGENC_Q_TABLE>, <&iommu_vpp M4U_PORT_L20_JPGENC_BSDMA>; - dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; #address-cells = <2>; #size-cells = <2>; ranges;