* [PATCH RFC] dt-bindings: arm: keystone: add boot_* mailboxes
@ 2025-11-11 10:37 Anshul Dalal
2025-11-11 10:52 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Anshul Dalal @ 2025-11-11 10:37 UTC (permalink / raw)
To: Nishanth Menon, Tero Kristo, Santosh Shilimkar, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Vignesh Raghavendra,
Anshul Dalal
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>
---
Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 25a2b42105e541cb3c8ad12a0dfec1af038fa907..b5f48647a0f09bb930f052ea0f84a78525c925eb 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -51,15 +51,23 @@ properties:
minItems: 1
mbox-names:
+ minItems: 2
+ maxItems: 6
description: |
Specifies the mailboxes used to communicate with TI-SCI Controller
- made available from TI-SCI controller.
+ made available from TI-SCI controller. All boot_* mailboxes are used by
+ the first stage bootloader to load firmware for the device.
items:
- const: rx
- const: tx
+ - const: notify
+ - const: boot_rx
+ - const: boot_tx
+ - const: boot_notify
mboxes:
minItems: 2
+ maxItems: 6
ti,host-id:
$ref: /schemas/types.yaml#/definitions/uint32
---
base-commit: 1c353dc8d962de652bc7ad2ba2e63f553331391c
change-id: 20251105-k3_syscon_add_boot_mailboxes-8452bdd98962
Best regards,
--
Anshul Dalal <anshuld@ti.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RFC] dt-bindings: arm: keystone: add boot_* mailboxes
2025-11-11 10:37 [PATCH RFC] dt-bindings: arm: keystone: add boot_* mailboxes Anshul Dalal
@ 2025-11-11 10:52 ` Krzysztof Kozlowski
2025-11-12 5:49 ` Anshul Dalal
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-11 10:52 UTC (permalink / raw)
To: Anshul Dalal, Nishanth Menon, Tero Kristo, Santosh Shilimkar,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Vignesh Raghavendra
On 11/11/2025 11:37, Anshul Dalal wrote:
> 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).
Why is this RFC? You don't expect review?
>
> 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>
> ---
> Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
> index 25a2b42105e541cb3c8ad12a0dfec1af038fa907..b5f48647a0f09bb930f052ea0f84a78525c925eb 100644
> --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
> +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
> @@ -51,15 +51,23 @@ properties:
> minItems: 1
>
> mbox-names:
> + minItems: 2
> + maxItems: 6
> description: |
> Specifies the mailboxes used to communicate with TI-SCI Controller
> - made available from TI-SCI controller.
> + made available from TI-SCI controller. All boot_* mailboxes are used by
> + the first stage bootloader to load firmware for the device.
Description does not go to mbox-names, but to mboxes.
> items:
> - const: rx
> - const: tx
> + - const: notify
> + - const: boot_rx
> + - const: boot_tx
> + - const: boot_notify
>
> mboxes:
> minItems: 2
> + maxItems: 6
You need to list the items instead.
>
> ti,host-id:
> $ref: /schemas/types.yaml#/definitions/uint32
You should update the example so it will be complete.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RFC] dt-bindings: arm: keystone: add boot_* mailboxes
2025-11-11 10:52 ` Krzysztof Kozlowski
@ 2025-11-12 5:49 ` Anshul Dalal
0 siblings, 0 replies; 3+ messages in thread
From: Anshul Dalal @ 2025-11-12 5:49 UTC (permalink / raw)
To: Krzysztof Kozlowski, Anshul Dalal, Nishanth Menon, Tero Kristo,
Santosh Shilimkar, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Vignesh Raghavendra
On Tue Nov 11, 2025 at 4:22 PM IST, Krzysztof Kozlowski wrote:
> On 11/11/2025 11:37, Anshul Dalal wrote:
>> 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).
>
> Why is this RFC? You don't expect review?
>
Oh my bad, I forgot to reset the b4 prefix. This patch isn't meant to be
an RFC.
I will incorporate rest of your feedback as well and post a v2.
Thanks for the review!
Anshul
>>
>> 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>
>> ---
>> Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 10 +++++++++-
>> 1 file changed, 9 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>> index 25a2b42105e541cb3c8ad12a0dfec1af038fa907..b5f48647a0f09bb930f052ea0f84a78525c925eb 100644
>> --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>> +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>> @@ -51,15 +51,23 @@ properties:
>> minItems: 1
>>
>> mbox-names:
>> + minItems: 2
>> + maxItems: 6
>> description: |
>> Specifies the mailboxes used to communicate with TI-SCI Controller
>> - made available from TI-SCI controller.
>> + made available from TI-SCI controller. All boot_* mailboxes are used by
>> + the first stage bootloader to load firmware for the device.
>
> Description does not go to mbox-names, but to mboxes.
>
>> items:
>> - const: rx
>> - const: tx
>> + - const: notify
>> + - const: boot_rx
>> + - const: boot_tx
>> + - const: boot_notify
>>
>> mboxes:
>> minItems: 2
>> + maxItems: 6
>
> You need to list the items instead.
>
>>
>> ti,host-id:
>> $ref: /schemas/types.yaml#/definitions/uint32
>
> You should update the example so it will be complete.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-12 5:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11 10:37 [PATCH RFC] dt-bindings: arm: keystone: add boot_* mailboxes Anshul Dalal
2025-11-11 10:52 ` Krzysztof Kozlowski
2025-11-12 5:49 ` Anshul Dalal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).