[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <173339568226.2585836.18129717858312736704.robh@kernel.org>
Date: Thu, 05 Dec 2024 04:48:02 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>
Cc: Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Michael Turquette <mturquette@...libre.com>, linux-kernel@...r.kernel.org,
kernel@...gutronix.de, Richard Cochran <richardcochran@...il.com>,
netdev@...r.kernel.org, linux-clk@...r.kernel.org,
Dinh Nguyen <dinguyen@...nel.org>, devicetree@...r.kernel.org,
Stephen Boyd <sboyd@...nel.org>
Subject: Re: [PATCH v3 1/6] dt-bindings: net: dwmac: Convert socfpga dwmac
to DT schema
On Thu, 05 Dec 2024 10:06:01 +0100, Steffen Trumtrar wrote:
> Changes to the binding while converting:
> - add "snps,dwmac-3.7{0,2,4}a". They are used, but undocumented.
> - altr,f2h_ptp_ref_clk is not a required property but optional.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@...gutronix.de>
> ---
> .../devicetree/bindings/net/socfpga-dwmac.txt | 57 ----------
> .../devicetree/bindings/net/socfpga-dwmac.yaml | 119 +++++++++++++++++++++
> 2 files changed, 119 insertions(+), 57 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/socfpga-dwmac.yaml: 'oneOf' conditional failed, one must be fixed:
'unevaluatedProperties' is a required property
'additionalProperties' is a required property
hint: Either unevaluatedProperties or additionalProperties must be present
from schema $id: http://devicetree.org/meta-schemas/core.yaml#
Documentation/devicetree/bindings/net/socfpga-dwmac.example.dtb: /example-0/phy@...000240: failed to match any schema with compatible: ['altr,gmii-to-sgmii-2.0']
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/socfpga-dwmac.example.dtb: ethernet@...00000: compatible: 'oneOf' conditional failed, one must be fixed:
['altr,socfpga-stmmac', 'snps,dwmac-3.70a', 'snps,dwmac'] is too long
'altr,socfpga-stmmac' is not one of ['altr,socfpga-stmmac-a10-s10']
'snps,dwmac-3.72a' was expected
'snps,dwmac-3.74a' was expected
from schema $id: http://devicetree.org/schemas/net/socfpga-dwmac.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/socfpga-dwmac.example.dtb: ethernet@...00000: phy-mode:0: 'sgmii' is not of type 'array'
from schema $id: http://devicetree.org/schemas/net/socfpga-dwmac.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241205-v6-12-topic-socfpga-agilex5-v3-1-2a8cdf73f50a@pengutronix.de
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.
Powered by blists - more mailing lists