Devicetree
 help / color / mirror / Atom feed
From: Stefano Radaelli <stefano.radaelli21@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: devicetree@vger.kernel.org, robh@kernel.org, Frank.Li@kernel.org,
	imx@lists.linux.dev, conor+dt@kernel.org
Subject: Re: [PATCH v5 06/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL files
Date: Sun, 11 Oct 2026 23:42:06 +0200	[thread overview]
Message-ID: <aswCrsVs4Z7n864c@Lord-Beerus.station> (raw)
In-Reply-To: <sashiko-outbox-166012@kernel.org>

On Fri, Oct 09, 2026 at 07:49:24PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] dt-bindings: net: micrel: boolean property assigned integer value <1>
> --
> 
> commit 7e70ac71fa47849af4ee0ecb85b6da2be68dfac5
> Author: Stefano Radaelli <stefano.r@variscite.com>
> 
> ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL files
> 
> Add the DART-6UL module description and wrappers for i.MX6UL,
> i.MX6ULL and i.MX6ULZ, plus an i.MX6ULZ wrapper for VAR-SOM-6UL.
> 
> > diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart.dtsi
> > new file mode 100644
> > index 0000000000000..f7190f6d50b59
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-var-dart.dtsi
> 
> [ ... ]
> 
> > +&fec1 {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pinctrl_enet1>, <&pinctrl_enet1_gpio>, <&pinctrl_enet1_mdio>;
> > +	phy-mode = "rmii";
> > +	phy-handle = <&ethphy0>;
> > +	status = "okay";
> > +
> > +	mdio {
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +
> > +		ethphy0: ethernet-phy@1 {
> > +			compatible = "ethernet-phy-ieee802.3-c22";
> > +			reg = <1>;
> > +			clocks = <&rmii_ref_clk>;
> > +			clock-names = "rmii-ref";
> > +			reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
> > +			reset-assert-us = <10000>;
> > +			reset-deassert-us = <100000>;
> > +			micrel,rmii-reference-clock-select-25-mhz = <1>;
> 
> [Severity: Low]
> Does this assignment cause a dtbs_check schema violation?
> 
> The micrel,rmii-reference-clock-select-25-mhz property is defined as a boolean
> in the dt-binding schema. Assigning it an integer value like <1> will trigger
> a warning during Device Tree compile validation.
> 
> Could this be specified simply by its presence without an assigned value,
> such as: micrel,rmii-reference-clock-select-25-mhz; ?

This is addressed by the preceding patches in this series.
Patch 05/13 changes this property from a boolean to enum: [1]
to satisfy the dt-schema unit checks for the -mhz suffix.
Patch 04/13 updates the driver to use of_property_present(),
accepting both the existing empty form and the numeric form
without changing the clock selection.

The <1> assignment here is intentional and matches the updated
binding.

Stefano

  reply	other threads:[~2026-10-11 21:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08 19:37 [PATCH v5 00/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL support Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 01/13] dt-bindings: arm: fsl: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 02/13] dt-bindings: arm: fsl: Add Variscite i.MX6ULL " Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 03/13] dt-bindings: arm: fsl: Add Variscite i.MX6ULZ " Stefano Radaelli
2026-10-09 10:39   ` Krzysztof Kozlowski
2026-10-08 19:37 ` [PATCH v5 04/13] net: phy: micrel: Check RMII clock select property presence Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 05/13] dt-bindings: net: micrel: Fix RMII clock select property type Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 06/13] ARM: dts: imx6ul: Extend VAR-SOM-6UL and add DART-6UL files Stefano Radaelli
2026-10-09 19:49   ` sashiko-bot
2026-10-11 21:42     ` Stefano Radaelli [this message]
2026-10-08 19:37 ` [PATCH v5 07/13] ARM: dts: imx6ul: Add Variscite WM8904 and WM8731 support Stefano Radaelli
2026-10-09 19:49   ` sashiko-bot
2026-10-08 19:37 ` [PATCH v5 08/13] ARM: dts: imx6ul: Add Variscite storage and wireless options Stefano Radaelli
2026-10-09 19:49   ` sashiko-bot
2026-10-08 19:37 ` [PATCH v5 09/13] ARM: dts: imx6ul: Extend Variscite carrier board descriptions Stefano Radaelli
2026-10-09 19:49   ` sashiko-bot
2026-10-08 19:37 ` [PATCH v5 10/13] ARM: dts: imx6ul: Share Variscite PHY clock and update PHY options Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 11/13] ARM: dts: imx6ul: Add Variscite i.MX6UL board variants Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 12/13] ARM: dts: imx6ull: Add Variscite i.MX6ULL " Stefano Radaelli
2026-10-08 19:37 ` [PATCH v5 13/13] ARM: dts: imx6ulz: Add Variscite i.MX6ULZ " Stefano Radaelli

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=aswCrsVs4Z7n864c@Lord-Beerus.station \
    --to=stefano.radaelli21@gmail.com \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox