Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Viken Dadhaniya" <viken.dadhaniya@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v1] arm64: dts: qcom: hamoa-iot-evk: add MCP2518FD CAN on spi18
Date: Thu, 14 May 2026 04:16:31 +0000	[thread overview]
Message-ID: <20260514041631.B8F81C2BCB7@smtp.kernel.org> (raw)
In-Reply-To: <20260513-hamoa-spi-can-devicetree-v1-1-554a671a3789@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The fixed-clock node name 'can-clk' violates the devicetree schema and will cause a `dtbs_check` warning.
--

commit a4e072ba93299bc9cde800bbed0ba51dffbdac3a
Author: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>

arm64: dts: qcom: hamoa-iot-evk: add MCP2518FD CAN on spi18

This commit enables the Microchip MCP2518FD CAN-FD controller on hamoa.
The controller is connected via SPI18 and uses a 40 MHz oscillator.

> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> index 460f27dcd6f69..f260f23d2597a 100644
> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
[ ... ]
> @@ -29,6 +29,14 @@ backlight: backlight {
>  		pinctrl-names = "default";
>  	};
>  
> +	clocks {
> +		mcp2518fd_osc: can-clk {

This isn't a bug, but will the node name can-clk violate the devicetree
schema for fixed clocks?

According to the fixed-clock devicetree binding schema, the preferred node
name format is clock-<freq>. Any node name that does not match this pattern
generates a validation warning during make dtbs_check.

Could this be named clock-40000000 instead to prevent validation warnings?

> +			compatible = "fixed-clock";
> +			clock-frequency = <40000000>;
> +			#clock-cells = <0>;
> +		};
> +	};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260513-hamoa-spi-can-devicetree-v1-1-554a671a3789@oss.qualcomm.com?part=1

      parent reply	other threads:[~2026-05-14  4:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13 10:55 [PATCH v1] arm64: dts: qcom: hamoa-iot-evk: add MCP2518FD CAN on spi18 Viken Dadhaniya
2026-05-13 11:12 ` Dmitry Baryshkov
2026-05-13 14:40 ` Konrad Dybcio
2026-05-14  4:16 ` sashiko-bot [this message]

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=20260514041631.B8F81C2BCB7@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=viken.dadhaniya@oss.qualcomm.com \
    /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