OpenCloudOS-Kernel/drivers/usb/isp1760
Lad Prabhakar d057ac484a usb: isp1760: Use platform_get_irq() to get the interrupt
platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypasses the hierarchical setup and messes up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq(). Also use irq_get_trigger_type to get the
IRQ trigger flags.

Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20211220010411.12075-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-21 08:51:57 +01:00
..
Kconfig usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
isp1760-core.c usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-core.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-hcd.c usb: isp1760: write to status and address register 2021-08-27 16:11:39 +02:00
isp1760-hcd.h usb: isp1760: add support for isp1763 2021-05-21 20:05:32 +02:00
isp1760-if.c usb: isp1760: Use platform_get_irq() to get the interrupt 2021-12-21 08:51:57 +01:00
isp1760-regs.h usb: isp1760: otg control register access 2021-08-27 16:11:39 +02:00
isp1760-udc.c usb: isp1760: use the right irq status bit 2021-08-27 16:11:39 +02:00
isp1760-udc.h usb: isp1763: add peripheral mode 2021-05-21 20:05:32 +02:00