Re: [PATCH v4 1/2] dt-bindings: timer: Update TI timer to yaml

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

 



* Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> [220413 08:34]:
> On 13/04/2022 10:10, Tony Lindgren wrote:
> > +allOf:
> > +  - if:
> > +      not:
> > +        properties:
> > +          compatible:
> > +            contains:
> > +              enum:
> > +                - ti,omap3430-timer
> > +                - ti,omap4430-timer
> > +                - ti,omap5430-timer
> > +    then:
> > +      properties:
> > +        reg:
> > +          items:
> > +            - description: IO address
> 
> You can skip the items because they are the same as in properties
> before. Just keep maxItems:1.

OK great.

> > +          maxItems: 1
> > +        clocks:
> > +          items:
> > +            - description: Functional clock
> 
> The same.
> 
> > +          maxItems: 1
> > +        clock-names:
> > +          items:
> > +            - const: fck
> 
> The same.
> 
> > +          maxItems: 1
> 
> Rest is good.

OK

Thanks,

Tony



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux