All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Cunhao Lu" <1579567540@qq.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	mfd@lists.linux.dev, linux-gpio@vger.kernel.org,
	linux-serial@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-usb@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	vkoul@kernel.org, neil.armstrong@linaro.org, olteanv@gmail.com,
	lee@kernel.org
Subject: Re: [PATCH 14/27] dt-bindings: net: rockchip-dwmac: Add RK3572
Date: Thu, 22 Oct 2026 16:13:12 +0000	[thread overview]
Message-ID: <sashiko-outbox-181778@kernel.org> (raw)
In-Reply-To: <20261022-add-board-ok3572-c-v1-14-0b0fd85a31ee@qq.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: net: rockchip,rk3572-gmac missing from snps,dwmac.yaml
--

commit d49e116eebf8a880b2905b76936e70d57c74d68e
Author: Cunhao Lu <1579567540@qq.com>

dt-bindings: net: rockchip-dwmac: Add RK3572

This commit adds the rockchip,rk3572-gmac compatible string with the
snps,dwmac-4.20a fallback to the Rockchip dwmac device tree binding
schema.

> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index 80c252845349c..83b0a81b4f3b7 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml

[ ... ]

> @@ -54,6 +55,7 @@ properties:
>                - rockchip,rk3506-gmac
>                - rockchip,rk3528-gmac
>                - rockchip,rk3568-gmac
> +              - rockchip,rk3572-gmac
>                - rockchip,rk3576-gmac
>                - rockchip,rk3588-gmac
>                - rockchip,rv1126-gmac

[Severity: Low]
Should rockchip,rk3572-gmac also be added to properties:compatible in
Documentation/devicetree/bindings/net/snps,dwmac.yaml?

Documentation/devicetree/bindings/net/rockchip-dwmac.yaml references
snps,dwmac.yaml# under allOf:

  allOf:
    - $ref: snps,dwmac.yaml#

In Documentation/devicetree/bindings/net/snps,dwmac.yaml,
properties:compatible lists all Rockchip gmac compatibles from
rockchip-dwmac.yaml so that schemas including it can validate properly:

  properties:

    # We need to include all the compatibles from schemas that will
    # include that schemas, otherwise compatible won't validate for
    # those.
    compatible:
      contains:
        enum:
          ...
          - rockchip,rk3506-gmac
          - rockchip,rk3528-gmac
          - rockchip,rk3568-gmac
          - rockchip,rk3576-gmac
          - rockchip,rk3588-gmac
          - rockchip,rv1108-gmac
          - rockchip,rv1126-gmac

Prior commits adding or syncing Rockchip gmac compatibles (such as commit
4a667bec74b3 for rk3506, commit 299e2aefb159 for rk3576, and commit
e774c91dca45) updated snps,dwmac.yaml alongside rockchip-dwmac.yaml,
whereas omitting rockchip,rk3572-gmac leaves the two schemas out of sync.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261022-add-board-ok3572-c-v1-0-0b0fd85a31ee@qq.com?part=14

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Cunhao Lu" <1579567540@qq.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	mfd@lists.linux.dev, linux-gpio@vger.kernel.org,
	linux-serial@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-usb@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	vkoul@kernel.org, neil.armstrong@linaro.org, olteanv@gmail.com,
	lee@kernel.org
Subject: Re: [PATCH 14/27] dt-bindings: net: rockchip-dwmac: Add RK3572
Date: Thu, 22 Oct 2026 16:13:12 +0000	[thread overview]
Message-ID: <sashiko-outbox-181778@kernel.org> (raw)
In-Reply-To: <20261022-add-board-ok3572-c-v1-14-0b0fd85a31ee@qq.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: net: rockchip,rk3572-gmac missing from snps,dwmac.yaml
--

commit d49e116eebf8a880b2905b76936e70d57c74d68e
Author: Cunhao Lu <1579567540@qq.com>

dt-bindings: net: rockchip-dwmac: Add RK3572

This commit adds the rockchip,rk3572-gmac compatible string with the
snps,dwmac-4.20a fallback to the Rockchip dwmac device tree binding
schema.

> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index 80c252845349c..83b0a81b4f3b7 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml

[ ... ]

> @@ -54,6 +55,7 @@ properties:
>                - rockchip,rk3506-gmac
>                - rockchip,rk3528-gmac
>                - rockchip,rk3568-gmac
> +              - rockchip,rk3572-gmac
>                - rockchip,rk3576-gmac
>                - rockchip,rk3588-gmac
>                - rockchip,rv1126-gmac

[Severity: Low]
Should rockchip,rk3572-gmac also be added to properties:compatible in
Documentation/devicetree/bindings/net/snps,dwmac.yaml?

Documentation/devicetree/bindings/net/rockchip-dwmac.yaml references
snps,dwmac.yaml# under allOf:

  allOf:
    - $ref: snps,dwmac.yaml#

In Documentation/devicetree/bindings/net/snps,dwmac.yaml,
properties:compatible lists all Rockchip gmac compatibles from
rockchip-dwmac.yaml so that schemas including it can validate properly:

  properties:

    # We need to include all the compatibles from schemas that will
    # include that schemas, otherwise compatible won't validate for
    # those.
    compatible:
      contains:
        enum:
          ...
          - rockchip,rk3506-gmac
          - rockchip,rk3528-gmac
          - rockchip,rk3568-gmac
          - rockchip,rk3576-gmac
          - rockchip,rk3588-gmac
          - rockchip,rv1108-gmac
          - rockchip,rv1126-gmac

Prior commits adding or syncing Rockchip gmac compatibles (such as commit
4a667bec74b3 for rk3506, commit 299e2aefb159 for rk3576, and commit
e774c91dca45) updated snps,dwmac.yaml alongside rockchip-dwmac.yaml,
whereas omitting rockchip,rk3572-gmac leaves the two schemas out of sync.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261022-add-board-ok3572-c-v1-0-0b0fd85a31ee@qq.com?part=14

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  parent reply	other threads:[~2026-10-22 16:13 UTC|newest]

