From nobody Sat Oct 11 08:21:18 2025 Received: from smtp1.tecnico.ulisboa.pt (smtp1.tecnico.ulisboa.pt [193.136.128.21]) (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 22BA726E6FF; Wed, 11 Jun 2025 12:18:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.136.128.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749644330; cv=none; b=sm+BwWkh2XFcYOMbaC0og4MEW5ePmuACU/ABUspZlNR1EzrihAPAs8iS36vXFikD8c+9+bAaTHQHONqf+uzphTshjlU1th9t7nhA6msUd6HssfUcfN9IQZrooaUmLosWB9AcBot4MfLYrKhCzFoDI768fbtRaW0aAGUv1uTOW4k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749644330; c=relaxed/simple; bh=JVD0QnQ3fH6fknvuzPpR26nJeyTlDpQGPKgijvosEWY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=n4vLWQPmS92Qd17/GzigS8VedgO8RNNdf9wVLORedjGOFjJlBzuHS4G/PsVhhxZw9ZERk9ebKITtvQT30yCPB6nLbEZ2d9f2UHCDbt1MrXdpOHeUCWaLdqg+lqEsmrbmSoncSQHx7RSN90jeISnkI2RMKxjEgvnQExfZxGGJyaU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tecnico.ulisboa.pt; spf=pass smtp.mailfrom=tecnico.ulisboa.pt; dkim=pass (1024-bit key) header.d=tecnico.ulisboa.pt header.i=@tecnico.ulisboa.pt header.b=Yat2uFwF; arc=none smtp.client-ip=193.136.128.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tecnico.ulisboa.pt Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tecnico.ulisboa.pt Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tecnico.ulisboa.pt header.i=@tecnico.ulisboa.pt header.b="Yat2uFwF" Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.tecnico.ulisboa.pt (Postfix) with ESMTP id 6FB426002407; Wed, 11 Jun 2025 13:18:46 +0100 (WEST) X-Virus-Scanned: by amavis-2.13.0 (20230106) (Debian) at tecnico.ulisboa.pt Received: from smtp1.tecnico.ulisboa.pt ([127.0.0.1]) by localhost (smtp1.tecnico.ulisboa.pt [127.0.0.1]) (amavis, port 10025) with LMTP id IuhmtmC9y_TL; Wed, 11 Jun 2025 13:18:44 +0100 (WEST) Received: from mail1.tecnico.ulisboa.pt (mail1.ist.utl.pt [193.136.128.10]) by smtp1.tecnico.ulisboa.pt (Postfix) with ESMTPS id AC43C600231F; Wed, 11 Jun 2025 13:18:43 +0100 (WEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecnico.ulisboa.pt; s=mail; t=1749644323; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=caItnQseM7jUl17RpSfQgqCHqKWQly3zbEi1LRHqMW4=; b=Yat2uFwFKvlaArNh4sVjczx9sBZGJuLdKnENicEF3md36TlvmJSOdsQ6BYY+6aujHdgQu6 XEpG05llRmeBp6Cnm7Cb+uI+7krxj62Zj1eAm6DPL3SC2f5F/eaUEITtDNyrDonyhmu2Rg 2vIk1dHA1+Vhdb1mM9u4N4I/drVnGZ0= Received: from [192.168.1.151] (unknown [IPv6:2001:8a0:57db:f00:3ee2:38aa:e2c9:7dde]) (Authenticated sender: ist187313) by mail1.tecnico.ulisboa.pt (Postfix) with ESMTPSA id 882FA360092; Wed, 11 Jun 2025 13:18:43 +0100 (WEST) From: Diogo Ivo Date: Wed, 11 Jun 2025 13:18:03 +0100 Subject: [PATCH v2 3/3] arm64: tegra: Add NVJPG node for Tegra210 platforms 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: quoted-printable Message-Id: <20250611-diogo-nvjpg-v2-3-01f8c76ea90f@tecnico.ulisboa.pt> References: <20250611-diogo-nvjpg-v2-0-01f8c76ea90f@tecnico.ulisboa.pt> In-Reply-To: <20250611-diogo-nvjpg-v2-0-01f8c76ea90f@tecnico.ulisboa.pt> To: Thierry Reding , Mikko Perttunen , David Airlie , Simona Vetter , Jonathan Hunter , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, Diogo Ivo X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1749644321; l=1266; i=diogo.ivo@tecnico.ulisboa.pt; s=20240529; h=from:subject:message-id; bh=JVD0QnQ3fH6fknvuzPpR26nJeyTlDpQGPKgijvosEWY=; b=nX1+bm2O8YN9G2bPlhqaKJN7WJlbDxhqI+A3r6pj8PonDW1cYhgcGV8hxb8ZyLZ/ckII2/Qzf yFVjtmE80V2DH0WI8Whjbj+eGNUlAaKyV0ViQYvDkXj0KyqrDVumHkG X-Developer-Key: i=diogo.ivo@tecnico.ulisboa.pt; a=ed25519; pk=BRGXhMh1q5KDlZ9y2B8SodFFY8FGupal+NMtJPwRpUQ= The Tegra X1 chip contains a NVJPG accelerator capable of encoding/decoding JPEG files in hardware. Complete its DT node and enable it. Reviewed-by: Mikko Perttunen Signed-off-by: Diogo Ivo --- v1->v2: - Collect R-b from Mikko - Explicitly mention Tegra210 in commit subject - Be more precise in commit message about filling in an already existing DT node. --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts= /nvidia/tegra210.dtsi index 6f8cdf012f0f12a16716e9d479c46b330bbb7dda..087f38256fd40f57c4685e907f9= 682eb49ee31db 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -253,7 +253,13 @@ vic@54340000 { nvjpg@54380000 { compatible =3D "nvidia,tegra210-nvjpg"; reg =3D <0x0 0x54380000 0x0 0x00040000>; - status =3D "disabled"; + clocks =3D <&tegra_car TEGRA210_CLK_NVJPG>; + clock-names =3D "nvjpg"; + resets =3D <&tegra_car 195>; + reset-names =3D "nvjpg"; + + iommus =3D <&mc TEGRA_SWGROUP_NVJPG>; + power-domains =3D <&pd_nvjpg>; }; =20 dsib: dsi@54400000 { --=20 2.49.0