All of lore.kernel.org
 help / color / mirror / Atom feed
From: 李志 <lizhi2@eswincomputing.com>
To: sashiko-reviews@lists.linux.dev
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: Re: [PATCH net-next v8 6/6] riscv: dts: eswin: eic7700-hifive-premier-p550: enable Ethernet controller
Date: Mon, 15 Jun 2026 17:08:52 +0800 (GMT+08:00)	[thread overview]
Message-ID: <1691b864.9610.19eca8a775c.Coremail.lizhi2@eswincomputing.com> (raw)
In-Reply-To: <20260611013250.985401F00898@smtp.kernel.org>




> -----Original Messages-----
> From: sashiko-bot@kernel.org
> Send time:Thursday, 11/06/2026 09:32:50
> To: lizhi2@eswincomputing.com
> Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
> Subject: Re: [PATCH net-next v8 6/6] riscv: dts: eswin: eic7700-hifive-premier-p550: enable Ethernet controller
> 
> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
> - [Low] Device Tree compiler warning: unit address without `reg` property.
> - [Low] Device Tree schema validation warnings: non-standard node names.
> --
> 
> commit 61fe87b2af33a89c6531d0d7ec8f49899a52057e
> Author: Zhi Li <lizhi2@eswincomputing.com>
> 
> riscv: dts: eswin: eic7700-hifive-premier-p550: enable Ethernet controller
>     
> Enable the on-board Gigabit Ethernet controller on the
> HiFive Premier P550 development board.
> 
> > diff --git a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
> > index 131ed1fc6b2ed..edd91b04e2515 100644
> > --- a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
> > +++ b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
> > @@ -13,11 +13,251 @@ / {
> 
> [ ... ]
> 
> >  	chosen {
> >  		stdout-path = "serial0:115200n8";
> >  	};
> > +
> > +	vcc_1v8: vcc1v8 {
>                  ^^^^^^
> [Severity: Low]
> Should this node be named using the generic regulator-* pattern, such as
> regulator-1v8? The current name might trigger dtbs_check validation warnings
> for the fixed-regulator schema.
> 
> > +		 compatible = "regulator-fixed";
> > +		 regulator-name = "vcc1v8";
> > +		 regulator-always-on;
> 
> [ ... ]
> 
> > diff --git a/arch/riscv/boot/dts/eswin/eic7700.dtsi b/arch/riscv/boot/dts/eswin/eic7700.dtsi
> > index c3ed93008bca1..c77bc8b1b7bc0 100644
> > --- a/arch/riscv/boot/dts/eswin/eic7700.dtsi
> > +++ b/arch/riscv/boot/dts/eswin/eic7700.dtsi
> 
> [ ... ]
> 
> > @@ -202,6 +205,11 @@ pmu {
> >  				<0x00000000 0x0000000f 0xfffffffc 0x000000ff 0x00000078>;
> >  	};
> >  
> > +	xtal24m: oscillator {
>                  ^^^^^^^^^^
> [Severity: Low]
> Would it be better to use the generic clock-* pattern for this node name,
> such as clock-24m? Using oscillator might trigger dtbs_check warnings
> against the fixed-clock binding schema.
> 
> > +		compatible = "fixed-clock";
> > +		#clock-cells = <0>;
> > +	};
> > +
> >  	soc {
> >  		compatible = "simple-bus";
> >  		ranges;
> > @@ -245,6 +253,85 @@ plic: interrupt-controller@c000000 {
> >  			#interrupt-cells = <1>;
> >  		};
> >  
> > +		hsp_power_domain: bus@50400000 {
>                                   ^^^^^^^^^^^^
> [Severity: Low]
> Does this node need a reg property? It has a unit address (@50400000), which
> usually requires a matching reg property. Without it, the devicetree compiler
> might generate a unit_address_vs_reg warning.
> 
> > +			compatible = "simple-pm-bus";
> > +			ranges;
> > +			clocks = <&clk 171>;
> > +			#address-cells = <2>;
> > +			#size-cells = <2>;
> 
It's only for the reviewer to get a full picture of the dts. It will NOT be upstreamed.
As mentioned by Andrew Lunn at:
https://lore.kernel.org/lkml/64bf6b40-b947-4ffa-8d48-4d6341931327@lunn.ch/

      reply	other threads:[~2026-06-15  9:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-10  1:27 [PATCH net-next v8 0/6] net: stmmac: eic7700: add eth1 variant support and update delay bindings lizhi2
2026-06-10  1:27 ` lizhi2
2026-06-10  1:28 ` [PATCH net-next v8 1/6] dt-bindings: ethernet: eswin: relax internal delay model to range-based constraints lizhi2
2026-06-10  1:28   ` lizhi2
2026-06-12 16:28   ` Rob Herring (Arm)
2026-06-12 16:28     ` Rob Herring (Arm)
2026-06-10  1:29 ` [PATCH net-next v8 2/6] dt-bindings: ethernet: eswin: add EIC7700 eth1 RX clock inversion variant lizhi2
2026-06-10  1:29   ` lizhi2
2026-06-11  1:32   ` sashiko-bot
2026-06-15  8:49     ` 李志
2026-06-10  1:29 ` [PATCH net-next v8 3/6] net: stmmac: eic7700: make RGMII delay properties optional lizhi2
2026-06-10  1:29   ` lizhi2
2026-06-10  8:26   ` Maxime Chevallier
2026-06-10  8:26     ` Maxime Chevallier
2026-06-13  7:48     ` Andrew Lunn
2026-06-13  7:48       ` Andrew Lunn
2026-06-10  1:31 ` [PATCH net-next v8 4/6] net: stmmac: eic7700: add support for eth1 clock inversion variant lizhi2
2026-06-10  1:31   ` lizhi2
2026-06-10  1:32 ` [PATCH net-next v8 5/6] dt-bindings: mfd: syscon: add ESWIN EIC7700 compatible lizhi2
2026-06-10  1:32   ` lizhi2
2026-06-10  1:32 ` [PATCH net-next v8 6/6] riscv: dts: eswin: eic7700-hifive-premier-p550: enable Ethernet controller lizhi2
2026-06-10  1:32   ` lizhi2
2026-06-11  1:32   ` sashiko-bot
2026-06-15  9:08     ` 李志 [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=1691b864.9610.19eca8a775c.Coremail.lizhi2@eswincomputing.com \
    --to=lizhi2@eswincomputing.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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 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.