Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795025298; b=IsRolE5dmkNAKIwUu5yIOFZndszxODCIPugPVUUHnBm9Zh13injvVInTSilKwOnjBW+l 3Zx3yM2P7IMMVWneVA+Yi7yD0bT5D/MgXTMgK3a6Mo3aitONGjJUwgWq6kzwmWyqcteaK c772Li9I726F8hOzFGqAFDTfjur2x6RswqwQaRtvxHbh+kA3vfC4iO62+4I2JHCNG3DU9 K+LmaDL5h/SsA7jCm6ZfhAdcirhWtBU62+vSDIndDnEjDCZh3trj4XCBU3IXuUi6vhNRL +NwuzhMwao3fIwdYD25UTh8RJKDwfAkHovRihneo5GzZeiZQrfo0wegcGbCspIuXQ/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795025298; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=C5OX9D5eqtvBqmtkiEg36RBsYQJDMqb5jj28bXJYuYM=; b=l8Ye8xiKi4sDU45weGStmiYQYe1VPCOQ4OhlbbjI/Nm1dVAgsTxGFHqoRtVW9naw1MV/ JBfLVzH68pXhuj1JGjp5XcCFpUdHqTzx2u+rGMmxwry79CM3Hhwrqo8AyYSV4P90qT4gg r1ExMve3aHb8NF5l5y52CWgGdZVig5TEeLfp+iF5MCSI5dxSbsJRhTWNo2cqF/kS2nMmR 16mUo0nOgASdNo4IhgqDrWg+FAEloWVkoxXjMwnbYeDUK6F41XvBeZSvMmcRCgI7jkWEA NdsJI6KA5C0ej5uwLCIYYo+bXt6jJtIipDt7JfrMslEnOmXByrRejSHd5mqz4oBTPEw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=nXD4hML4; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CCC9606A320; Wed, 18 Nov 2026 18:08:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=nXD4hML4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F32271F000C4; Wed, 18 Nov 2026 18:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795025298; bh=C5OX9D5eqtvBqmtkiEg36RBsYQJDMqb5jj28bXJYuYM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=nXD4hML4qfD92yxJv9W5sEq+qblSO+wqveD9TyXqUBhXqdT1E/W656jF7WF6H9f/F utgCmsWqQ7o17TJNkPdXahvwrdzAMfb+qDcNP8FzYJ/kkpfky/B/VE2IgXow/jeq3d y713l1rud8R/u4nWU2cwHQiLMY12J7mt9TlofHVQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jernej Skrabec , "Rob Herring (Arm)" , Chen-Yu Tsai , Nicolas Dufresne , Hans Verkuil , Sasha Levin Subject: [PATCH 6.18 1031/2151] dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6 Date: Wed, 18 Nov 2026 15:46:06 +0100 Message-ID: <20261118150159.929321112@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150121.603863898@linuxfoundation.org> References: <20261118150121.603863898@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chen-Yu Tsai [ Upstream commit ca9a67831805dc788407a05f276abb6b86b1174d ] On the H6 SoC, the Video Engine has two memory ports, thus two IOMMU connections. The secondary one that is missing is likely used for reading reference frames. The newer H616 is the same. On the other hand, the D1 only has one memory port. Add the missing IOMMU connection for the Video Engine. Fixes: 62a8ccf3a248 ("arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage") Reviewed-by: Jernej Skrabec Acked-by: Rob Herring (Arm) Signed-off-by: Chen-Yu Tsai Signed-off-by: Nicolas Dufresne Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- .../allwinner,sun4i-a10-video-engine.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml index 01f2afa023f04..932043d7f0cc4 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml @@ -55,7 +55,10 @@ properties: description: Phandle to the device SRAM iommus: - maxItems: 1 + minItems: 1 + items: + - description: VE port on IOMMU + - description: VE_R port on IOMMU memory-region: maxItems: 1 @@ -82,6 +85,22 @@ required: - resets - allwinner,sram +allOf: + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun50i-h6-video-engine + then: + properties: + iommus: + minItems: 2 + else: + properties: + iommus: + maxItems: 1 + additionalProperties: false examples: -- 2.53.0