mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anshul Dalal <anshuld@ti.com>
To: Nishanth Menon <nm@ti.com>, Tero Kristo <kristo@kernel.org>,
	"Santosh Shilimkar" <ssantosh@kernel.org>,
	Rob Herring <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	"Anshul Dalal" <anshuld@ti.com>
Subject: [PATCH v2 2/2] dt-bindings: arm: keystone: add boot_* mboxes to ti,sci
Date: Wed, 12 Nov 2025 14:00:54 +0530	[thread overview]
Message-ID: <20251112-k3_syscon_add_boot_mailboxes-v2-2-aebc1e47b391@ti.com> (raw)
In-Reply-To: <20251112-k3_syscon_add_boot_mailboxes-v2-0-aebc1e47b391@ti.com>

The bootloader on K3 devices makes use of mailboxes as per the ROM spec
which might be different than one's available to the kernel (firmware
spec).

Therefore, this patch adds the missing mailbox entries to the DT binding
to represent the mailboxes exposed by the hardware during boot for the
purpose of loading the firmware.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
---
 .../devicetree/bindings/arm/keystone/ti,sci.yaml     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 182915c34fc1429fb627ac44c99c0c76fdf28e0f..770d6bc7c8f83493e448c426cb8f785dd73e824d 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -51,12 +51,17 @@ properties:
     minItems: 1
 
   mbox-names:
+    minItems: 2
     description: |
       Specifies the mailboxes used to communicate with TI-SCI Controller
       made available from TI-SCI controller.
     items:
       - const: rx
       - const: tx
+      - const: notify
+      - const: boot_rx
+      - const: boot_tx
+      - const: boot_notify
 
   mboxes:
     minItems: 2
@@ -66,6 +71,10 @@ properties:
     items:
       - description: RX thread
       - description: TX thread
+      - description: Notify thread
+      - description: boot stage RX thread
+      - description: boot stage TX thread
+      - description: boot stage Notify thread
 
   ti,host-id:
     $ref: /schemas/types.yaml#/definitions/uint32
@@ -128,3 +137,14 @@ examples:
         #reset-cells = <2>;
       };
     };
+
+  - |
+    sms: system-controller@44083000 {
+      compatible = "ti,am654-sci";
+      mbox-names = "rx", "tx", "notify", "boot_rx", "boot_tx", "boot_notify";
+      mboxes = <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>,
+        <&secure_proxy_mcu 5>, <&secure_proxy_mcu 4>,
+        <&secure_proxy_mcu 5>, <&secure_proxy_sa3 5>;
+      reg-names = "debug_messages";
+      reg = <0x44083000 0x1000>;
+    };

-- 
2.51.0


  parent reply	other threads:[~2025-11-12  8:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-12  8:30 [PATCH v2 0/2] dt-bindings: arm: keystone: ti,sci: add entries for boot mboxes Anshul Dalal
2025-11-12  8:30 ` [PATCH v2 1/2] dt-bindings: arm: keystone: add missing items to mboxes Anshul Dalal
2025-11-12  9:01   ` Krzysztof Kozlowski
2025-11-12  9:35   ` Rob Herring (Arm)
2025-11-12  8:30 ` Anshul Dalal [this message]
2025-11-12  9:03   ` [PATCH v2 2/2] dt-bindings: arm: keystone: add boot_* mboxes to ti,sci Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251112-k3_syscon_add_boot_mailboxes-v2-2-aebc1e47b391@ti.com \
    --to=anshuld@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®