From patchwork Tue Oct 1 11:27:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13817899 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 440DDCE7D10 for ; Tue, 1 Oct 2024 11:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LkkLEEucgoW7bgbQKsmRzFtFQZp/ikQpw3ZnY6QygrQ=; b=MzkE/6LeQX8cyZ+1A0N2b7zToo AeNumMQLnwuoSR31ZOwAT3N7FUheE9rawC1u7MwVxnnmEiLVJKwh5xicsWi7UJhXmn07Fv2xVx6z3 fD89yibeKL62IMjMlxFjcwAAP2hQmGeJ3LdlC8ogwVkpHJWZ0TwBuhMO479XKTGh65GQaPkaEbkvD gT/aDsGOXnBgl0HY9dKEGv76NHmH7YYZ9oA3VyB+7P/ST5+0x1N3LiFFqjg6gGK8+rt4xfxX3wbBP DafQ9lZktttzbqLODaDcSggyBO803CllWt3Y4r4W5gK98TYIIY8VwBj1/NxzeXO6Zc57BfqGycj7c GBff3TkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svbJR-00000002ZUJ-2ZoS; Tue, 01 Oct 2024 11:45:05 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svb6L-00000002WOB-3aCQ for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 11:31:35 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-71971d2099cso4356717b3a.2 for ; Tue, 01 Oct 2024 04:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727782293; x=1728387093; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LkkLEEucgoW7bgbQKsmRzFtFQZp/ikQpw3ZnY6QygrQ=; b=XE946Lp6tpMajEzMlSuHk4+WaHnfxhnldGA/T6GJGVyiIYr7ZzzA2K3XeHh8cCj7Qk j1Zx+4B06vWb4wYG20u+B/V8g/4ESi+2LHxKFTP6TfuhGCZ7uPtDhzYBgJNJPLseoVZo /EuBBS/6dnodQHxWt79imVfeiFgqyHsPO1DHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727782293; x=1728387093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LkkLEEucgoW7bgbQKsmRzFtFQZp/ikQpw3ZnY6QygrQ=; b=ERLtelWTurwz/QnX+5BwdmZn7MTNV8TH102cD3tDbzxYsrx8LQsnoONrXdL5XOM+LF Q65Wh2MaOnPLL5EoDnbgr1CzOmsdcmirgrdpZb0enDl3KPMLiBBrsWk7CuS4FiXIGBX/ Vn9IxCc2V3zbjU8JmjETl614rpcuq403i4ekrArrt++kbndklvIO7fHwKWECP0IVLNJI HTAkAeQie2LJ4eBOIcD7XQ5tC9lsUOdi3Zd58YbfeZ0uCQXt6kW+nDNZoNm17KjeWWpy 9S9T3H+/RGjKeOSy3aH9/KWcKy8BET+A17t+wlEbeMhHBxvIK7U+Ap26wSe5erRyqZUi 8Yvg== X-Forwarded-Encrypted: i=1; AJvYcCXUS/wpSjNRvF54W/rDG0k9bGk875RLDPvgIXM5JUX8qDWSL9eYfBYWn2vhQ8wpnRaTPqjG5h4JyDmnwT2fcpwX@lists.infradead.org X-Gm-Message-State: AOJu0YzU4Jdx08ynnVEYIBwsrQSBcgFGZSKW//t5l9v5AEy/8yHXeGsQ wx6RUXQ29oVWIjfdkn36DL6r3n6/LBME2koy6fsRNAXoVKEqrl4dNd2vevxsng== X-Google-Smtp-Source: AGHT+IEgzRkoFd2sNCI4/vjWyPLOdY4pO3TPXtmTpmnMfuOP0TUArqKEjA+xqCTmER3Sm89xeggSoA== X-Received: by 2002:a05:6a00:194f:b0:717:e01d:312f with SMTP id d2e1a72fcca58-71b26078cf5mr25062339b3a.27.1727782292819; Tue, 01 Oct 2024 04:31:32 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:e044:f156:126b:d5c6]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b264b63d9sm7810646b3a.52.2024.10.01.04.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 04:31:32 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 5/8] arm64: dts: mediatek: mt8188: Add missing dma-ranges to soc node Date: Tue, 1 Oct 2024 19:27:23 +0800 Message-ID: <20241001113052.3124869-6-fshao@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog In-Reply-To: <20241001113052.3124869-1-fshao@chromium.org> References: <20241001113052.3124869-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_043133_918924_92EA7EFA X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the missing dma-ranges property to the soc node, similar to how it was done for MT8195 and MT8192. This allows the entire 16GB of iova range to be used and enables multimedia processing usages, like vcodec and MIPI camera. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Fei Shao --- (no changes since v1) arch/arm64/boot/dts/mediatek/mt8188.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index cd27966d2e3c..69390da9cfe0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -878,6 +878,7 @@ soc { #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; + dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>; ranges; gic: interrupt-controller@c000000 {