From: sashiko-bot@kernel.org
To: "Vasilij Strassheim" <v.strassheim@linutronix.de>
Cc: devicetree@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org,
conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH net-next v4 4/8] dt-bindings: mfd: Add SoC-e SWIP parent
Date: Fri, 06 Nov 2026 14:17:35 +0000 [thread overview]
Message-ID: <sashiko-outbox-201560@kernel.org> (raw)
In-Reply-To: <20261105-devel-vstrassheim-soce-dsa-ml-v4-4-02f3cde2afa1@linutronix.de>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: mfd: ranges ordered after
#address-cells/#size-cells in soce,swip
- [Low] dt-bindings: mfd: mdio@204 ordered before mdio-mux@202 in
soce,swip
--
commit 801ea0c5b85665a13499e976133e6d6ca196c4a0
Author: Vasilij Strassheim <v.strassheim@linutronix.de>
dt-bindings: mfd: Add SoC-e SWIP parent
This commit adds a devicetree binding schema for the SoC-e SWIP
multifunction Ethernet switch FPGA IP core, describing its shared MMIO
address space and child nodes.
> diff --git a/Documentation/devicetree/bindings/mfd/soce,swip.yaml b/Documentation/devicetree/bindings/mfd/soce,swip.yaml
> new file mode 100644
> index 0000000000000..625be299e262e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/soce,swip.yaml
> @@ -0,0 +1,137 @@
[ ... ]
> +properties:
> + compatible:
> + const: soce,swip
> +
> + reg:
> + maxItems: 1
> +
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 1
> +
> + ranges: true
> +
> + mdio@204:
> + $ref: /schemas/net/soce,swip-mdio.yaml#
> + unevaluatedProperties: false
> +
> + mdio-mux@202:
> + $ref: /schemas/net/mdio-mux-mmioreg.yaml#
> + unevaluatedProperties: false
> +
> + ethernet-switch:
> + $ref: /schemas/net/dsa/soce,swip-switch.yaml#
> + unevaluatedProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - '#address-cells'
> + - '#size-cells'
> + - ranges
> + - ethernet-switch
> +
> +dependentRequired:
> + mdio-mux@202:
> + - mdio@204
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + ethernet-switch@80020000 {
> + compatible = "soce,swip";
> + reg = <0x80020000 0x10000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0x0 0x80020000 0x10000>;
[Severity: Low]
In Documentation/devicetree/bindings/mfd/soce,swip.yaml, the properties,
required, and examples sections place ranges after #address-cells and
#size-cells.
Running scripts/dtc/dt-check-style --mode=strict on this binding reports a
property-order failure because Documentation/devicetree/bindings/dts-coding-style.rst
and Documentation/devicetree/bindings/writing-schema.rst place ranges before
standard properties like #address-cells and #size-cells.
Should ranges be moved before #address-cells and #size-cells in properties,
required, and examples?
> +
> + mdio_parent: mdio@204 {
> + compatible = "soce,swip-mdio";
> + reg = <0x204 0xc>, <0x200 0x2>;
> + reg-names = "data", "control";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + };
> +
> + mdio-mux@202 {
[Severity: Low]
Similarly, in both properties and examples in
Documentation/devicetree/bindings/mfd/soce,swip.yaml, mdio@204 is placed
before mdio-mux@202, which causes scripts/dtc/dt-check-style --mode=strict
to report a child-address-order warning.
Could mdio-mux@202 be ordered before mdio@204 so the child nodes follow
ascending hexadecimal unit-address order?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de?part=4
next prev parent reply other threads:[~2026-11-06 14:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 14:16 [PATCH net-next v4 0/8] net: dsa: Add support for SoC-e Ethernet switch IP cores Vasilij Strassheim
2026-11-05 14:16 ` [PATCH net-next v4 1/8] dt-bindings: vendor-prefixes: Add soce Vasilij Strassheim
2026-11-05 14:16 ` [PATCH net-next v4 2/8] dt-bindings: net: Add SoC-e SWIP MDIO controller Vasilij Strassheim
2026-11-05 14:16 ` [PATCH net-next v4 3/8] dt-bindings: net: dsa: Add SoC-e SWIP switch function Vasilij Strassheim
2026-11-06 14:17 ` sashiko-bot
2026-11-12 10:33 ` Krzysztof Kozlowski
2026-11-05 14:16 ` [PATCH net-next v4 4/8] dt-bindings: mfd: Add SoC-e SWIP parent Vasilij Strassheim
2026-11-06 11:13 ` Krzysztof Kozlowski
2026-11-06 21:51 ` Vasilij Strassheim
2026-11-10 16:10 ` Vasilij Strassheim
2026-11-10 19:21 ` Rob Herring
2026-11-06 14:17 ` sashiko-bot [this message]
2026-11-05 14:16 ` [PATCH net-next v4 5/8] net: dsa: Add tag handling for SoC-e switches Vasilij Strassheim
2026-11-06 14:17 ` sashiko-bot
2026-11-05 14:16 ` [PATCH net-next v4 6/8] net: mdio: Add SoC-e SWIP MDIO controller driver Vasilij Strassheim
2026-11-05 14:16 ` [PATCH net-next v4 7/8] net: dsa: soce: Add basic support for SoC-e switch IP cores Vasilij Strassheim
2026-11-05 14:16 ` [PATCH net-next v4 8/8] net: dsa: soce: Add VLAN membership table support Vasilij Strassheim
2026-11-06 14:17 ` 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-201560@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=v.strassheim@linutronix.de \
/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.