lkml.org 
[lkml]   [2022]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 3/7] dt-bindings: net: Add bindings for StarFive dwmac
From


On 2022/12/2 1:35, Conor Dooley wrote:
> On Thu, Dec 01, 2022 at 05:21:04PM +0100, Krzysztof Kozlowski wrote:
>> On 01/12/2022 10:02, Yanhong Wang wrote:
>> > Add bindings for the StarFive dwmac module on the StarFive RISC-V SoCs.
>>
>> Subject: drop second, redundant "bindings".
>>
>> >
>> > Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
>> > ---
>> > .../devicetree/bindings/net/snps,dwmac.yaml | 1 +
>> > +properties:
>> > + compatible:
>> > + oneOf:
>>
>> Drop oneOf. You do not have more cases here.
>>
>> > + - items:
>> > + - enum:
>> > + - starfive,dwmac
>>
>> Wrong indentation.... kind of expected since you did not test the bindings.
>>
>> > + - const: snps,dwmac-5.20
>
> Disclaimer: no familiarity with the version info with DW stuff
>
> Is it a bit foolish to call this binding "starfive,dwmac"? Could there
> not be another StarFive SoC in the future that uses another DW mac IP
> version & this would be better off as "starfive,jh7110-dwmac" or similar?
>

The StarFive JH8100 SoC in the future that uses the same mac IP version, so call this binding "starfive,dwmac".

> Thanks,
> Conor.
>

\
 
 \ /
  Last update: 2022-12-02 08:17    [W:0.106 / U:2.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site