public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anshul Dalal <anshuld@ti.com>
To: Nishanth Menon <nm@ti.com>, Krzysztof Kozlowski <krzk@kernel.org>
Cc: Anshul Dalal <anshuld@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>,
	<linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	"Vignesh Raghavendra" <vigneshr@ti.com>
Subject: Re: [PATCH v6] dt-bindings: arm: keystone: add boot_* mboxes to ti,sci
Date: Mon, 5 Jan 2026 16:56:10 +0530	[thread overview]
Message-ID: <DFGMAGLHN1X7.2Y4CBP7MJZD6D@ti.com> (raw)
In-Reply-To: <20251229174638.btuhliymlmuy5op3@submarine>

On Mon Dec 29, 2025 at 11:16 PM IST, Nishanth Menon wrote:
> Anshul,
>
> On 14:40-20251223, Krzysztof Kozlowski wrote:
>> On 23/12/2025 09:44, Anshul Dalal wrote:
>> > On Mon Dec 22, 2025 at 2:23 PM IST, Krzysztof Kozlowski wrote:
>> >> On 22/12/2025 09:43, 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).
>> >>>
>> >>> 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 new ti,am642-sci compatible is also added to represent SoCs which do
>> >>> not expose a "notify" channel as part of their TI-SCI spec such as AM64x
>> >>> or the AM62 family. The newly added mboxes are made optional by keeping
>> >>> minItems as 2 to remain compliant with existing device-trees.
>> >>>
>> >>> Signed-off-by: Anshul Dalal <anshuld@ti.com>
>> >>> ---
>> >>> Changes in v6:
>> >>> - Added ti,am642-sci compatible to represent SoCs without a "notify" channel
>> >>> - Added new examples instead of editing existing ones
>> >>
>> >> Why? Rob asked not to.
>> > 
>> > I had followed what Nishanth had said[1], I'll wait for him and Rob to
>> > align first before posting the next revision.
>> 
>> 
>> Existing examples are fine. There is no rule saying you need to keep
>> updating examples or keep adding new device to examples. If someone told
>> you about such rule, tell them to stop inventing rules...
>
> As I had responded to Rob (the reference you posted), leave the
> existing example in the binding as is, we do not need to add new
> examples either for each of the compatibles. We have enough examples
> in device tree now. So, IMHO, just update the binding.

That makes sense, I will remove the new examples in the next revision.

Though should we add the new am642-sci compatible as well or just
re-order the one for ti,am654-sci to ensure we can handle the AM64's
edge case?  Since, the added compatible makes the if-else chain more
complicated than it needs to be.


  reply	other threads:[~2026-01-05 11:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-22  8:43 [PATCH v6] dt-bindings: arm: keystone: add boot_* mboxes to ti,sci Anshul Dalal
2025-12-22  8:53 ` Krzysztof Kozlowski
2025-12-23  8:44   ` Anshul Dalal
2025-12-23 13:40     ` Krzysztof Kozlowski
2025-12-29 17:46       ` Nishanth Menon
2026-01-05 11:26         ` Anshul Dalal [this message]
2026-01-05 14:54           ` 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=DFGMAGLHN1X7.2Y4CBP7MJZD6D@ti.com \
    --to=anshuld@ti.com \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@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