On 11/10/2024 15:29, Krzysztof Kozlowski wrote:
How do you imagine writing drivers and request items by order (not by name) if the order is different in each flavor?
I don't think I'd be much in favour of relying on declaration order in the dts, favouring names to find resources instead, tbh.
The 8250 has regs that sort by address and name in the same order. For 8280xp we preferred sort by address and you're right the interrupt sorting isn't consistent.
However the latest applied dts for CAMSS is sort by address/irq not sort by reg-name irq-name.
Unless its a NAK from yourself and Rob, that would certainly be my preference for any _new_ additions subsequent.
--- bod