On 16/02/2021 03.23, Tony Lindgren wrote:
* Hector Martin <marcan@xxxxxxxxx> [210215 12:18]:
This allows the devicetree to correctly represent the available set of
timers, which varies from device to device, without the need for fake
dummy interrupts for unavailable slots.
I like the idea of using interrupt-names property for mapping timers :)
Similar approach might help other SoCs too. And clocksources never really
had similar issues.
Yeah, there are some SoCs using dummy IRQs right now for this reason, so
this should help with those too (though it's too late to introduce it
now into those DTs without breaking backwards-compat with older kernels,
sadly).
With Marc's comments addressed, please feel free to add:
Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>
Thank you!
--
Hector Martin (marcan@xxxxxxxxx)
Public Key: https://mrcn.st/pub