mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rob Herring (Arm)" <robh@kernel.org>
To: Alex Elder <elder@riscstar.com>
Cc: linux-kernel@vger.kernel.org, edumazet@kernel.org,
	 devicetree@vger.kernel.org, mohd.anwar@oss.qualcomm.com,
	 peppe.cavallaro@st.com,
	linux-stm32@st-md-mailman.stormreply.com,
	 alexandre.torgue@foss.st.com, daniel@riscstar.com,
	joabreu@synopsys.com,  pabeni@redhat.com, davem@davemloft.net,
	maxime.chevallier@bootlin.com,  netdev@vger.kernel.org,
	linux@armlinux.org.uk, richardcochran@gmail.com,
	 linux-arm-kernel@lists.infradead.org, mcoquelin.stm32@gmail.com,
	 kuba@kernel.org, hkallweit1@gmail.com, krzk+dt@kernel.org,
	 p.zabel@pengutronix.de, andrew+netdev@lunn.ch,
	conor+dt@kernel.org,  lorenzo.bianconi@oss.qualcomm.com
Subject: Re: [PATCH net-next 1/5] dt-bindings: net: add support for Toshiba TC9564
Date: Tue, 20 Oct 2026 10:12:43 -0500	[thread overview]
Message-ID: <179250894164.3309593.6302141090126438838.robh@kernel.org> (raw)
In-Reply-To: <20261019030129.1470307-2-elder@riscstar.com>


On Sun, 18 Oct 2026 22:01:24 -0500, Alex Elder wrote:
> The Toshiba TC9564 is an SoC that exposes two XGMAC 10 Gbps Ethernet
> interfaces, each of which is attached to an embedded PCIe function.
> 
> These XGMAC interfaces have three resets, for the MAC, PMA, and XPCS
> layers.  These resets differ from the standard two resets defined
> in "snps,dwmac.yaml".
> 
> To permit these other resets to be used, modify the way resets are
> defined in "snps,dwmac.yaml" to be similar to the way interrupts and
> their names are defined earlier in the file.  That is, rather than
> adding descriptions with the resets property values, just specify the
> maximum number of items.  Then, in the reset-names property, provide
> a list of description/constant value pairs, indicating which renames
> may be used among the (three) reset items specified.
> 
> Signed-off-by: Alex Elder <elder@riscstar.com>
> ---
>  .../devicetree/bindings/net/snps,dwmac.yaml   |  26 +-
>  .../bindings/net/toshiba,tc9564-xgmac.yaml    | 327 ++++++++++++++++++
>  MAINTAINERS                                   |   7 +
>  3 files changed, 351 insertions(+), 9 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/toshiba,tc9564-xgmac.yaml
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/snps,dwmac.yaml: properties:reset-names: {'maxItems': 3, 'items': [{'oneOf': [{'description': 'GMAC stmmaceth reset', 'const': 'stmmaceth'}, {'description': 'AHB reset', 'const': 'ahb'}, {'description': 'MAC reset', 'const': 'mac-reset'}, {'description': 'PMA (Physical Medium Attachment) reset', 'const': 'pma-reset'}, {'description': 'XPCS reset', 'const': 'xpcs-reset'}, {'description': 'OCP reset (deprecated)', 'const': 'stmmaceth-ocp'}]}]} should not be valid under {'required': ['maxItems']}
	hint: "maxItems" is not needed with an "items" list
	from schema $id: http://devicetree.org/meta-schemas/items.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/snps,dwmac.yaml: properties:reset-names:items:0: 'oneOf' is not one of ['const', 'deprecated', 'description', 'enum', 'not', 'pattern']
	from schema $id: http://devicetree.org/meta-schemas/string-array.yaml
Documentation/devicetree/bindings/net/toshiba,tc9564-xgmac.example.dtb: ethernet@48000 (toshiba,tc9564-xgmac): False schema does not allow True
	from schema $id: http://devicetree.org/schemas/net/toshiba,tc9564-xgmac.yaml
Documentation/devicetree/bindings/net/toshiba,tc9564-xgmac.example.dtb: ethernet-phy@1c (ethernet-phy-id004d.d101): Unevaluated properties are not allowed ('vdd18-supply' was unexpected)
	from schema $id: http://devicetree.org/schemas/net/qca,qca808x.yaml

doc reference errors (make refcheckdocs):
MAINTAINERS: Documentation/devicetree/bindings/net/toshiba,tc9564-dwmac.yaml

See https://patchwork.kernel.org/project/devicetree/patch/20261019030129.1470307-2-elder@riscstar.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


  parent reply	other threads:[~2026-10-20 15:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  3:01 [PATCH net-next 0/5] net: stmmac: enable " Alex Elder
2026-10-19  3:01 ` [PATCH net-next 1/5] dt-bindings: net: add support for " Alex Elder
2026-10-19 12:41   ` Andrew Lunn
2026-10-20 15:12   ` Rob Herring (Arm) [this message]
2026-10-19  3:01 ` [PATCH net-next 2/5] net: pcs: pcs-xpcs-regmap: support XPCS memory-mapped MDIO bus via regmap Alex Elder
2026-10-19  3:01 ` [PATCH net-next 3/5] net: stmmac: dwxgmac2: Add XGMAC 3.01a support Alex Elder
2026-10-19  7:58   ` Maxime Chevallier
2026-10-19  3:01 ` [PATCH net-next 4/5] net: stmmac: dwxgmac2: export symbols for XGMAC 3.01a DMA Alex Elder
2026-10-19  3:01 ` [PATCH net-next 5/5] net: stmmac: support the TC9564 SoC Alex Elder
2026-10-19  7:52   ` Maxime Chevallier
2026-10-19  9:14   ` Mohd Ayaan Anwar

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=179250894164.3309593.6302141090126438838.robh@kernel.org \
    --to=robh@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=daniel@riscstar.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@kernel.org \
    --cc=elder@riscstar.com \
    --cc=hkallweit1@gmail.com \
    --cc=joabreu@synopsys.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=linux@armlinux.org.uk \
    --cc=lorenzo.bianconi@oss.qualcomm.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mohd.anwar@oss.qualcomm.com \
    --cc=netdev@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=richardcochran@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®