Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Evan Zane" <evan.zean@fastmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms
Date: Thu, 03 Dec 2026 15:00:56 +0000	[thread overview]
Message-ID: <sashiko-outbox-248047@kernel.org> (raw)
In-Reply-To: <ade0bc6e6a5044c79871dfe9ba62ab402fa6b41f.1796308246.git.evan.zean@fastmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: arm: novatek: bare SoC compatibles without board
  compatibles
--

commit b7d48b07f62816395302d4c9dd89b2f9a359218b
Author: Evan Zane <evan.zean@fastmail.com>

dt-bindings: arm: novatek: Document NT9856x platforms

This commit adds the initial Devicetree platform binding for Novatek NT9856x
ARM SoCs and a corresponding MAINTAINERS entry.

> diff --git a/Documentation/devicetree/bindings/arm/novatek.yaml b/Documentation/devicetree/bindings/arm/novatek.yaml
> new file mode 100644
> index 0000000000000..17c7bd69be907
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/novatek.yaml
> @@ -0,0 +1,32 @@

[ ... ]

> +properties:
> +  $nodename:
> +    const: '/'
> +
> +  compatible:
> +    oneOf:
> +      - enum:
> +          - novatek,nt98560
> +          - novatek,nt98562
> +      - items:
> +          - const: novatek,nt98566-evb-2v3
> +          - const: novatek,nt98566

[Severity: Medium]
Should novatek,nt98560 and novatek,nt98562 be allowed as bare root-node
compatibles without a board compatible?

For a new ARM platform, the root node describes a board and should list a
board compatible followed by the SoC compatible.  Since dtschema expands a
bare enum to a single-element array, this accepts standalone SoC compatibles
and makes dtbs_check reject board-plus-SoC compatible lists for these SoCs.

Either pair novatek,nt98560 and novatek,nt98562 with concrete board
compatibles using items lists, or omit them from novatek.yaml until boards
using those SoCs are added.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796308246.git.evan.zean@fastmail.com?part=1

  reply	other threads:[~2026-12-03 15:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 14:49 [RFC PATCH v2 0/4] ARM: Add initial support for Novatek NT9856x SoCs Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 1/4] dt-bindings: arm: novatek: Document NT9856x platforms Evan Zane
2026-12-03 15:00   ` sashiko-bot [this message]
2026-12-03 14:49 ` [RFC PATCH v2 2/4] arm: novatek: Add NT9856x SoC support Evan Zane
2026-12-03 15:01   ` sashiko-bot
2026-12-03 14:49 ` [RFC PATCH v2 3/4] arm: dts: novatek: Add NT98560, NT98562 and NT98566 SoCs Evan Zane
2026-12-03 14:49 ` [RFC PATCH v2 4/4] arm: dts: novatek: Add NT98566 EVB 2V3 Evan Zane

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-248047@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=evan.zean@fastmail.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