All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lakshay Piplani" <lakshay.piplani@nxp.com>
Cc: lee@kernel.org, linux-i3c@lists.infradead.org,
	Frank.Li@kernel.org, devicetree@vger.kernel.org, robh@kernel.org,
	conor+dt@kernel.org, mfd@lists.linux.dev,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH v20 3/8] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support
Date: Tue, 22 Sep 2026 10:44:45 +0000	[thread overview]
Message-ID: <20260922104445.D5C791F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260922103551.2754613-4-lakshay.piplani@nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing 'compatible' in top-level required list
--

commit 4b70261c8ce41e64c7020f41bb3084f3d73d0e07
Author: Aman Kumar Pandey <aman.kumarpandey@nxp.com>
    
dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support
    
This patch adds device tree bindings for the NXP P3H2x4x multiport I3C hub
family. These devices connect to a host via I3C/I2C/SMBus and allow
communication with multiple downstream peripherals.

> diff --git a/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml
> new file mode 100644
> index 0000000000000..09508a7bcbeb6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml

[ ... ]

> +      ldo-tpg1:
> +        type: object
> +        $ref: /schemas/regulator/regulator.yaml#
> +        unevaluatedProperties: false
> +
> +required:
> +  - reg
> +  - '#address-cells'
> +  - '#size-cells'

[Severity: Low]
Should the top-level compatible property be included in this required list?

Standard device tree binding schemas expect the top-level compatible property
to be explicitly listed in the required array for standalone device nodes.
Although dt-schema matches the node by compatible string, omitting it from the
required list allows a node to theoretically pass validation without one if
referenced through other means.

> +
> +patternProperties:
> +  "^i3c@[0-7]$":
> +    type: object
> +    $ref: /schemas/i3c/i3c.yaml#

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260922103551.2754613-1-lakshay.piplani@nxp.com?part=3

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Lakshay Piplani" <lakshay.piplani@nxp.com>
Cc: lee@kernel.org, linux-i3c@lists.infradead.org,
	Frank.Li@kernel.org, devicetree@vger.kernel.org, robh@kernel.org,
	conor+dt@kernel.org, mfd@lists.linux.dev,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH v20 3/8] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support
Date: Tue, 22 Sep 2026 10:44:45 +0000	[thread overview]
Message-ID: <20260922104445.D5C791F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260922103551.2754613-4-lakshay.piplani@nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing 'compatible' in top-level required list
--

commit 4b70261c8ce41e64c7020f41bb3084f3d73d0e07
Author: Aman Kumar Pandey <aman.kumarpandey@nxp.com>
    
dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support
    
This patch adds device tree bindings for the NXP P3H2x4x multiport I3C hub
family. These devices connect to a host via I3C/I2C/SMBus and allow
communication with multiple downstream peripherals.

> diff --git a/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml
> new file mode 100644
> index 0000000000000..09508a7bcbeb6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml

[ ... ]

> +      ldo-tpg1:
> +        type: object
> +        $ref: /schemas/regulator/regulator.yaml#
> +        unevaluatedProperties: false
> +
> +required:
> +  - reg
> +  - '#address-cells'
> +  - '#size-cells'

[Severity: Low]
Should the top-level compatible property be included in this required list?

Standard device tree binding schemas expect the top-level compatible property
to be explicitly listed in the required array for standalone device nodes.
Although dt-schema matches the node by compatible string, omitting it from the
required list allows a node to theoretically pass validation without one if
referenced through other means.

> +
> +patternProperties:
> +  "^i3c@[0-7]$":
> +    type: object
> +    $ref: /schemas/i3c/i3c.yaml#

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260922103551.2754613-1-lakshay.piplani@nxp.com?part=3

  reply	other threads:[~2026-09-22 10:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 10:35 [PATCH v20 0/8] Add support for NXP P3H2x4x I3C hub driver Lakshay Piplani
2026-09-22 10:35 ` Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 1/8] i3c: master: Add APIs for I3C hub support Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:48   ` sashiko-bot
2026-09-22 10:48     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 2/8] i3c: master: Add controller-only device operation helpers Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:45   ` sashiko-bot
2026-09-22 10:45     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 3/8] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:44   ` sashiko-bot [this message]
2026-09-22 10:44     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 4/8] mfd: p3h2x4x: Add driver for NXP P3H2x4x i3c hub and on-die regulator Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:50   ` sashiko-bot
2026-09-22 10:50     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 5/8] regulator: p3h2x4x: Add driver for on-die regulators in NXP P3H2x4x i3c hub Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:47   ` sashiko-bot
2026-09-22 10:47     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 6/8] i3c: hub: Add support for the I3C interface in the I3C hub Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:53   ` sashiko-bot
2026-09-22 10:53     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 7/8] i3c: hub: p3h2x4x: Add support for NXP P3H2x4x I3C hub functionality Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:55   ` sashiko-bot
2026-09-22 10:55     ` sashiko-bot
2026-09-22 10:35 ` [PATCH v20 8/8] i3c: hub: p3h2x4x: Add SMBus slave mode support Lakshay Piplani
2026-09-22 10:35   ` Lakshay Piplani
2026-09-22 10:55   ` sashiko-bot
2026-09-22 10:55     ` sashiko-bot
2026-09-30 14:23 ` (subset) [PATCH v20 0/8] Add support for NXP P3H2x4x I3C hub driver Alexandre Belloni
2026-09-30 14:23   ` Alexandre Belloni

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=20260922104445.D5C791F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lakshay.piplani@nxp.com \
    --cc=lee@kernel.org \
    --cc=linux-i3c@lists.infradead.org \
    --cc=mfd@lists.linux.dev \
    --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 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.