(subset) [PATCH v3 0/3] spi: xilinx: switch to device properties and make IRQs optional
Mark Brown
broonie at kernel.org
Wed Jan 21 04:35:55 PST 2026
On Wed, Jan 21, 2026 at 01:26:04PM +0100, Michal Simek wrote:
> On 1/21/26 12:39, Mark Brown wrote:
> > My understanding was that the hardware doesn't require physically wiring
> > up the interrupt signal and can work in a polling only mode. That's not
> > unknown for SPI controllers. If the interrupt is actually a strong
> > requirement for the hardware (and especially if it is actually wired up
> > on this system) then we should drop these patches.
> Keep in mind one thing. This is soft IP in fpga. If you connect in design
> IRQ you will have it. If you don't connect it, you don't have it.
> From HW perspective both of them are valid options.
Yes, that's what I thought was happening - this means that it's valid to
not describe an interrupt for the device. It's not like a primary clock
where the device simply won't function without it being wired up.
> Then the question is if DT binding in Linux are targeting HW capability and
> configurations or describing Linux driver. I was said multiple times that it
> should describe HW not actually what Linux driver implements.
Right, so if the hardware has an optional interrupt then the binding
should too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260121/c2df908f/attachment.sig>
More information about the linux-arm-kernel
mailing list