On Wed, Feb 21, 2024 at 3:13 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > On Thu, Feb 15, 2024 at 1:41 PM Claudiu <claudiu.beznea@xxxxxxxxx> wrote: > > From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> > > > > The pinctrl-rzg2l driver uses APIs that are defined only if > > CONFIG_IRQ_DOMAIN_HIERARCHY=y (irq_chip_*_parent() APIs). On the ARCH_RZG2L > > CONFIG_IRQ_DOMAIN_HIERARCHY is selected anyway, e.g., by the > > CONFIG_ARM_GIC_V3. Even so, make it explicit at the driver level for a > > clearer view of the dependencies. > > > > Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> > > Thanks for your patch! > > Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > > Compile-testing on m68k reveals that you also need > > select GPIOLIB_IRQCHIP FTR: drivers/pinctrl/renesas/pinctrl-rzg2l.c: In function ‘rzg2l_gpio_free’: drivers/pinctrl/renesas/pinctrl-rzg2l.c:1472:30: error: ‘struct gpio_chip’ has no member named ‘irq’ 1472 | virq = irq_find_mapping(chip->irq.domain, offset); | ^~ drivers/pinctrl/renesas/pinctrl-rzg2l.c: In function ‘rzg2l_gpio_populate_parent_fwspec’: drivers/pinctrl/renesas/pinctrl-rzg2l.c:1953:23: error: ‘struct gpio_chip’ has no member named ‘irq’ 1953 | fwspec->fwnode = chip->irq.parent_domain->fwnode; | ^~ drivers/pinctrl/renesas/pinctrl-rzg2l.c: In function ‘rzg2l_gpio_register’: drivers/pinctrl/renesas/pinctrl-rzg2l.c:2057:14: error: ‘struct gpio_chip’ has no member named ‘irq’ 2057 | girq = &chip->irq; | ^~ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds