Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Benjamin Gaignard" <benjamin.gaignard@collabora.com>
Cc: robh@kernel.org, Frank.Li@kernel.org, media-ci@linuxtv.org,
	imx@lists.linux.dev, conor+dt@kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/3] media: dt-bindings: media: nxp, imx8mq-vpu: Remove nxp,imx8mq-vpu
Date: Thu, 24 Sep 2026 13:10:59 +0000	[thread overview]
Message-ID: <20260924131059.AF3611F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260924130453.196299-3-benjamin.gaignard@collabora.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: removing deprecated compatible string breaks ABI validation
--

commit 3baa6281627fab6fa7ca3eb8e9793abf829e4442
Author: Benjamin Gaignard <benjamin.gaignard@collabora.com>

media: dt-bindings: media: nxp, imx8mq-vpu: Remove nxp,imx8mq-vpu

This commit removes the deprecated nxp,imx8mq-vpu compatible string from the
Device Tree binding after driver clean up.

> diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml b/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
> index 19528262810a5..69619d2c86fa0 100644
> --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
> +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
> @@ -14,12 +14,10 @@ description:
>  
>  properties:
>    compatible:
> -    oneOf:
> -      - const: nxp,imx8mq-vpu
> -        deprecated: true

[Severity: Medium]
Does removing this compatible string break ABI validation for older hardware
descriptions?

Device Tree bindings describe hardware and are generally considered a stable,
OS-independent ABI. While Linux driver support can be removed during cleanup,
shouldn't the schema retain deprecated compatible strings indefinitely (with
deprecated: true) to preserve backwards compatibility?

Removing it entirely means existing or out-of-tree Device Tree source files
and binaries that still use the nxp,imx8mq-vpu string will fail dtbs_check
schema validation with an undocumented compatible error.

> -      - const: nxp,imx8mq-vpu-g1
> -      - const: nxp,imx8mq-vpu-g2
> -      - const: nxp,imx8mm-vpu-g1
> +    enum:
> +      - nxp,imx8mq-vpu-g1
> +      - nxp,imx8mq-vpu-g2
> +      - nxp,imx8mm-vpu-g1

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260924130453.196299-1-benjamin.gaignard@collabora.com?part=2

  reply	other threads:[~2026-09-24 13:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 13:04 [PATCH v3 0/3] Remove unused variant and code clean up Benjamin Gaignard
2026-09-24 13:04 ` [PATCH v3 1/3] media: verisilicon: Remove deprecated variant Benjamin Gaignard
2026-09-24 13:18   ` sashiko-bot
2026-09-24 14:16   ` Frank Li
2026-09-24 13:04 ` [PATCH v3 2/3] media: dt-bindings: media: nxp, imx8mq-vpu: Remove nxp,imx8mq-vpu Benjamin Gaignard
2026-09-24 13:10   ` sashiko-bot [this message]
2026-09-24 14:19   ` Frank Li
2026-09-24 16:55   ` Conor Dooley
2026-09-24 17:51     ` Nicolas Dufresne
2026-09-25 16:51       ` Conor Dooley
2026-09-24 13:04 ` [PATCH v3 3/3] media: verisilicon: Remove useless internal fields Benjamin Gaignard
2026-09-24 13:13   ` sashiko-bot
2026-09-24 14:19   ` Frank Li

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=20260924131059.AF3611F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=benjamin.gaignard@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=media-ci@linuxtv.org \
    --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