All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kyle Hendry" <khendry@reliablecontrols.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	wsa+renesas@sang-engineering.com
Subject: Re: [PATCH net-next 1/3] dt-bindings: net: pcs: renesas,rzn1-miic: Document rzn1 resets
Date: Sat, 28 Nov 2026 18:15:33 +0000	[thread overview]
Message-ID: <sashiko-outbox-238948@kernel.org> (raw)
In-Reply-To: <20261127-miic-reset-consumer-v1-1-3cab78b94e23@reliablecontrols.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: net: pcs: renesas,rzn1-miic: misindented resets
  under else
--

commit 575b03c2d089ed2bbbd4eb3b68259490440d654a
Author: Kyle Hendry <khendry@reliablecontrols.com>

dt-bindings: net: pcs: renesas,rzn1-miic: Document rzn1 resets

This commit documents the two reset lines for the Renesas RZ/N1 MIIC in the
device tree binding schema and moves the per-variant reset definitions into
the conditional allOf branches.

> diff --git a/Documentation/devicetree/bindings/net/pcs/renesas,rzn1-miic.yaml b/Documentation/devicetree/bindings/net/pcs/renesas,rzn1-miic.yaml
> index f9d39114e6672..5ad1f993e8bd1 100644
> --- a/Documentation/devicetree/bindings/net/pcs/renesas,rzn1-miic.yaml
> +++ b/Documentation/devicetree/bindings/net/pcs/renesas,rzn1-miic.yaml

[ ... ]

> @@ -161,9 +165,14 @@ allOf:
>        properties:
>          renesas,miic-switch-portin:
>            const: 0
> -      required:
> -        - resets
> -        - reset-names
> +      resets:
> +        items:
> +          - description: Converter register reset
> +          - description: Converter reset
> +      reset-names:
> +        items:
> +          - const: rst
> +          - const: crst

[Severity: Medium]
Should resets and reset-names be indented under properties here?  As
written, they sit directly under else, which causes make dt_binding_check
to fail schema validation and leaves the rst/crst reset constraints
unapplied to the RZ/T2H and RZ/N2H variants.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-miic-reset-consumer-v1-0-3cab78b94e23@reliablecontrols.com?part=1

  reply	other threads:[~2026-11-28 18:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:14 [PATCH net-next 0/3] net: pcs: rzn1-miic: Deassert resets on RZ/N1 Kyle Hendry via B4 Relay
2026-11-27 18:14 ` Kyle Hendry
2026-11-27 18:14 ` [PATCH net-next 1/3] dt-bindings: net: pcs: renesas,rzn1-miic: Document rzn1 resets Kyle Hendry via B4 Relay
2026-11-27 18:14   ` Kyle Hendry
2026-11-28 18:15   ` sashiko-bot [this message]
2026-11-29 10:01   ` Krzysztof Kozlowski
2026-11-27 18:14 ` [PATCH net-next 2/3] net: pcs: rzn1-miic: Add resets to rzn1 info structure Kyle Hendry via B4 Relay
2026-11-27 18:14   ` Kyle Hendry
2026-11-27 18:28   ` Clement Leger
2026-11-28 18:15   ` sashiko-bot
2026-11-27 18:14 ` [PATCH net-next 3/3] ARM: dts: renesas: r9a06g032: Add resets to mii converter Kyle Hendry via B4 Relay
2026-11-27 18:14   ` Kyle Hendry

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-238948@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=khendry@reliablecontrols.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=wsa+renesas@sang-engineering.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 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.