All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Xing Loong" <xing.xl.loong@gmail.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: firmware: add mbedtee,rpc binding
Date: Wed, 01 Jul 2026 13:32:57 +0000	[thread overview]
Message-ID: <20260701133258.068AA1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260701132514.186953-3-xing.xl.loong@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing `maxItems` constraint for the `interrupts` property.
--

commit ad51309fadfb753784caac099277a6b19357c757
Author: Xing Loong <xing.xl.loong@gmail.com>

dt-bindings: firmware: add mbedtee,rpc binding

This commit adds the YAML devicetree binding for the MbedTEE Trusted Execution
Environment driver. It describes the shared-memory regions used for RPC
communication between the Linux REE driver and MbedTEE OS on ARM/AArch64 and
RISC-V platforms.

> diff --git a/Documentation/devicetree/bindings/firmware/mbedtee,rpc.yaml b/Documentation/devicetree/bindings/firmware/mbedtee,rpc.yaml
> new file mode 100644
> index 0000000000000..08ae255d32c2a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/firmware/mbedtee,rpc.yaml

[ ... ]

> +properties:
> +  $nodename:
> +    const: mbedtee
> +
> +  compatible:
> +    const: mbedtee,rpc
> +
> +  interrupts:
> +    description:
> +      GIC interrupt used by the TEE to notify the REE of pending RPC
> +      responses (ARM/AArch64 only). Not present on RISC-V platforms which
> +      use IMSIC platform MSI interrupts allocated dynamically at runtime.

[Severity: Low]
Does this property need a maxItems constraint? 

Without maxItems: 1, device tree validation will not catch configurations that
accidentally supply multiple interrupts.

> +
> +  msi-parent:
> +    maxItems: 1
> +    description:
> +      IMSIC MSI controller used by the Linux driver to allocate the

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260701132514.186953-1-xing.xl.loong@gmail.com?part=2

  reply	other threads:[~2026-07-01 13:32 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 13:25 [PATCH 0/3] tee: add MbedTEE driver Xing Loong
2026-07-01 13:25 ` Xing Loong
2026-07-01 13:25 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add mbedtee Xing Loong
2026-07-01 13:25   ` Xing Loong
2026-07-01 13:25 ` [PATCH 2/3] dt-bindings: firmware: add mbedtee,rpc binding Xing Loong
2026-07-01 13:25   ` Xing Loong
2026-07-01 13:32   ` sashiko-bot [this message]
2026-07-01 14:05   ` Krzysztof Kozlowski
2026-07-01 14:05     ` Krzysztof Kozlowski via OP-TEE
2026-07-01 14:05     ` Krzysztof Kozlowski
2026-07-03  7:16     ` Xing Loong
2026-07-03  7:16       ` Xing Loong
2026-07-01 16:39   ` Rob Herring (Arm) via OP-TEE
2026-07-01 16:39     ` Rob Herring (Arm)
2026-07-01 16:39     ` Rob Herring (Arm)
2026-07-01 13:25 ` [PATCH 3/3] tee: add MbedTEE driver Xing Loong
2026-07-01 13:25   ` Xing Loong
2026-07-01 13:42   ` sashiko-bot
2026-07-02 15:11 ` [PATCH v2 0/3] " Xing Loong
2026-07-02 15:11   ` Xing Loong
2026-07-02 15:11   ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add mbedtee Xing Loong
2026-07-02 15:11     ` Xing Loong
2026-07-02 15:11   ` [PATCH v2 2/3] dt-bindings: firmware: add mbedtee,tee binding Xing Loong
2026-07-02 15:11     ` Xing Loong
2026-07-02 15:21     ` sashiko-bot
2026-07-02 15:27     ` Krzysztof Kozlowski
2026-07-02 15:27       ` Krzysztof Kozlowski
2026-07-02 15:27       ` Krzysztof Kozlowski via OP-TEE
2026-07-02 15:11   ` [PATCH v2 3/3] tee: add MbedTEE driver Xing Loong
2026-07-02 15:11     ` Xing Loong
2026-07-02 15:32     ` sashiko-bot

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=20260701133258.068AA1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=xing.xl.loong@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.