Re: [PATCH v2 3/3] virtio-spi: Add virtio SPI driver.
From: Mark Brown
Date: Tue Mar 19 2024 - 13:11:47 EST
On Tue, Mar 19, 2024 at 04:05:55PM +0100, Harald Mommer wrote:
> On 18.03.24 10:39, Haixu Cui wrote:
> Looks in my setup like this:
>
> virtio_mmio@4b013000 {
> compatible = "virtio,mmio";
> reg = <0x0 0x4b013000 0x0 0x1000>;
> /* GIC_SPI = 0, IRQ_TYPE_LEVEL_HIGH = 4 */
> interrupts = <0 497 4>;
> spi,bus-num = <1234>; /* <<<=== This here has been added */
> };
>
> The "spi,bus-num" is missing in your setup so you use the default of 0.
The default should be dynamic assignment, why would you need a fixed bus
number?
Attachment:
signature.asc
Description: PGP signature