From c9e7fc262f4ca73567636cbb1b0d7f4a4a5fd209 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 27 Aug 2024 11:24:49 -0700 Subject: [PATCH] UPSTREAM: dt-bindings: sram: Document reg-io-width property Some SRAMs need to be accessed with a specific access width, define the 'reg-io-width' property specifying such access sizes. Bug: 369085303 Change-Id: I8848088221053fbd462d4f7310fffab861944879 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Florian Fainelli Message-Id: <20240827182450.3608307-2-florian.fainelli@broadcom.com> Signed-off-by: Sudeep Holla (cherry picked from commit 14b2157a9c14481c3b967d8d1a95972bf885fb88) Signed-off-by: Danesh Petigara Signed-off-by: Pierre Couillaud --- Documentation/devicetree/bindings/sram/sram.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml index 993430be355b..3bcca3b2052c 100644 --- a/Documentation/devicetree/bindings/sram/sram.yaml +++ b/Documentation/devicetree/bindings/sram/sram.yaml @@ -100,6 +100,12 @@ patternProperties: IO mem address range, relative to the SRAM range. maxItems: 1 + reg-io-width: + description: + The size (in bytes) of the IO accesses that should be performed on the + SRAM. + enum: [1, 2, 4, 8] + pool: description: Indicates that the particular reserved SRAM area is addressable