Thread overview: 188+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 16:10 [PATCH 00/27] rockchip: Add RK3572 and Forlinx OK3572-C support Cunhao Lu
2026-10-21 16:10 ` Cunhao Lu via B4 Relay
2026-10-21 16:10 ` Cunhao Lu via B4 Relay
2026-10-21 16:10 ` Cunhao Lu via B4 Relay
2026-10-21 16:10 ` [PATCH 01/27] dt-bindings: clock: rockchip: Add RK3572 CRU Cunhao Lu
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-22 16:12   ` sashiko-bot
2026-10-21 16:10 ` [PATCH 02/27] dt-bindings: power: rockchip: Add RK3572 power domains Cunhao Lu
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-21 16:10   ` Cunhao Lu via B4 Relay
2026-10-22 16:12   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 03/27] dt-bindings: soc: rockchip: Add RK3572 PMU and GRF Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:12   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 04/27] dt-bindings: mfd: syscon: Add RK3572 QoS register compatible Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 05/27] dt-bindings: pinctrl: rockchip: Add RK3572 Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 06/27] dt-bindings: gpio: rockchip: Add RK3572 GPIO banks Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 07/27] clk: rockchip: Add RK3572 clock and reset support Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 22:26   ` Heiko Stübner
2026-10-21 22:26     ` Heiko Stübner
2026-10-21 22:26     ` Heiko Stübner
2026-10-22  6:09     ` Cunhao Lu
2026-10-22  6:09       ` Cunhao Lu
2026-10-22  6:09       ` Cunhao Lu
2026-10-22  7:38       ` Heiko Stübner
2026-10-22  7:38         ` Heiko Stübner
2026-10-22  7:38         ` Heiko Stübner
2026-10-22  8:31         ` Cunhao Lu
2026-10-22  8:31           ` Cunhao Lu
2026-10-22  8:31           ` Cunhao Lu
2026-10-22  6:01   ` kernel test robot
2026-10-22 16:13   ` sashiko-bot
2026-10-22 16:13     ` sashiko-bot
2026-10-21 16:11 ` [PATCH 08/27] pinctrl: rockchip: Add RK3572 support Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 09/27] gpio: rockchip: Add RK3572 GPIO support Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-22 16:13     ` sashiko-bot
2026-10-28 10:16   ` Bartosz Golaszewski
2026-10-28 10:16     ` Bartosz Golaszewski
2026-10-28 10:16     ` Bartosz Golaszewski
2026-10-21 16:11 ` [PATCH 10/27] pmdomain: rockchip: Add RK3572 boot peripheral domains Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-22 16:13     ` sashiko-bot
2026-10-21 16:11 ` [PATCH 11/27] dt-bindings: i2c: rk3x: Add RK3572 Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-26 22:34   ` Andi Shyti
2026-10-26 22:34     ` Andi Shyti
2026-10-26 22:34     ` Andi Shyti
2026-10-21 16:11 ` [PATCH 12/27] dt-bindings: serial: snps-dw-apb-uart: " Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 13/27] dt-bindings: mmc: rockchip: Add RK3572 controllers Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 14/27] dt-bindings: net: rockchip-dwmac: Add RK3572 Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 17:14   ` Andrew Lunn
2026-10-21 17:14     ` Andrew Lunn
2026-10-21 17:14     ` Andrew Lunn
2026-10-22  6:03     ` Cunhao Lu
2026-10-22  6:03       ` Cunhao Lu
2026-10-22  6:03       ` Cunhao Lu
2026-10-22 16:13   ` sashiko-bot [this message]
2026-10-22 16:13     ` sashiko-bot
2026-10-21 16:11 ` [PATCH 15/27] dt-bindings: thermal: rockchip: " Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 16/27] net: stmmac: dwmac-rk: Add RK3572 support Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 17:09   ` Andrew Lunn
2026-10-21 17:09     ` Andrew Lunn
2026-10-21 17:09     ` Andrew Lunn
2026-10-22  5:33     ` Cunhao Lu
2026-10-22  5:33       ` Cunhao Lu
2026-10-22  5:33       ` Cunhao Lu
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 17/27] thermal: rockchip: " Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 18/27] dt-bindings: phy: rockchip-inno-usb2: Add RK3572 Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 19/27] dt-bindings: phy: rockchip-naneng-combphy: " Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 20/27] dt-bindings: usb: rockchip: Add RK3572 DWC3 controller Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 21/27] phy: rockchip-inno-usb2: Add RK3572 support Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 22/27] phy: rockchip-naneng-combphy: " Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-22 16:13     ` sashiko-bot
2026-10-21 16:11 ` [PATCH 23/27] usb: dwc3: Configure RK3572 PIPE port before discovery Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 24/27] mmc: dw_mmc-rockchip: Keep RK3572 NVM domain powered Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-27  0:53   ` Shawn Lin
2026-10-27  0:53     ` Shawn Lin
2026-10-27  0:53     ` Shawn Lin
2026-10-27  8:14     ` Cunhao Lu
2026-10-27  8:14       ` Cunhao Lu
2026-10-27  8:14       ` Cunhao Lu
2026-10-21 16:11 ` [PATCH 25/27] dt-bindings: arm: rockchip: Add Forlinx OK3572-C Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 16:11 ` [PATCH 26/27] arm64: dts: rockchip: Add RK3572 SoC Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-22 16:13     ` sashiko-bot
2026-10-21 16:11 ` [PATCH 27/27] arm64: dts: rockchip: Add initial support for Forlinx OK3572-C Cunhao Lu
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-21 16:11   ` Cunhao Lu via B4 Relay
2026-10-22 16:13   ` sashiko-bot
2026-10-21 23:00 ` [PATCH 00/27] rockchip: Add RK3572 and Forlinx OK3572-C support Shawn Lin
2026-10-21 23:00   ` Shawn Lin
2026-10-21 23:00   ` Shawn Lin
2026-10-22  6:37   ` Cunhao Lu
2026-10-22  6:37     ` Cunhao Lu
2026-10-22  6:37     ` Cunhao Lu

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-181778@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=1579567540@qq.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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.