[PATCH] dt-bindings: timer: Update TI timer to yaml and add compatible for am6
Tony Lindgren
tony at atomide.com
Fri Apr 8 01:33:41 PDT 2022
* Nishanth Menon <nm at ti.com> [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
More information about the linux-arm-kernel
mailing list