]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: sram: qcom,imem: Allow modem-tables subnode
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 2 Mar 2026 15:58:43 +0000 (16:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Mar 2026 01:22:14 +0000 (17:22 -0800)
The IP Accelerator hardware/firmware owns a sizeable region within the
IMEM, named 'modem-tables', containing various packet processing
configuration data.

It's not actually accessed by the OS, although we have to IOMMU-map it
with the IPA device, so that presumably the firmware can act upon it.

Allow it as a subnode of IMEM.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260302-topic-ipa_imem-v6-1-c0ebbf3eae9f@oss.qualcomm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/sram/qcom,imem.yaml

index 6a627c57ae2fecdbb81cae710f6fb5e48156b1f5..c63026904061d4d5b4cc03febd827abf96806ca7 100644 (file)
@@ -67,6 +67,20 @@ properties:
     $ref: /schemas/power/reset/syscon-reboot-mode.yaml#
 
 patternProperties:
+  "^modem-tables@[0-9a-f]+$":
+    type: object
+    description:
+      Region containing packet processing configuration for the IP Accelerator.
+
+    properties:
+      reg:
+        maxItems: 1
+
+    required:
+      - reg
+
+    additionalProperties: false
+
   "^pil-reloc@[0-9a-f]+$":
     $ref: /schemas/remoteproc/qcom,pil-info.yaml#
     description: Peripheral image loader relocation region