All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Liu Changjie" <liucj1228@outlook.com>
Cc: linux-can@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org,
	"Marc Kleine-Budde" <mkl@pengutronix.de>,
	"Oliver Hartkopp" <socketcan@hartkopp.net>,
	"Vincent Mailhol" <mailhol@kernel.org>,
	"Oleksij Rempel" <o.rempel@pengutronix.de>
Subject: Re: [PATCH can-next v1 1/3] dt-bindings: can: flexcan: document the SpacemiT K1 controller
Date: Sun, 29 Nov 2026 14:01:06 +0000	[thread overview]
Message-ID: <sashiko-outbox-239670@kernel.org> (raw)
In-Reply-To: <CH5PR19MB99715661A6B795896AA15DFBD8AC4F2@CH5PR19MB997156.namprd19.prod.outlook.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: can: flexcan: required property order mismatch for
  K1
--

commit ccefdbfb6523420c66f48631383414c8ba9e7248
Author: Liu Changjie <liucj1228@outlook.com>

dt-bindings: can: flexcan: document the SpacemiT K1 controller

This commit documents the spacemit,k1-flexcan compatible in the FlexCAN DT
binding schema, requiring clocks, clock-names, and resets while disallowing
clock-frequency.

> diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
> index f81d56f7c12a5..081237128480a 100644
> --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
> +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
[ ... ]
> @@ -152,6 +156,21 @@ required:
>  
>  allOf:
>    - $ref: can-controller.yaml#
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: spacemit,k1-flexcan
> +    then:
> +      properties:
> +        clock-frequency: false
> +      required:
> +        - resets
> +        - clocks
> +        - clock-names

[Severity: Low]
Should the required list place clocks and clock-names before resets to
match the order in the top-level properties section and canonical DT
schema conventions?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/CH5PR19MB99715661A6B795896AA15DFBD8AC4F2@CH5PR19MB997156.namprd19.prod.outlook.com?part=1

  reply	other threads:[~2026-11-29 14:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261129-k1-can0-v1-0-liucj1228@outlook.com>
2026-11-29 13:20 ` [PATCH can-next v1 3/3] can: flexcan: add support for SpacemiT K1 CAN0 Liu Changjie
2026-11-29 13:20   ` Liu Changjie
2026-11-29 15:41   ` Marc Kleine-Budde
2026-11-29 15:41     ` Marc Kleine-Budde
2026-11-29 13:20 ` [PATCH can-next v1 1/3] dt-bindings: can: flexcan: document the SpacemiT K1 controller Liu Changjie
2026-11-29 13:20   ` Liu Changjie
2026-11-29 14:01   ` sashiko-bot [this message]
2026-11-29 15:40     ` Marc Kleine-Budde
2026-11-29 13:20 ` [PATCH can-next v1 2/3] can: flexcan: support 32-bit writes when initializing ECC RAM Liu Changjie
2026-11-29 13:20   ` Liu Changjie
2026-11-29 15:35   ` Marc Kleine-Budde
2026-11-29 15:35     ` Marc Kleine-Budde
2026-11-29 13:53 [PATCH can-next v1 0/3] Add support for the SpacemiT K1 CAN0 controller Liu Changjie
2026-11-29 13:53 ` Liu Changjie
2026-11-30  8:27 ` Marc Kleine-Budde
2026-11-30  8:27   ` Marc Kleine-Budde
2026-12-01 18:10 ` Frédéric Mahé
2026-12-01 18:10   ` Frédéric Mahé

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-239670@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=liucj1228@outlook.com \
    --cc=mailhol@kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=o.rempel@pengutronix.de \
    --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 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.