Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: pankaj.gupta@oss.nxp.com
Cc: robh@kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org,
	conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH v47 2/7] dt-bindings: arm: fsl: add imx-se-fw binding doc
Date: Fri, 04 Sep 2026 06:37:58 +0000	[thread overview]
Message-ID: <20260904063758.CAE5A1F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260904-imx-se-if-v47-2-b474ec6fc52a@nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Schema validation is incomplete because the new compatible string `fsl,imx95-se-ele-hsm` was omitted from the `if-then` conditional block for `memory-region`.
--

commit b55beebc71d9ffb0889e72c5f18c40a5edaa3652
Author: Pankaj Gupta <pankaj.gupta@nxp.com>

dt-bindings: arm: fsl: add imx-se-fw binding doc

This commit introduces a new device tree binding document for NXP's Secure
Enclave hardware IP. It defines the required properties and conditional
constraints for communicating with the secure enclave firmware over message
units on various i.MX processors.

> diff --git a/Documentation/devicetree/bindings/firmware/fsl,imx-se.yaml b/Documentation/devicetree/bindings/firmware/fsl,imx-se.yaml
> new file mode 100644
> index 0000000000000..fa81adbf9b80d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/firmware/fsl,imx-se.yaml

[ ... ]

> +allOf:
> +  # memory-region
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            enum:
> +              - fsl,imx8ulp-se-ele-hsm
> +              - fsl,imx93-se-ele-hsm

[Severity: Medium]
Should fsl,imx95-se-ele-hsm be included in this enum?

Since the else clause explicitly sets memory-region to false, any imx95
device tree defining a memory-region property will fail schema validation.
If the imx95 hardware requires a memory region like the previous generations
do, does it need to be added to this conditional block to prevent valid
configurations from failing and incomplete configurations from silently
passing validation?

> +    then:
> +      required:
> +        - memory-region
> +    else:
> +      properties:
> +        memory-region: false

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260904-imx-se-if-v47-0-b474ec6fc52a@nxp.com?part=2

  reply	other threads:[~2026-09-04  6:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 11:55 [PATCH v47 0/7] firmware: imx: driver for NXP secure-enclave pankaj.gupta
2026-09-04 11:55 ` [PATCH v47 1/7] Documentation/firmware: add imx/se to other_interfaces pankaj.gupta
2026-09-04 11:56 ` [PATCH v47 2/7] dt-bindings: arm: fsl: add imx-se-fw binding doc pankaj.gupta
2026-09-04  6:37   ` sashiko-bot [this message]
2026-09-04 11:56 ` [PATCH v47 3/7] firmware: imx: add driver for NXP EdgeLock Enclave pankaj.gupta
2026-09-04  6:38   ` sashiko-bot
2026-09-04 11:56 ` [PATCH v47 4/7] firmware: imx: device context dedicated to priv pankaj.gupta
2026-09-04 11:56 ` [PATCH v47 5/7] firmware: imx: adds miscdev pankaj.gupta
2026-09-04  6:41   ` sashiko-bot
2026-09-04  8:52     ` Pankaj Gupta (OSS)
2026-09-04  8:56       ` Pankaj Gupta (OSS)
2026-09-04 11:56 ` [PATCH v47 6/7] arm64: dts: imx8ulp: add secure enclave node pankaj.gupta
2026-09-04 11:56 ` [PATCH v47 7/7] arm64: dts: imx8ulp: add reserved memory for EdgeLock Enclave pankaj.gupta

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=20260904063758.CAE5A1F00A3D@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=pankaj.gupta@oss.nxp.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