From patchwork Tue Mar 7 02:35:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Wu X-Patchwork-Id: 65206 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2203713wrd; Mon, 6 Mar 2023 18:51:19 -0800 (PST) X-Google-Smtp-Source: AK7set++L0K2I3eiu1SX0P/GFS8nP2FW/jYfvdK9VMb0v5zeZ+4OvdvsQimafEe9ZbdZFTxxP1CV X-Received: by 2002:a17:907:7289:b0:8e3:74ad:94ce with SMTP id dt9-20020a170907728900b008e374ad94cemr14449703ejc.8.1678157479560; Mon, 06 Mar 2023 18:51:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678157479; cv=none; d=google.com; s=arc-20160816; b=OqO2BEYP0OaDyDadUMTueofH47krQmrdhqkmtJ3+427qMQy+KSSjvFGtcgdKrkg5VM FWK4K5Rkl+FYeAn69s327he7Ne9XbQpySGdzgyCG+bQNP0985XmAvJFPEU1AnnVfZ8av kxWTfhWCsETpPM09jXTgY7NMrCRIo2wcoWdOzYixC/+4ehkCUBGv7MsQZy4a7UX1kSEL q1E68mZ4ANkhUonce0LFjofFJW8FkLSk4PBHxCOcTcFOhETspbeqyy/OpLhchg+k1jy+ DpZQ9uoW8Da2ifKkGoLwgxCzJ0/TFDFmsRn00ESJKXDgb+zoKytoJI3HDfsMTDpSX3r8 t0tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kLwczgyiAhcZNomHjRVALNnUAhLiYAIeWiRBonAdHsY=; b=R/aukrfcPEDcg8IJntk1CWC7VnTKzo2Ciyt02ge6hHHr7qXUvpsgy1kg8Q/jBqSiDp LRfh8rwwoviE647GKsalcSswQXV6IdlZ1lEu9YjJ2nvWD/o5QpAUjUT55l03lejHK/7t LjJDOFgcRU6tlGLawygM9lfsvTsHWOUdXtzILuX0JvkcziJVI6vRDDsgboMn/+4boHqF wnffX4Zu7Ya/dOUH+p9Pb0ZTkw8vfjB9N9/7oSK3tw4Nu6scSi35NqUrho83qtY8KYHy Ejis2SnISG5K8yVqeCy6fAFB5hhXMagKPVbgvBFG2P+cd3rUPrcBdGIo90lYESCH7k1T PXmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ac9ChzRX; 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 f25-20020a170906085900b008dd8c164de1si574502ejd.541.2023.03.06.18.50.55; Mon, 06 Mar 2023 18:51:19 -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=Ac9ChzRX; 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 S230118AbjCGCin (ORCPT + 99 others); Mon, 6 Mar 2023 21:38:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230123AbjCGCik (ORCPT ); Mon, 6 Mar 2023 21:38:40 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACE7C2CC45; Mon, 6 Mar 2023 18:38:04 -0800 (PST) X-UUID: 00b6fdfebc9111ed945fc101203acc17-20230307 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=kLwczgyiAhcZNomHjRVALNnUAhLiYAIeWiRBonAdHsY=; b=Ac9ChzRXYxRhPKM45fU7NiE+F3QQWPzWV0SjL+4gZWW3/8AZM0y79ueeOwE8T3Tw22i3GGORMLpz3vLrqkpthYrZ/qNuCR2m7f/kjsI6DiMDP2aMoEtfm0833U3hkOQZ1shv1snx/sKS3MAdrQCA8oHwHRpx9gLD5uxD0eECsY8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:739de33f-d0bc-45e7-9455-95a45a83fda7,IP:0,U RL: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.20,REQID:739de33f-d0bc-45e7-9455-95a45a83fda7,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:25b5999,CLOUDID:908369b2-beed-4dfc-bd9c-e1b22fa6ccc4,B ulkID:230307103729BAVIA39V,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-UUID: 00b6fdfebc9111ed945fc101203acc17-20230307 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 921764253; Tue, 07 Mar 2023 10:37:28 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 7 Mar 2023 10:37:27 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 7 Mar 2023 10:37:26 +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 v5 10/11] arm64: dts: mt8195: Remove the unnecessary dma-ranges Date: Tue, 7 Mar 2023 10:35:06 +0800 Message-ID: <20230307023507.13306-11-yong.wu@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307023507.13306-1-yong.wu@mediatek.com> References: <20230307023507.13306-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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759675657646247190?= X-GMAIL-MSGID: =?utf-8?q?1759675657646247190?= 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 @@ venc: video-codec@1a020000 { 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 @@ jpgdec-master { <&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 @@ jpgenc-master { <&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;