]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Set the DT node on the child device
authorRob Herring <robh@kernel.org>
Wed, 15 Dec 2021 23:07:57 +0000 (17:07 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 16:00:45 +0000 (17:00 +0100)
commit7bf05b48ba2c8eca5a3f4d9409deb9d3eb699c69
treead0fcdad298f2d09c206316a733b31ad05fa649c
parent1a9e4d255e2e836d6dbbf4f277aacfe70ae2ddbd
usb: musb: Set the DT node on the child device

The musb glue drivers just copy the glue resources to the musb child device.
Instead, set the musb child device's DT node pointer to the parent device's
node so that platform_get_irq_byname() can find the resources in the DT.
This removes the need for statically populating the IRQ resources from the
DT which has been deprecated for some time.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215230756.2009115-3-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/am35x.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/jz4740.c
drivers/usb/musb/mediatek.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/ux500.c