aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2021-01-15 08:47:17 +0000
committerTony Lindgren <[email protected]>2021-01-15 10:50:49 +0000
commiteda080eabf5b9555e4d574ba035b0cb8aa42f052 (patch)
tree38f628040cf1f5c5dd8a3d9389e50976d56da1a6 /drivers/usb/cdns3/cdns3-imx.c
parentARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus (diff)
downloadkernel-eda080eabf5b9555e4d574ba035b0cb8aa42f052.tar.gz
kernel-eda080eabf5b9555e4d574ba035b0cb8aa42f052.zip
drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata
After converting am335x to probe devices with simple-pm-bus I noticed that we are not passing auxdata for of_platform_populate() like we do with simple-bus. While device tree using SoCs should no longer need platform data, there are still quite a few drivers that still need it as can be seen with git grep OF_DEV_AUXDATA. We want to have simple-pm-bus be usable as a replacement for simple-bus also for cases where OF_DEV_AUXDATA is still needed. Let's fix the issue by passing auxdata as platform data to simple-pm-bus. That way the SoCs needing this can pass the auxdata with OF_DEV_AUXDATA. And let's pass the auxdata for omaps to fix the issue for am335x. As an alternative solution, adding simple-pm-bus handling directly to drivers/of/platform.c was considered, but we would still need simple-pm-bus device driver. So passing auxdata as platform data seems like the simplest solution. Fixes: 5a230524f879 ("ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup") Acked-by: Arnd Bergmann <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions