From: Icenowy Zheng <uwu@icenowy.me>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Drew Fustini <fustini@kernel.org>, Guo Ren <guoren@kernel.org>,
Fu Wei <wefu@redhat.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jassi Brar <jassisinghbrar@gmail.com>,
Michal Wilczynski <m.wilczynski@samsung.com>
Cc: Han Gao <rabenda.cn@gmail.com>,
Inochi Amaoto <inochiama@gmail.com>, Yao Zi <ziyao@disroot.org>,
linux-riscv@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 2/4] dt-bindings: firmware: thead,th1520-aon: add a mailbox name for SBI
Date: Thu, 14 Aug 2025 16:04:27 +0800 [thread overview]
Message-ID: <ec0a7543f9feb5dc096f3030c8b3d73d71834a36.camel@icenowy.me> (raw)
In-Reply-To: <026419bc-c0f8-4891-a348-311f51cb999f@kernel.org>
在 2025-08-14星期四的 09:49 +0200,Krzysztof Kozlowski写道:
> On 14/08/2025 09:30, Icenowy Zheng wrote:
> > 在 2025-08-14星期四的 09:18 +0200,Krzysztof Kozlowski写道:
> > > On 14/08/2025 09:07, Icenowy Zheng wrote:
> > > > The SBI firmware might want to communicate to the AON firmware
> > > > too.
> > > >
> > > > Add a mbox-name item to allow to allocate a mailbox for SBI.
> > > >
> > > > Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
> > > > ---
> > > > .../devicetree/bindings/firmware/thead,th1520-aon.yaml | 7
> > > > ++++---
> > > > 1 file changed, 4 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git
> > > > a/Documentation/devicetree/bindings/firmware/thead,th1520-
> > > > aon.yaml
> > > > b/Documentation/devicetree/bindings/firmware/thead,th1520-
> > > > aon.yaml
> > > > index 3365124c7fd47..555465f4aab4e 100644
> > > > --- a/Documentation/devicetree/bindings/firmware/thead,th1520-
> > > > aon.yaml
> > > > +++ b/Documentation/devicetree/bindings/firmware/thead,th1520-
> > > > aon.yaml
> > > > @@ -26,11 +26,12 @@ properties:
> > > > const: thead,th1520-aon
> > > >
> > > > mboxes:
> > > > - maxItems: 1
> > > > + maxItems: 2
> > >
> > >
> > > ABI break without explanation why ("allow" is not a reason to
> > > affect
> > > ABI) and its impact.
> >
> > Is adding items an ABI break?
>
> Adding required items is ABI break. You can easily test it. Apply
> patch
> #1 and test your DTS. Apply patch #2 and test your DTS. New warnings
> appear, so that's a proof of ABI impact.
Ah sorry I don't mean that item is required.
>
>
> >
> > Or should I explicitly say "minItems: 1" here?
>
> Yes, but you should clearly explain the impact. Is it working? Not
> working? Are you fixing something?
The jsonschema draft says "Omitting this keyword has the same behavior
as a value of 0." for minItems. [1]
[1]
https://json-schema.org/draft/2020-12/json-schema-validation#section-6.4.2-3
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2025-08-14 8:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-14 7:07 [RFC PATCH 0/4] riscv: dts: thead: th1520: Add mailbox for SBI-to-AON comm Icenowy Zheng
2025-08-14 7:07 ` [RFC PATCH 1/4] dt-bindings: mailbox: thead,th1520-mbox: retrofit for other mailboxes Icenowy Zheng
2025-08-14 7:18 ` Krzysztof Kozlowski
2025-08-14 7:34 ` Icenowy Zheng
2025-08-14 7:48 ` Krzysztof Kozlowski
2025-08-14 8:02 ` Icenowy Zheng
2025-08-14 7:07 ` [RFC PATCH 2/4] dt-bindings: firmware: thead,th1520-aon: add a mailbox name for SBI Icenowy Zheng
2025-08-14 7:18 ` Krzysztof Kozlowski
2025-08-14 7:30 ` Icenowy Zheng
2025-08-14 7:49 ` Krzysztof Kozlowski
2025-08-14 8:04 ` Icenowy Zheng [this message]
2025-08-15 6:14 ` Krzysztof Kozlowski
2025-08-14 7:07 ` [RFC PATCH 3/4] riscv: dts: thead: th1520: add reserved node for C910R mailbox Icenowy Zheng
2025-08-14 7:07 ` [RFC PATCH 4/4] riscv: dts: thead: th1520: add mailbox channel for SBI-to-AON comm Icenowy Zheng
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=ec0a7543f9feb5dc096f3030c8b3d73d71834a36.camel@icenowy.me \
--to=uwu@icenowy.me \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fustini@kernel.org \
--cc=guoren@kernel.org \
--cc=inochiama@gmail.com \
--cc=jassisinghbrar@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=m.wilczynski@samsung.com \
--cc=rabenda.cn@gmail.com \
--cc=robh@kernel.org \
--cc=wefu@redhat.com \
--cc=ziyao@disroot.org \
/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®