[PATCH net-next V7] dt-bindings: net: xlnx,axi-ethernet: convert bindings document to yaml

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue May 2 03:26:14 PDT 2023


On 28/03/2023 14:52, Gaddam, Sarath Babu Naidu wrote:
> 
> 
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>> Sent: Tuesday, March 14, 2023 9:22 PM
>> To: Gaddam, Sarath Babu Naidu
>> <sarath.babu.naidu.gaddam at amd.com>; davem at davemloft.net;
>> edumazet at google.com; kuba at kernel.org; pabeni at redhat.com;
>> robh+dt at kernel.org; krzysztof.kozlowski+dt at linaro.org
>> Cc: michal.simek at xilinx.com; radhey.shyam.pandey at xilinx.com;
>> netdev at vger.kernel.org; devicetree at vger.kernel.org; linux-arm-
>> kernel at lists.infradead.org; linux-kernel at vger.kernel.org; Sarangi,
>> Anirudha <anirudha.sarangi at amd.com>; Katakam, Harini
>> <harini.katakam at amd.com>; git (AMD-Xilinx) <git at amd.com>
>> Subject: Re: [PATCH net-next V7] dt-bindings: net: xlnx,axi-ethernet:
>> convert bindings document to yaml
>>
>> On 08/03/2023 07:12, Sarath Babu Naidu Gaddam wrote:
>>> From: Radhey Shyam Pandey <radhey.shyam.pandey at xilinx.com>
>>>
>>> Convert the bindings document for Xilinx AXI Ethernet Subsystem from
>>> txt to yaml. No changes to existing binding description.
>>>
>>
>> (...)
>>
>>> +properties:
>>> +  compatible:
>>> +    enum:
>>> +      - xlnx,axi-ethernet-1.00.a
>>> +      - xlnx,axi-ethernet-1.01.a
>>> +      - xlnx,axi-ethernet-2.01.a
>>> +
>>> +  reg:
>>> +    description:
>>> +      Address and length of the IO space, as well as the address
>>> +      and length of the AXI DMA controller IO space, unless
>>> +      axistream-connected is specified, in which case the reg
>>> +      attribute of the node referenced by it is used.
>>
>> Did you test it with axistream-connected? The schema and description
>> feel contradictory and tests would point the issue.
> 
> Thanks for review comments. We tested with axistream-connected and
> did not observe any errors. Do you anticipate any issues/errors ?

Yes, I anticipate errors. What you wrote here looks incorrect based on
the schema.

Also, See also my further comments (or you ignored them?).

You can come many months after my review to ask about details, to be
sure I will forget the topic.


Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list