Re: [resend PATCH v4 2/2] dt-bindings: net: snps,dwmac: add clk_csr property
From: Krzysztof Kozlowski
Date: Thu Sep 22 2022 - 11:07:44 EST
On 22/09/2022 11:27, Jianguo Zhang wrote:
> The clk_csr property is parsed in driver for generating MDC clock
> with correct frequency. A warning('clk_csr' was unexpeted) is reported
> when runing 'make_dtbs_check' because the clk_csr property
> has been not documented in the binding file.
>
You did not describe the case, but apparently this came with
81311c03ab4d ("net: ethernet: stmmac: add management of clk_csr
property") which never brought the bindings change.
Therefore the property was never part of bindings documentation and
bringing them via driver is not the correct process. It bypasses the
review and such bypass cannot be an argument to bring the property to
bindings. It's not how new properties can be added.
Therefore I don't agree. Please make it a property matching bindings, so
vendor prefix, no underscores in node names.
Driver and DTS need updates.
Best regards,
Krzysztof