Re: of_mdiobus_register_phy() and deferred probe

2015-10-23 Thread Geert Uytterhoeven
Hi Sergei, On Thu, Oct 22, 2015 at 10:07 PM, Sergei Shtylyov wrote: > On 10/22/2015 04:31 PM, Geert Uytterhoeven wrote: > >> Due to a probe deferral of an interrupt controller[1], the Micrel >> Ethernet PHY on >> r8a7791/koelsch started failing to get its IRQ: >> >> no irq domain found for /

Re: of_mdiobus_register_phy() and deferred probe

2015-10-22 Thread Sergei Shtylyov
Hello. On 10/22/2015 04:31 PM, Geert Uytterhoeven wrote: Due to a probe deferral of an interrupt controller[1], the Micrel Ethernet PHY on r8a7791/koelsch started failing to get its IRQ: no irq domain found for /interrupt-controller@e61c ! However, of_mdiobus_register_phy() uses irq_

of_mdiobus_register_phy() and deferred probe

2015-10-22 Thread Geert Uytterhoeven
Hi, Due to a probe deferral of an interrupt controller[1], the Micrel Ethernet PHY on r8a7791/koelsch started failing to get its IRQ: no irq domain found for /interrupt-controller@e61c ! However, of_mdiobus_register_phy() uses irq_of_parse_and_map(), which plainly ignores EPROBE_DEFER, a