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

Tony Lindgren tony at atomide.com
Wed Apr 13 01:09:26 PDT 2022


* Tony Lindgren <tony at atomide.com> [220413 06:08]:
> * Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> [220412 17:04]:
> > Hmmm, in your previous version I had impression that first clock is not
> > the same on every flavor. Now it looks the same, so clocks you could
> > simplify even more:
> > 1. Define full list in main properties (not in allOf) with minItems:1
> > 2. Use maxItems:1, for this "else:" case.
> > 
> > This could greatly reduce amount of code you need and keep the actual
> > definition of clocks in main properties (not in allOf; allOf are only to
> > constrain it).
> 
> OK thanks I'll check. I think we can assume the first clock is "fck" if
> it is configured at all.

Yup, this works nicely :) Will send out v4 set.

Thanks,

Tony



More information about the linux-arm-kernel mailing list