[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 7/7] Versal: Connect DWC3 controller with virt-versal
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH v4 7/7] Versal: Connect DWC3 controller with virt-versal |
Date: |
Mon, 31 Aug 2020 09:12:58 +0200 |
Hi,
> + unsigned int irq = VERSAL_USB0_IRQ_0;
> + const char intName[] = "dwc_usb3";
> + qemu_fdt_setprop(s->fdt, name, "interrupt-names",
> + intName, sizeof(intName));
> + qemu_fdt_setprop_cells(s->fdt, name, "interrupts",
> + GIC_FDT_IRQ_TYPE_SPI, irq,
> + GIC_FDT_IRQ_FLAGS_LEVEL_HI);
This seems to declare one IRQ in the FDT.
> + qdev_prop_set_uint32(xhci_dev, "intrs", 4);
Here you configure 4 IRQs for xhci-sysbus.
> + sysbus_connect_irq(SYS_BUS_DEVICE(xhci_dev), 0, pic[VERSAL_USB0_IRQ_0]);
Also a single IRQ only.
I'm wondering which is correct? Probably one IRQ? Do we need support
for multiple IRQs in xhci-sysbus in the first place?
take care,
Gerd
- [PATCH v4 0/7] Make hcd-xhci independent of pci hooks, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 5/7] misc: Add versal-usb2-regs module, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 7/7] Versal: Connect DWC3 controller with virt-versal, Sai Pavan Boddu, 2020/08/28
- Re: [PATCH v4 7/7] Versal: Connect DWC3 controller with virt-versal,
Gerd Hoffmann <=
- [PATCH v4 6/7] usb: Add DWC3 model, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 3/7] usb/hcd-xhci: Split pci wrapper for xhci base model, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 1/7] usb/hcd-xhci: Make dma read/writes hooks pci free, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 4/7] usb: hcd-xhci-sysbus: Attach xhci to sysbus device, Sai Pavan Boddu, 2020/08/28
- [PATCH v4 2/7] usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c, Sai Pavan Boddu, 2020/08/28
- Re: [PATCH v4 0/7] Make hcd-xhci independent of pci hooks, Gerd Hoffmann, 2020/08/31