[EXT] Re: [PATCH v4 1/7] dt-bindings: arm: fsl: add se-fw binding doc
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Jul 24 00:16:08 PDT 2023
On 24/07/2023 08:37, Pankaj Gupta wrote:
>>> +examples:
>>> + - |
>>> + ele_mu: ele_mu {
>>
>> No underscores in node names, generic node names, e.g. firmware. Look at
>> existing code.
>
> Changed from:
> - ele_mu to ele-mu.
> - "ele_mu {" to "se-fw {"
Still not generic. Why do you change it twice? You understand I talk
here about node name?
>
> Name of yaml file, is se-fw.yaml.
>
>>
>>> + compatible = "fsl,imx93-ele";
>>> + mbox-names = "tx", "rx";
>>> + mboxes = <&s4muap 2 0
>>> + &s4muap 3 0>;
>>
>> Two items, not one.
>
> Corrected it to "mboxes= = <&s4muap 2 0 &s4muap 3 0>;"
>
>>
>>> + fsl,mu-did = <1>;
>>> + fsl,mu-id = <1>;
>>> + };
>>
>> Plus you clearly did not test the binding and DTS. You said you did some
>> internal review, so I assume this also includes some testing. How did you test
>> your DTS?
>>
>
> Each version is tested before sent for review here.
> I have tested the DTS file by compiling it and loading the DTB to the board.
> Executed test on the board.
That's not enough and your colleagues should tell you that... Read our
guides for bindings.
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
It does not look like you tested the bindings, at least after quick
look. Please run `make dt_binding_check` (see
Documentation/devicetree/bindings/writing-schema.rst for instructions).
Maybe you need to update your dtschema and yamllint.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list