Linux CAN drivers development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kendall Willis" <k-willis@ti.com>
Cc: conor+dt@kernel.org, "Marc Kleine-Budde" <mkl@pengutronix.de>,
	"Vincent Mailhol" <mailhol@kernel.org>,
	devicetree@vger.kernel.org,
	"Oliver Hartkopp" <socketcan@hartkopp.net>,
	robh@kernel.org, "Oleksij Rempel" <o.rempel@pengutronix.de>,
	linux-can@vger.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: can: m_can: add out-band-wakeup property
Date: Fri, 21 Aug 2026 16:16:52 +0000	[thread overview]
Message-ID: <20260821161652.B07541F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260821-temp-v3-1-9ac1f8806929@ti.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The newly added `out-band-wakeup` property lacks a type definition, description, and the required vendor prefix.
--

--- Patch [1]: [PATCH v3 1/2] dt-bindings: can: m_can: add out-band-wakeup property ---
commit 18cc4cb55e5269767b220486da77c10e4826ca15
Author: Kendall Willis <k-willis@ti.com>

dt-bindings: can: m_can: add out-band-wakeup property

This commit adds the out-band-wakeup property to the bosch,m_can device tree
binding. The property indicates that the device can wake up the system even
when its power domain is off.

> diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> index 2c9d37975bedd..0663beaa532bc 100644
> --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> @@ -150,6 +150,8 @@ properties:
>      description:
>        List of phandles to system idle states in which mcan can wakeup the system.
>  
> +  out-band-wakeup: true

[Severity: Medium]
Does this property need a type constraint and a vendor prefix?

By defining the property merely as true, schema validation lacks the ability to
enforce a specific data type, meaning it could silently allow arrays or strings
instead of a boolean flag.

Additionally, if this is a custom hardware property rather than a standard one,
should it have a vendor prefix to avoid namespace pollution?

> +
>  required:
>    - compatible
>    - reg

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260821-temp-v3-0-9ac1f8806929@ti.com?part=1

  reply	other threads:[~2026-08-21 16:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 16:06 [PATCH v3 0/2] can: m_can: support out-of-band wakeup capability Kendall Willis
2026-08-21 16:07 ` [PATCH v3 1/2] dt-bindings: can: m_can: add out-band-wakeup property Kendall Willis
2026-08-21 16:16   ` sashiko-bot [this message]
2026-08-21 16:45   ` Conor Dooley
2026-08-21 19:05     ` Kendall Willis
2026-08-24 16:50       ` Conor Dooley
2026-08-28  9:07         ` Krzysztof Kozlowski
2026-08-28 15:46           ` Conor Dooley
2026-08-28 18:43             ` Markus Schneider-Pargmann
2026-08-31 15:13               ` Conor Dooley
2026-08-31 16:22                 ` Kendall Willis
2026-08-21 16:07 ` [PATCH v3 2/2] can: m_can: set out-of-band wakeup if wakeup pinctrl exists Kendall Willis

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=20260821161652.B07541F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=k-willis@ti.com \
    --cc=linux-can@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox