Re: [PATCH v2 3/4] dt-bindings: net: qcom,ethqos: Convert bindings to yaml
From: Bhupesh Sharma <hidden>
Date: 2022-10-03 08:49:21
Also in:
linux-arm-msm, linux-devicetree, lkml
From: Bhupesh Sharma <hidden>
Date: 2022-10-03 08:49:21
Also in:
linux-arm-msm, linux-devicetree, lkml
On Sun, 2 Oct 2022 at 13:24, Krzysztof Kozlowski [off-list ref] wrote:
On 01/10/2022 14:51, Bhupesh Sharma wrote:quoted
quoted
quoted
Right, most of them are to avoid the make dtbs_check errors / warnings like the one mentioned above.All of them should not be here.I guess only 'snps,reset-gpio' need not be replicated here, as for others I still see 'dtbs_check' error, if they are not replicated here: arch/arm64/boot/dts/qcom/sm8150-hdk.dtb: ethernet@20000: Unevaluated properties are not allowed ('power-domains', 'resets', 'rx-fifo-depth', 'tx-fifo-depth' were unexpected) From schema: /Documentation/devicetree/bindings/net/qcom,ethqos.yaml Am I missing something here?Probably the snps,dwmac schema failed. It is then considered unevaluated, so such properties are unknown for qcom,ethqos schema. Run check with snps,dwmac and fix all errors first.
Running dt_binding_check DT_SCHEMA_FILES=net/snps,dwmac.yaml reports no error currently. Thanks.