Commit e47feed9 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Olof Johansson
Browse files

ARM: mmp: add an instance of pxa-usb-phy to ttc_dkb and aspenite



This will replace the *_pdata.phy_{de,}init()

Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent a225daf7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -256,6 +256,10 @@ static void __init common_init(void)
	/* off-chip devices */
	platform_device_register(&smc91x_device);

#if IS_ENABLED(CONFIG_PHY_PXA_USB)
	platform_device_register(&pxa168_device_usb_phy);
#endif

#if IS_ENABLED(CONFIG_USB_EHCI_MV)
	pxa168_add_usb_host(&pxa168_sph_pdata);
#endif
+4 −0
Original line number Diff line number Diff line
@@ -282,6 +282,10 @@ static void __init ttc_dkb_init(void)
				 sizeof(struct pxa_gpio_platform_data));
	platform_add_devices(ARRAY_AND_SIZE(ttc_dkb_devices));

#if IS_ENABLED(CONFIG_PHY_PXA_USB)
	platform_device_register(&pxa168_device_usb_phy);
#endif

#if IS_ENABLED(CONFIG_USB_MV_UDC)
	pxa168_device_u2o.dev.platform_data = &ttc_usb_pdata;
	platform_device_register(&pxa168_device_u2o);