Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp355675rwb; Tue, 6 Dec 2022 22:35:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jp+mEftrwZaQyS0Lhz9NH3DOCMrrrxHu8wZ8ZWPMhVL5fQNKQ6EyV7uGjRaMXhTf8l52i X-Received: by 2002:a05:6402:240b:b0:469:9667:704c with SMTP id t11-20020a056402240b00b004699667704cmr4875840eda.318.1670394928207; Tue, 06 Dec 2022 22:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670394928; cv=none; d=google.com; s=arc-20160816; b=SFQoDQfYs0P5c7iqp6iaiSlZi1bL/t9V5r8mFwbMipKbGzPj0qah0fSV2Hv6dvtoSu 6PXlTJcFuTF5Fxo1AeG/R57BF/HdyEp4fmAFLiHVvf3h3+wq01a0N+ieiNB07ZbEQQh5 kz0yO8Na4vILC/Ei9J3qA6S1hpyOz2Ryi+wxwAzeYDfvCh3vwzI9c9ReK9+9bvvqLYZe xIxd9lPJ1jxvo9HPjWmwGOadxJy5hOa+0JZ0bAHXpUqwdikOaxylwb2agSUHonG8qxW8 XeadFsCD7kqXtMuQXrXVWlyqQLH730lPC37xsgkqueYnrX2rzlIHviYz1FHU3Sc6ooGe c4GA== 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=1G5CgmoJNqi0WF3OrbuFaLqD9wd1bS/NEuB81IeqtVY=; b=GC5szEMMvUYllPWMJzux9DJXJrugYKPJJiNwlC6inxrtPWqCvM6wRl5Vy901p8YNI/ mnpufVmqiByW0AWJq4QRJGe1TykEYRrehCUGbScfkQLRbCAYUvad24KxtFliMSGZ9HnL usMmu6V5+DJa0gYnU+ZpknhtEAR43sLgnJKurGmKbY7PhYW40O6OFCedqqfrqTSdho03 IeFGxXgRWxl1u44sFbI55cPtztow9LBzkNF2UcWBm13UIZc8BABPXvqxPoaWZ/KbGAMV gBKjQRWwvTATuMY8/d58A913jS+cfobFv3jTdc52052VsJtrY44FX9AhgFU7XZ7mb8vL 4Ekw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=aY2TYQZO; 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 bm26-20020a0564020b1a00b0045d15f39bf4si3193416edb.479.2022.12.06.22.35.09; Tue, 06 Dec 2022 22:35:27 -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=aY2TYQZO; 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 S229730AbiLGFv6 (ORCPT + 76 others); Wed, 7 Dec 2022 00:51:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiLGFvZ (ORCPT ); Wed, 7 Dec 2022 00:51:25 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E6B58021; Tue, 6 Dec 2022 21:51:22 -0800 (PST) X-UUID: aa79dd9176624a75a3e3bbf05e4c54d2-20221207 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=1G5CgmoJNqi0WF3OrbuFaLqD9wd1bS/NEuB81IeqtVY=; b=aY2TYQZO47pJZhU3otENs3N4iz2SL2et78Z4N7MdSVodd8B2BuOaMaufARBRf8yF2HIdSa5yquadGWY2HR4BtpEfqPjeSrr7bbAPQ0vTRyTWqiRHLIs6e/ImEe2rMpzSuez6RnwN3BY5xZ6wcHaUk8pvZSTLVpphBtlv87CR/aU=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:60f0f88d-9957-4ad1-ad07-42a6495b2a3c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.14,REQID:60f0f88d-9957-4ad1-ad07-42a6495b2a3c,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:dcaaed0,CLOUDID:dbffdfd1-652d-43fd-a13a-a5dd3c69a43d,B ulkID:221207135113MJWTABTL,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 X-UUID: aa79dd9176624a75a3e3bbf05e4c54d2-20221207 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 541522236; Wed, 07 Dec 2022 13:51:12 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 7 Dec 2022 13:51:10 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 7 Dec 2022 13:51:10 +0800 From: Allen-KH Cheng To: Mauro Carvalho Chehab , Matthias Brugger , Rob Herring , Krzysztof Kozlowski CC: , , , , , , , Allen-KH Cheng Subject: [PATCH v6 2/3] media: dt-bindings: media: mediatek: Remove "dma-ranges" property for decoder Date: Wed, 7 Dec 2022 13:51:06 +0800 Message-ID: <20221207055107.11333-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221207055107.11333-1-allen-kh.cheng@mediatek.com> References: <20221207055107.11333-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 Because the decoder nodes already make use of the iommus property to configure the IOMMU for address translations, having a dma-ranges property makes no sense. In fact, after commit f1ad5338a4d5 ("of: Fix "dma-ranges" handling for bus controllers"), having a dma-ranges property causes IOMMU faults. Remove the dma-ranges property and update the example. Signed-off-by: Allen-KH Cheng Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring Reviewed-by: NĂ­colas F. R. A. Prado --- .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml index 46308cdaacc0..7efc70ae4406 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 @@ -151,7 +146,6 @@ required: - reg - iommus - mediatek,scp - - dma-ranges - ranges if: @@ -185,7 +179,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