Re: [PATCH] dt-bindings: timer: Update TI timer to yaml and add compatible for am6

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

 



* Nishanth Menon <nm@xxxxxx> [220408 08:25]:
> On 11:12-20220408, Tony Lindgren wrote:
> [...]
> 
> > +  ti,hwmods:
> > +    description:
> > +      Name of the HWMOD associated with timer. This is for legacy
> > +      omap2/3 platforms only.
> > +    $ref: /schemas/types.yaml#/definitions/string
> > +    deprecated: true
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +
> > +additionalProperties: false
> > +
> 
> Should we strengthen the check like in 8250_omap.yaml - something to the
> effect of:
> 
> if:
>   properties:
>     compatible:
>       contains:
>         enum:
>           - ti,omap2420-timer
>           - ti,omap3430-timer
>           - ti,omap4430-timer
> 
> then:
>   properties:
>     ti,hwmods:
>       items:
>         - pattern: "^timer([1-9]+)$"
> 
> else:
>   properties:
>     ti,hwmods: false

Sure, sounds good to me. I need to check again what all SoCs are already
using ti-sysc for all the timers. I believe system timers only got updated
for some SoCs.

Regards,

Tony



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux