dt-bindings: sram: Document reg-io-width property
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 27 Aug 2024 18:24:49 +0000 (11:24 -0700)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 28 Oct 2024 14:50:57 +0000 (14:50 +0000)
Some SRAMs need to be accessed with a specific access width, define
the 'reg-io-width' property specifying such access sizes.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Message-Id: <20240827182450.3608307-2-florian.fainelli@broadcom.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Documentation/devicetree/bindings/sram/sram.yaml

index 0922d1f..7c1337e 100644 (file)
@@ -101,6 +101,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