From: sashiko-bot@kernel.org
To: "Gerard Marull-Paretas" <gerard@teslabs.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] dt-bindings: hwlock: st,stm32-hwspinlock: add mailbox cells and interrupt
Date: Wed, 25 Nov 2026 13:57:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-233511@kernel.org> (raw)
In-Reply-To: <20261125135231.98914-1-gerard@teslabs.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: hwlock: interrupts placed before clocks in
properties
--
commit 94e93b8064cef375edbe40c9efd2a2628ce5d7ac
Author: Gerard Marull-Paretas <gerard@teslabs.com>
dt-bindings: hwlock: st,stm32-hwspinlock: add mailbox cells and interrupt
This commit adds the #mbox-cells and interrupts properties to the
st,stm32-hwspinlock DT binding schema so hardware semaphores can be
described as inter-core doorbells.
> diff --git a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml
> index 829d1fdf4c674..3b8d872b7c21d 100644
> --- a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml
> +++ b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml
> @@ -9,16 +9,30 @@ title: STMicroelectronics STM32 Hardware Spinlock
> maintainers:
> - Fabien Dessenne <fabien.dessenne@foss.st.com>
>
> +description: |
> + Hardware semaphores, which also ring doorbells between the cores of a
> + multi-core part: releasing a semaphore raises the interrupt of each core
> + that enabled it, and the core taking the doorbell clears it in its
> + interrupt status.
> +
> properties:
> "#hwlock-cells":
> const: 1
>
> + "#mbox-cells":
> + const: 1
> + description: The semaphore ringing the doorbell.
> +
> compatible:
> const: st,stm32-hwspinlock
>
> reg:
> maxItems: 1
>
> + interrupts:
> + maxItems: 1
> + description: The interrupt of the semaphores for the CPU the description is for.
> +
> clocks:
> maxItems: 1
[Severity: Low]
Should interrupts be placed after clock-names to follow the canonical DT
binding property order (compatible, reg, clocks, clock-names, interrupts)?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125135231.98914-1-gerard@teslabs.com?part=1
prev parent reply other threads:[~2026-11-25 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 13:52 [PATCH] dt-bindings: hwlock: st,stm32-hwspinlock: add mailbox cells and interrupt Gerard Marull-Paretas
2026-11-25 13:57 ` sashiko-bot [this message]
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=sashiko-outbox-233511@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gerard@teslabs.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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