Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp649432lqt; Thu, 6 Jun 2024 14:13:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpyrznuIFWoHi++tdOcyK4Qt2gY2cr/M3yF3nxBMpbAJYojeq64LYnKycNLpcHeEHhCjfqzPpdpymVD1kal39O9fxrZ9fRG025LbMh9A== X-Google-Smtp-Source: AGHT+IE3gcoI4+/GMdbXJ8wNkopefnWyyyiiJZhXNFYhI1j1++f8lTerWIPqXp56FIzNF64RXpur X-Received: by 2002:a50:c05a:0:b0:57a:79c2:e9cb with SMTP id 4fb4d7f45d1cf-57c509aaa00mr297185a12.38.1717708411262; Thu, 06 Jun 2024 14:13:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717708411; cv=pass; d=google.com; s=arc-20160816; b=Eu/YArDLIFA/8nuSZM7FiNykh7vjK8CGZwGsFL6lrci8/aJGi1y5YrFCg02ZKy23zn QjUFyuoj5n/UwtZhhR9SyVYtt7c4DmymQ3zJPk73n5sxYNA8nIwNoNpLYD3Vnt6cT5Uu xZ1cD7pdmi+EpC5miw9tIQIL7wylU/eLTQBkm0km0IMjrEcqXJ0pr579vjwCl8rFfuAE 1AhRwB1Nf5ELSp6dTQ80Kc2wLJj22NlaYHZw2keRS94GgGg+yfMSxb8Jy8ulSodnStNN Tounhxn3ht2FhjUL1Q5iJ0u7dbaAn8IhP6qW2mXezdp2c+RPcjyyIlUCLU908Kbma2Qq EUQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=lX2Ng7XFCj1aDAMOT6Ma1blTJm8OQAtEZ+Gj3uHDogo=; fh=mzP7m0/h8a896ZMLBt09bgW7nwgtKEiX4zVcWAeaRV8=; b=wsnv6ca8jg9OHxJLitU63VOfA4ZWxi55eGXpWxyF1ViEZ5I74Sbyqy65wAk3jBoUJ0 eSgQtS3TCbjiiHOtGgTORX7Axo/vlezqwlbJuVCWLmZCirEsh/S1X0sGzhAbuZleglh8 +BkyuyedhLHevj9viiDSS5LgLuKaJAFGI1jaFPtN4xzeetT2m5oiX5HduUcwEQSkLxmU ODIkhhdxqOyMFDcoaivJktKDADTVpn3m3WanjdDLNymHFnox0qobLhizEquU/VPEtT20 JdlrSvnYoujr1qdFN4U9Mmx6IrJn1L+1pg8Nr6ugm5StuOT6wYiVkzpG4tk2luo5aFZZ dEKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ou8kv5IN; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-205035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae2015c1si1097967a12.311.2024.06.06.14.13.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 14:13:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ou8kv5IN; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-205035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 314971F221DB for ; Thu, 6 Jun 2024 21:12:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71F3413C812; Thu, 6 Jun 2024 21:12:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ou8kv5IN" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 128B81BDEF; Thu, 6 Jun 2024 21:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717708370; cv=none; b=VWHbXWn6G5Btp4S29XUbhfYSDjtkeoV9mWL7x0kYGZtTUUn0MR+A3rOrgZ4qt28tcSt/LOx5laaufmqA1lSgTtvCTdID9XjgmV1REeN9oZwvVkbz5HYS4orGkNaFh4WUIedz7VyOrIH8ygUBeg5HRdsFRRbRFsxISFAB7oXFjk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717708370; c=relaxed/simple; bh=gfnupUAPz/WWhzeYdhaephd6S8G+uSgDbb6ssPacr2I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=NfPV21OR7dmEGSaxKLNPl0UgQk2YmiZxs0TxWGBlxyyf/Wf6MF/HaSFpT3BOyY3cXzXvgI7gmxQb6tw+6Q6d12sh3uHw1miY+WXpZ84rX3kiVTjlSvpfsdLST1TUa4HTa4lNzxi3zvVZCfarczCJ5TtEOcatQENFVVwHCAn4XZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=ou8kv5IN; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717708367; bh=gfnupUAPz/WWhzeYdhaephd6S8G+uSgDbb6ssPacr2I=; h=From:Date:Subject:To:Cc:From; b=ou8kv5INNIPOe3y4ZRitv2E8GiMeLDqmhO0agsTUR5lVsRLxNeknvaBhN6raFEzoc WeuUIZOtMhHhBspNI+KeOet0L6HTZ0XSg71Ylfg/EpGde5h5uqslJ5rZFiB79wlf8h F19SzZAP4FWnPt6wI76tI5KqzXgqc7k2Gey5PIG+yFffnRGGrRqhuyPunF8VTRlISM XliylfIFW4Vk3dDzePOgxGSi/tqJf31C7Smfb1r+feNfQ9f6ohYvFkaOGxIJMJi89N QkGC9KL+WRJzRp4NDX09avtNHAUjVqF9rANgTHflIydBq7YxwMdF7xHIQGFD4S8zcX gyTTkzdDuw/aQ== Received: from [192.168.1.216] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 403E9378143B; Thu, 6 Jun 2024 21:12:45 +0000 (UTC) From: =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Date: Thu, 06 Jun 2024 17:12:04 -0400 Subject: [PATCH v2] arm64: dts: mediatek: mt8195: Add SCP phandle to MDP3 DMA controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240606-mt8195-dma-scp-node-err-v2-1-e14702e9d3f2@collabora.com> X-B4-Tracking: v=1; b=H4sIACMmYmYC/4WNQQqDMBBFryKz7hQzxGC76j2Ki5hMakCNTERax Ls39QJdvgf//R0yS+QM92oH4S3mmOYCdKnADXZ+MUZfGKgmXZu6wWlt1a1BP1nMbsE5eUYWQWN bz5aM16GBsl6EQ3yf5WdXeIh5TfI5jzb1s/+bm0KFgVyvKZD2hh8ujaPtk9irSxN0x3F8AWOwz jLCAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Moudy Ho Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= X-Mailer: b4 0.13.0 While the MDP3 DMA controller can look for the SCP node based on compatible, it's best practice to supply the MDP3 node with a phandle to the SCP since that allows supporting dual core SCP as well. Besides, relying on the compatible search causes an error to be printed, since the phandle is tried first: mtk-mdp3 14001000.dma-controller: can't get SCP node Add the missing phandle to follow the best practice and get rid of the error. Fixes: 5710462a116c ("arm64: dts: mediatek: mt8195: add MDP3 nodes") Signed-off-by: NĂ­colas F. R. A. Prado --- Changes in v2: - Added scp phandle property in DT instead of removing the error message - Link to v1: https://lore.kernel.org/r/20240605-mt8195-dma-scp-node-err-v1-1-f2cb42f24d6e@collabora.com --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 2ee45752583c..a46062258603 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -2037,6 +2037,7 @@ dma-controller@14001000 { mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x1000 0x1000>; mediatek,gce-events = , ; + mediatek,scp = <&scp>; power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>; iommus = <&iommu_vpp M4U_PORT_L4_MDP_RDMA>; clocks = <&vppsys0 CLK_VPP0_MDP_RDMA>; --- base-commit: d97496ca23a2d4ee80b7302849404859d9058bcd change-id: 20240605-mt8195-dma-scp-node-err-6a8dea26d4f5 Best regards, -- NĂ­colas F. R. A. Prado