Re: [PATCH 1/2] spi: dt-bindings: introduce linux,use-rt-queue flag

From: Mark Brown
Date: Fri Jun 09 2023 - 05:41:09 EST


On Fri, Jun 09, 2023 at 11:13:39AM +0200, Alexander Stein wrote:
> Am Freitag, 9. Juni 2023, 10:42:04 CEST schrieb Linus Walleij:

> > I don't think command line arguments are necessarily global by
> > nature, AFAIK it's fine to invent something like pl022.4.rt_sched=1
> > where 4 is the instance number. Parsing it is just code.

> Now we are touching the topic of non-deterministic device names/numbers. This
> gets worse if your SPI controller is attached to some other device, although
> RT capabilities are rather limited in that case anyway.

I would use the address rather than the device number, and you could use
the compatible if you're worried about a stable name for the name part.

Attachment: signature.asc
Description: PGP signature