.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mach-mmp/ttc_dkb.c |
---|
3 | 4 | * |
---|
4 | 5 | * Support for the Marvell PXA910-based TTC_DKB Development Platform. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * publishhed by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #include <linux/init.h> |
---|
.. | .. |
---|
282 | 279 | sizeof(struct pxa_gpio_platform_data)); |
---|
283 | 280 | platform_add_devices(ARRAY_AND_SIZE(ttc_dkb_devices)); |
---|
284 | 281 | |
---|
| 282 | +#if IS_ENABLED(CONFIG_USB_SUPPORT) |
---|
| 283 | +#if IS_ENABLED(CONFIG_PHY_PXA_USB) |
---|
| 284 | + platform_device_register(&pxa168_device_usb_phy); |
---|
| 285 | +#endif |
---|
| 286 | + |
---|
285 | 287 | #if IS_ENABLED(CONFIG_USB_MV_UDC) |
---|
286 | 288 | pxa168_device_u2o.dev.platform_data = &ttc_usb_pdata; |
---|
287 | 289 | platform_device_register(&pxa168_device_u2o); |
---|
.. | .. |
---|
296 | 298 | pxa168_device_u2ootg.dev.platform_data = &ttc_usb_pdata; |
---|
297 | 299 | platform_device_register(&pxa168_device_u2ootg); |
---|
298 | 300 | #endif |
---|
| 301 | +#endif |
---|
299 | 302 | |
---|
300 | 303 | #if IS_ENABLED(CONFIG_MMP_DISP) |
---|
301 | 304 | add_disp(); |
---|