Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Eric Wang" <ericwang@realtek.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next 1/2] dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller
Date: Sat, 05 Dec 2026 10:08:33 +0000	[thread overview]
Message-ID: <sashiko-outbox-251368@kernel.org> (raw)
In-Reply-To: <20261204100746.1165612-2-ericwang@realtek.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: net: non-canonical property ordering in
  realtek,r8169soc.yaml
- [Low] dt-bindings: net: pinctrl-names precedes pinctrl-0 in example
  DTS
--

commit b83870efc9a65043ee704c161c4afce589db251d
Author: Eric Wang <ericwang@realtek.com>

dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller

This commit adds the Devicetree binding schema and MAINTAINERS entry for the
Realtek r8169soc Ethernet controller on the RTD1625 SoC.

> diff --git a/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml b/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml
> new file mode 100644
> index 0000000000000..604ff1ddfb0af
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml
> @@ -0,0 +1,102 @@

[ ... ]

> +properties:
> +  compatible:
> +    const: realtek,rtd1625-r8169soc
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    items:
> +      - description: 250MHz reference clock
> +      - description: Ethernet system clock
> +      - description: ISO misc clock
> +
> +  clock-names:
> +    items:
> +      - const: etn_250m
> +      - const: etn_sys
> +      - const: misc
> +
> +  resets:
> +    items:
> +      - description: GMAC reset
> +      - description: GPHY reset
> +      - description: Misc reset
> +
> +  reset-names:
> +    items:
> +      - const: gmac
> +      - const: gphy
> +      - const: misc
> +
> +  power-domains:
> +    maxItems: 1

[Severity: Low]
Should the properties follow the canonical Devicetree binding order here, as
well as in the required list and the example node?

Devicetree binding conventions place clocks and clock-names before interrupts,
followed by power-domains before remaining properties such as resets and
reset-names.

[ ... ]

> +        pinctrl-names = "default";
> +        pinctrl-0 = <&etn_led_loc0_pins>;

[Severity: Low]
Should pinctrl-0 be listed before pinctrl-names in the example node?

scripts/dtc/dt-check-style in strict mode requires pinctrl-names to appear
after the highest pinctrl-N property in the same node, so this order triggers
a property-order warning.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204100746.1165612-1-ericwang@realtek.com?part=1

  reply	other threads:[~2026-12-05 10:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 10:07 [PATCH net-next 0/2] net: ethernet: realtek: Add r8169soc Ethernet driver for Realtek STB SoCs Eric Wang
2026-12-04 10:07 ` [PATCH net-next 1/2] dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller Eric Wang
2026-12-05 10:08   ` sashiko-bot [this message]
2026-12-04 10:07 ` [PATCH net-next 2/2] net: ethernet: realtek: Add r8169soc Ethernet driver for Realtek STB SoCs Eric Wang
2026-12-05 10:08   ` sashiko-bot

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-251368@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ericwang@realtek.com \
    --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