RE: [PATCH v4 net-next 02/13] dt-bindings: net: add i.MX95 ENETC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >  allOf:
> >    - $ref: /schemas/pci/pci-device.yaml
> >    - $ref: ethernet-controller.yaml
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            enum:
> > +              - pci1131,e101
> > +    then:
> > +      properties:
> > +        clocks:
> > +          maxItems: 1
> > +          description: MAC transmit/receiver reference clock
> 
> items:
>   - description: MAC transmit/receiver reference clock

I remember Rob said maxItems:1 is enough, I think items is no needed here.

> 
> > +
> > +        clock-names:
> > +          const: ref
> 
> items:
>   - const: ref

I think const: ref is enough, I referenced several other YAML files, such as
cortina,gemini-ethernet.yaml, allwinner,sun8i-a83t-emac.yaml.

> > 
> > +    else:
> > +      properties:
> > +        clocks: false
> > +        clock-names: false
> >
> >  unevaluatedProperties: false
> >
> > --
> > 2.34.1
> >





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux