pinctrl: renesas: rzg2l: Enhance driver to support interrupt affinity setting
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 11 Oct 2023 19:59:23 +0000 (20:59 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 Nov 2023 10:11:22 +0000 (11:11 +0100)
Implement irq_set_affinity callback so that we can set affinity
for GPIO IRQs.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231011195923.67404-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c

index 9de350ad7e7d5d2d31eb183cbdd38ee012de809f..aed59c53207c7cfaea70c8ffda32e5f5a11a7a42 100644 (file)
@@ -1576,6 +1576,7 @@ static const struct irq_chip rzg2l_gpio_irqchip = {
        .irq_set_type = rzg2l_gpio_irq_set_type,
        .irq_eoi = rzg2l_gpio_irqc_eoi,
        .irq_print_chip = rzg2l_gpio_irq_print_chip,
+       .irq_set_affinity = irq_chip_set_affinity_parent,
        .flags = IRQCHIP_IMMUTABLE,
        GPIOCHIP_IRQ_RESOURCE_HELPERS,
 };