Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp403789rwb; Thu, 12 Jan 2023 22:17:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXuV1f21J/lfG0SktiHWxTtcnDP+buEGBCZWo6t0HOuze+3bul15WbogN+74gmjn9PznllvQ X-Received: by 2002:a05:6a20:d399:b0:ac:7539:389f with SMTP id iq25-20020a056a20d39900b000ac7539389fmr102563281pzb.56.1673590654312; Thu, 12 Jan 2023 22:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673590654; cv=none; d=google.com; s=arc-20160816; b=rkOPBYhBp9FUZnuRdzzvDMPr0Rbl/+/4OCKLA3rVyY8VQloZYrUZPVuwLEVNhhUvek +9xhVwy2VRjMWXEEtTEL2SIzyp760dLnxJuOqDGcxccmjXu9nXNCA3PBbjetA9HNzfSt cPv3IfWi9FOahShqEx3nDChs1CIE6eLemIvPfQjtvtibuWTDBs5SZJcSNcJxh8sxEdK9 xcIc5KZ5UuigA9Sf5mOqIGAkIiTKVq4k/6gkD/hV4972kKghchY2zn1RV9RjaNKtx+uV LaFyrPl0geEm3ldmpokfXyK28GUFU2G+yD+71Eroa7jk4l8OR5KkFmovCqMe1WTk6xzP AcnQ== 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=BsIHHUlhXB1d/I5dm4edCwkGq4sEOl4rl2MH8gLSl7U=; b=NfBYwVinrJQ1lQC1RHDjSNIB4ub3829X27InJkMmy5DDqlJJ2d8tEoURRxONGaMyhl CuJW6nQ1FEj17SbIp40G27Y/H88JGemMSSQT63jLNCxX+ZNMCpj3xHDZ9x+7bWxdkE9H ngRxqxyyTzHlCCT5xC7Drbpc2KfPsZDdUOQCZHCMKh9wrQqp6dhP3TN1bMVs0iPE7V+L 1DS93/fKi2V+QK8qZomvh0WPrULUzdX2aAehR6D6LsqgVHuCaV8LZNq00/cQ942UIpgh eAAWHtdy2MQiZNoDaBrMPWJbCDIMZ+YHLbYR8WoplEnErb5GkK8tK435UMV3LvaH1MmT IpTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RMcDaZuv; 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 192-20020a6214c9000000b0058b3a0a8308si8109883pfu.60.2023.01.12.22.17.26; Thu, 12 Jan 2023 22:17:34 -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=RMcDaZuv; 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 S240292AbjAMGGk (ORCPT + 52 others); Fri, 13 Jan 2023 01:06:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238274AbjAMGGC (ORCPT ); Fri, 13 Jan 2023 01:06:02 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67BD369B16; Thu, 12 Jan 2023 22:02:15 -0800 (PST) X-UUID: d0c5bb24930711ed945fc101203acc17-20230113 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=BsIHHUlhXB1d/I5dm4edCwkGq4sEOl4rl2MH8gLSl7U=; b=RMcDaZuvPOn+7JeVcpStMC0GC/Jq2E3z3CTazvhv/AePIsbrZk6YAZWxs4ADwFGun5rM3HpI6dPR4xtPHIF5CeYhiE7BcvWpgO3F+0HbhiCBQm9MIwzdHXu2Fmag/1HhPg9r9rL0ot+x4VxwkVjIj1v514usiZ80avQVSTzhPis=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:a22c816d-fa6e-4773-9bf2-285f0e66a825,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:70 X-CID-INFO: VERSION:1.1.17,REQID:a22c816d-fa6e-4773-9bf2-285f0e66a825,IP:0,URL :0,TC:0,Content:-25,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTI ON:quarantine,TS:70 X-CID-META: VersionHash:543e81c,CLOUDID:1fef258c-8530-4eff-9f77-222cf6e2895b,B ulkID:230113140211ZYBA1E8N,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-APTURL: Status:success,Category:nil,Trust:0,Unknown:0,Malicious:0 X-CID-BVR: 0,NGT X-UUID: d0c5bb24930711ed945fc101203acc17-20230113 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 977375648; Fri, 13 Jan 2023 14:02:09 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 13 Jan 2023 14:02:08 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 13 Jan 2023 14:02:06 +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 , Tiffany Lin , Andrew-CT Chen Subject: [PATCH 01/10] dt-bindings: media: mediatek,vcodec: Remove dma-ranges property Date: Fri, 13 Jan 2023 14:01:24 +0800 Message-ID: <20230113060133.9394-2-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230113060133.9394-1-yong.wu@mediatek.com> References: <20230113060133.9394-1-yong.wu@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, 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 MediaTek iommu has already controlled the masters' iova ranges by the master's larb/port id. then the dma-ranges property is unnecessary for the master's node. the master is vcodec here. Cc: Tiffany Lin Cc: Andrew-CT Chen Cc: Yunfei Dong Cc: Mauro Carvalho Chehab Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Matthias Brugger Signed-off-by: Yong Wu --- .../devicetree/bindings/media/mediatek,vcodec-decoder.yaml | 5 ----- .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml | 5 ----- .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 7 ------- 3 files changed, 17 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml index aa55ca65d6ed..fad59b486d5d 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml @@ -56,11 +56,6 @@ properties: List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml. - dma-ranges: - maxItems: 1 - description: | - Describes the physical address space of IOMMU maps to memory. - mediatek,vpu: $ref: /schemas/types.yaml#/definitions/phandle description: diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml index 0f2ea8d9a10c..a2051b31fa29 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml @@ -49,11 +49,6 @@ properties: List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml. - dma-ranges: - maxItems: 1 - description: | - Describes the physical address space of IOMMU maps to memory. - mediatek,vpu: $ref: /schemas/types.yaml#/definitions/phandle description: diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml index c4f20acdc1f8..290594bc91cc 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml @@ -76,11 +76,6 @@ properties: The node of system control processor (SCP), using the remoteproc & rpmsg framework. - dma-ranges: - maxItems: 1 - description: | - Describes the physical address space of IOMMU maps to memory. - "#address-cells": const: 2 @@ -203,7 +198,6 @@ required: - reg - iommus - mediatek,scp - - dma-ranges - ranges if: @@ -236,7 +230,6 @@ examples: compatible = "mediatek,mt8192-vcodec-dec"; mediatek,scp = <&scp>; iommus = <&iommu0 M4U_PORT_L4_VDEC_MC_EXT>; - dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; #address-cells = <2>; #size-cells = <2>; ranges = <0 0 0 0x16000000 0 0x40000>; -- 2.18.0