]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: sram: Document Allwinner H616 VE SRAM
authorChen-Yu Tsai <wens@kernel.org>
Tue, 24 Mar 2026 16:43:49 +0000 (00:43 +0800)
committerChen-Yu Tsai <wens@kernel.org>
Mon, 27 Apr 2026 15:25:35 +0000 (23:25 +0800)
The Allwinner H616 has two switchable peripheral SRAM regions:

- The VE SRAM is a 2 MB dedicated SRAM for the Video Engine. CPU access
  to this region is enabled by default. CPU access can be disabled,
  after which reads will show the same stale value for all addresses,
  while writes are ignored.

  The mux value for this region is different from previous generations,
  and thus needs a completely new compatible.

- The SRAM C region is an alias of the first 128 KB of VE SRAM, plus 64
  KB of DE SRAM. The latter is otherwise unaccessible from the CPU. When
  CPU access is disabled, the whole region reads as zero, while writes
  are ignored.

  The mux value for this region is the same as on the A64 and H6. The
  existing compatible for the A64 already covers this.

Add the compatible for the VE SRAM to the list of covered compatibles in
the generic SRAM region binding.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20260324164357.1607247-2-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Documentation/devicetree/bindings/sram/sram.yaml

index 8985f89170beb0d5b6881418bb6030806af466c1..9019c43d37a640eabf45b0377cb795999fdab3b1 100644 (file)
@@ -83,6 +83,7 @@ patternProperties:
             - allwinner,sun4i-a10-sram-d
             - allwinner,sun9i-a80-smp-sram
             - allwinner,sun50i-a64-sram-c
+            - allwinner,sun50i-h616-ve-sram
             - amlogic,meson8-ao-arc-sram
             - amlogic,meson8b-ao-arc-sram
             - amlogic,meson8-smp-sram