[PATCH] spi: xilinx: use device property accessors.

Abdurrahman Hussain abdurrahman at nexthop.ai
Fri Jan 16 12:00:35 PST 2026



> On Jan 16, 2026, at 7:23 AM, Andrew Lunn <andrew at lunn.ch> wrote:
> 
> On Thu, Jan 15, 2026 at 12:33:28AM +0000, Abdurrahman Hussain wrote:
>> This makes the driver work on non-OF platforms.
>> Also, make irq optional, since the driver can already work in
>> polling mode.
> 
> Are you saying ACPI cannot describe interrupts?
> 
>    Andrew

It can. We have enabled the interrupts through ACPI on Xilinx I2C block and it works great.
For the SPI block we currently have an issue with our FPGA. Luckily the driver works just fine in the polling mode. By just making the interrupts optional makes the same driver usable on a wider range of hardware platforms, with or without the interrupts.

Thanks,
Abdurrahman 


More information about the linux-arm-kernel mailing list