Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Quchaosheng <quchaosheng000406@163.com>
Cc: "Vincent Mailhol" <mailhol@kernel.org>,
	conor+dt@kernel.org, "Oliver Hartkopp" <socketcan@hartkopp.net>,
	"Oleksij Rempel" <o.rempel@pengutronix.de>,
	devicetree@vger.kernel.org, linux-can@vger.kernel.org,
	"Marc Kleine-Budde" <mkl@pengutronix.de>,
	robh@kernel.org
Subject: Re: [PATCH v3 2/2] dt-bindings: net: can: fsl,mpc5xxx-mscan: Convert to DT schema
Date: Mon, 14 Sep 2026 09:15:53 +0000	[thread overview]
Message-ID: <20260914091553.D8ED91F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260914090440.552884-2-quchaosheng000406@163.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing `$ref` type definition for vendor property `fsl,mscan-clock-source`.
--

commit 0f4e0331aedb88733ad8480e58d0cb6aed274e62
Author: Quchaosheng <quchaosheng000406@163.com>

dt-bindings: net: can: fsl,mpc5xxx-mscan: Convert to DT schema

This commit converts the Freescale MPC5xxx MSCAN binding from free-form
text to DT schema format. It describes multiple controller variants, sets
up clock definitions, and introduces conditional properties for different
compatible strings.

> diff --git a/Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml b/Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml
> new file mode 100644
> index 0000000000000..277e78ca21f11
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml

[ ... ]

> +  clock-names:
> +    items:
> +      - const: ipg
> +      - const: ips
> +      - const: sys
> +      - const: ref
> +      - const: mclk
> +
> +  fsl,mscan-clock-source:
> +    description:
> +      Clock source used for the controller.
> +    enum: [ip, ref, sys]

[Severity: Low]
Does this custom property need an explicit type definition?

Vendor-specific custom properties without a standard type suffix typically
require an explicit type reference to pass dt-schema validation when running
make dt_binding_check.

Even though the allowed values are defined via an enum, a base type reference
such as `$ref: /schemas/types.yaml#/definitions/string` is usually required
to prevent build-time tooling failures.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260914090440.552884-1-quchaosheng000406@163.com?part=2

  reply	other threads:[~2026-09-14  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14  9:04 [PATCH v3 2/2] dt-bindings: net: can: fsl,mpc5xxx-mscan: Convert to DT schema Quchaosheng
2026-09-14  9:15 ` sashiko-bot [this message]
2026-09-16  1:58 ` [PATCH v6] " Quchaosheng
2026-09-21 17:47   ` Rob Herring

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=20260914091553.D8ED91F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=mailhol@kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=o.rempel@pengutronix.de \
    --cc=quchaosheng000406@163.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=socketcan@hartkopp.net \
    /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