forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-mmp/aspenite.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-mmp/aspenite.c
34 *
45 * Support for the Marvell PXA168-based Aspenite and Zylonite2
56 * Development Platform.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * publishhed by the Free Software Foundation.
107 */
118 #include <linux/gpio.h>
129 #include <linux/gpio-pxa.h>
....@@ -29,6 +26,7 @@
2926 #include "addr-map.h"
3027 #include "mfp-pxa168.h"
3128 #include "pxa168.h"
29
+#include "pxa910.h"
3230 #include "irqs.h"
3331 #include "common.h"
3432
....@@ -256,9 +254,15 @@
256254 /* off-chip devices */
257255 platform_device_register(&smc91x_device);
258256
257
+#if IS_ENABLED(CONFIG_USB_SUPPORT)
258
+#if IS_ENABLED(CONFIG_PHY_PXA_USB)
259
+ platform_device_register(&pxa168_device_usb_phy);
260
+#endif
261
+
259262 #if IS_ENABLED(CONFIG_USB_EHCI_MV)
260263 pxa168_add_usb_host(&pxa168_sph_pdata);
261264 #endif
265
+#endif
262266 }
263267
264268 MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform")