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>, "Andrew Davis" <afd@ti.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Vignesh Raghavendra <vigneshr@ti.com>,
"Dhruva Gole" <d-gole@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>,
Anshul Dalal <anshuld@ti.com>
Subject: [PATCH v9 1/2] dt-bindings: arm: keystone: add boot_* mboxes to ti,sci
Date: Fri, 16 Jan 2026 15:45:50 +0530 [thread overview]
Message-ID: <20260116-k3_syscon_add_boot_mailboxes-v9-1-6358cd1f2b1f@ti.com> (raw)
In-Reply-To: <20260116-k3_syscon_add_boot_mailboxes-v9-0-6358cd1f2b1f@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
if the matching compatible is ti,am654-sci to represent the mailboxes
exposed by the hardware during boot for the purpose of loading the
firmware.
The newly added mboxes are made optional by keeping minItems as 2 to
remain compliant with existing device-trees. The new 'notify' channel is
not supported on all SoCs and is therefore kept at last in the list.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Anshul Dalal <anshuld@ti.com>
---
.../devicetree/bindings/arm/keystone/ti,sci.yaml | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 25a2b42105e5..0e505b96e499 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -51,15 +51,27 @@ 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: boot_rx
+ - const: boot_tx
+ - const: boot_notify
+ - const: notify
mboxes:
minItems: 2
+ items:
+ - description: RX thread
+ - description: TX thread
+ - description: boot stage RX thread
+ - description: boot stage TX thread
+ - description: boot stage Notify thread
+ - description: Notify thread
ti,host-id:
$ref: /schemas/types.yaml#/definitions/uint32
@@ -79,6 +91,18 @@ properties:
type: object
$ref: /schemas/reset/ti,sci-reset.yaml#
+if:
+ properties:
+ compatible:
+ contains:
+ const: ti,k2g-sci
+then:
+ properties:
+ mbox-names:
+ maxItems: 2
+ mboxes:
+ maxItems: 2
+
required:
- compatible
- mbox-names
--
2.52.0
next prev parent reply other threads:[~2026-01-16 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 10:15 [PATCH v9 0/2] dt-bindings: arm: keystone: ti,sci: add entries for boot mboxes Anshul Dalal
2026-01-16 10:15 ` Anshul Dalal [this message]
2026-01-16 10:15 ` [PATCH v9 2/2] arm64: dts: ti: update compatible to ti,am654-sci Anshul Dalal
2026-01-16 10:48 ` Nishanth Menon
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=20260116-k3_syscon_add_boot_mailboxes-v9-1-6358cd1f2b1f@ti.com \
--to=anshuld@ti.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=d-gole@ti.com \
--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=m-chawdhry@ti.com \
--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