From patchwork Tue May 5 13:48:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 2160 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mxe881.netcup.net (Postfix) with ESMTPS id 9C1AE1C06B1 for ; Tue, 5 May 2026 15:48:40 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=kernel.org; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-23136-noreply=patchwork.local@lists.linux.dev smtp.helo=sea.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.234.253.10 as permitted sender) client-ip=172.234.253.10; envelope-from=linux-sunxi+bounces-23136-noreply=patchwork.local@lists.linux.dev; helo=sea.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 75758302631B for ; Tue, 5 May 2026 13:48:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C58ED47ECDC; Tue, 5 May 2026 13:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rPhIC7V5" X-Original-To: linux-sunxi@lists.linux.dev Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9B565472777; Tue, 5 May 2026 13:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777988901; cv=none; b=Bst6wMrcCH9yAXF5gaLhsx7U6u2/YO7pt+uNBmMSx6ecSW7Cvl8ivCsVBKNXWvT/I8eeuU90DGQ2z89ZIfsrAf/EUI0MdDEnnqyCIn5bs+0H0vO78FZnaZHBHoHt3ssXxn8eoYt/kdvzilp1JkirUumFpl/lYA0TQosPQ1t7bts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777988901; c=relaxed/simple; bh=ZsY5XFzqNVQiSeNyF6uBu+6Xjl7uvw0cAdRVeaRm5ko=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ABQnmN8QfErLmblr3R3foKvajRUehjMl3+BiPZvkswX9zUBUTk+cK2YXs7aGPKpVTrp2Ue9K0KOAyeXCuNOa2L8xWBFSSp526i43I1I41M/xJZJsMWjvRZDE7HV5lX7zGgAUaf9Ye3cmoRcnqo1hxQDjrjgpk8GG2MGu0PeXNJ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rPhIC7V5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 511D1C2BCC9; Tue, 5 May 2026 13:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777988901; bh=ZsY5XFzqNVQiSeNyF6uBu+6Xjl7uvw0cAdRVeaRm5ko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rPhIC7V5uSFfU6H3ewavI8bj7W4vnj0Qa9g0HpjN7D3qCd6ayeQIl0i0NenzYx2zx t8btSZtPMK39vZd5C5TfHwt68gRynqfUHkE3+FLvn8cteRg2kb85Z7j9VNSEMP5vsD oYVk/es+nrVCQ1WGuHUXfhdfPF2FsdG4DPEPz725r919LpeSPUjSzrSSaLd5dHjr46 i4KBu+okDn2nN1y6rm9URDfSLU6mdZiX8l4O81UvexScwayCkX4jI6RGvKtzKKO6dn MxVb7JWIiLVt+PVkBCeDYIkmQyD4wKQxC+cQur3uaZYjYBs7005rbval/0KM3/Pv0C VlWaENvCdpJqg== Received: by wens.tw (Postfix, from userid 1000) id 3D8735FF5E; Tue, 05 May 2026 21:48:19 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] dt-bindings: media: sun4i-a10-video-engine: Fix SRAM count for H6 Date: Tue, 5 May 2026 21:48:06 +0800 Message-ID: <20260505134812.408316-3-wens@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260505134812.408316-1-wens@kernel.org> References: <20260505134812.408316-1-wens@kernel.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= On the H6, the SRAM C region includes an alias of part of the VE SRAM used by the video engine. This region should also be claimed so that no access happens through the alias window. Add a second SRAM region phandle to the video engine for the H6. Signed-off-by: Chen-Yu Tsai Reviewed-by: Jernej Skrabec Acked-by: Rob Herring (Arm) --- .../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 932043d7f0cc..818d815d4732 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml @@ -48,11 +48,15 @@ properties: allwinner,sram: $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 1 items: - items: - description: phandle to SRAM - description: register value for device - description: Phandle to the device SRAM + - items: + - description: phandle to SRAM alias + - description: register value for device + description: Phandle to the device SRAM(s) iommus: minItems: 1 @@ -101,6 +105,21 @@ allOf: iommus: maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - allwinner,sun50i-h6-video-engine + then: + properties: + allwinner,sram: + minItems: 2 + else: + properties: + allwinner,sram: + maxItems: 1 + additionalProperties: false examples: