]> git.sur5r.net Git - u-boot/commitdiff
usb: dwc3: Move CONFIG_USB_DWC3_PHY_* to Kconfig
authorSam Protsenko <semen.protsenko@linaro.org>
Wed, 13 Apr 2016 11:20:29 +0000 (14:20 +0300)
committerMarek Vasut <marex@denx.de>
Wed, 20 Apr 2016 09:43:28 +0000 (11:43 +0200)
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
18 files changed:
configs/am437x_gp_evm_defconfig
configs/am437x_sk_evm_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_ethboot_defconfig
configs/am43xx_evm_qspiboot_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/dra72_evm_defconfig
configs/dra74_evm_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_evm_qspiboot_defconfig
configs/dra7xx_evm_uart3_defconfig
configs/odroid-xu3_defconfig
configs/omap5_uevm_defconfig
drivers/usb/dwc3/Kconfig
include/configs/am43xx_evm.h
include/configs/dra7xx_evm.h
include/configs/odroid_xu3.h
include/configs/omap5_uevm.h

index ce16f93bc7d8e3c8f00eda7af71085a074c32caf..c1b26e06566b1f4a6803f301f5f2b3582e04671a 100644 (file)
@@ -24,5 +24,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index ee956a031ab46f7495ea3e1ba0c3f8eb38e85220..80ff4da5cc96cbffb7f421c42b112f79abca352b 100644 (file)
@@ -28,5 +28,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 094035165527008701c7e23fc2cf8350c185a4fd..97ea209d47e0e6beaf57824dc471d0f60c3e040f 100644 (file)
@@ -15,6 +15,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index dc25719f325a2ff62bc90328e043f1c7ee70678b..59634379120a0a704d11ee9a012b59a6450b16ca 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 4cd48c3d58434ba4bd845c0659fa2210e3f5e5b7..02ce1efc8ad61b604047e06b91ec65fc680dfde8 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 6371d54d3be0f01717820efa5ae583802864c176..9ac5c99c9c872083722473737c4d19e4c436b48c 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 040412da042c2f4fac407da18075f96e48f2ce68..1b8d2b9d32478c2c0b22aef4c334b09c80eeb8ab 100644 (file)
@@ -27,5 +27,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index 28646b09a5f05912659860ebafc60578880e5192..2abf81ecff7f8348cd8cb2fa163065f898679489 100644 (file)
@@ -26,5 +26,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
index a4608975100157d77463ebdd6c924ef67a3dd3dc..4dc339c92bcf4c4f2c4f926e9aa42fc40e65bcd7 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 56a596594e1a3ae86bf04b176d095e157adc4a3e..828a862284b99691fbcee246b84885d6a0c8392c 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 1121289f9cb9c4e8348408e513755dcdf3d263b6..c5ff5a9a7d16335e316c424b17aed1f9e6f0b241 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index cb6035b98bfa61672ee6b9fbf2cae58d0879dd6f..32f6dec8730f96ae31d4fb94663e9ba1ffe1c133 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_PHY_SAMSUNG=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_VIDEO_BRIDGE=y
index 9a5b91b2b456b23cf429c168674c2370ac55082f..7fe4fe535683c5ad91e302974bd1f5e3e0b5deea 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_USB=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_OMAP=y
+CONFIG_USB_DWC3_PHY_OMAP=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT=y
index 0bb862a60a2b0633613802206169a93171d68fda..e93398fe7c1c3c231857ce62f4580ca580a414ef 100644 (file)
@@ -37,4 +37,21 @@ config USB_DWC3_OMAP
 
          Say 'Y' here if you have one such device
 
+menu "PHY Subsystem"
+
+config USB_DWC3_PHY_OMAP
+       bool "TI OMAP SoC series USB DRD PHY driver"
+       help
+         Enable single driver for both USB2 PHY programming and USB3 PHY
+         programming for TI SoCs.
+
+config USB_DWC3_PHY_SAMSUNG
+       bool "Exynos5 SoC series USB DRD PHY driver"
+       help
+         Enable USB DRD PHY support for Exynos 5 SoC series.
+         This driver provides PHY interface for USB 3.0 DRD controller
+         present on Exynos5 SoC series.
+
+endmenu
+
 endif
index b330f1b51b6395e0a827eb371fc55bffc8322de7..7586019c0ca39489ae3a0d77d545a477bc3e7e31 100644 (file)
 
 /* USB GADGET */
 #if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT)
+#undef CONFIG_USB_DWC3_PHY_OMAP
 #undef CONFIG_USB_DWC3_OMAP
 #undef CONFIG_USB_DWC3
 #undef CONFIG_USB_DWC3_GADGET
 
 #if !defined(CONFIG_SPL_BUILD) || \
        (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT))
-#define CONFIG_USB_DWC3_PHY_OMAP
-
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0403
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
index 118bf916b6922e094b777746cd7cac19179c19b8..8d820f44c9e0347263e13f2c79681ea016f1d790 100644 (file)
 #define CONFIG_OMAP_USB2PHY2_HOST
 
 /* USB GADGET */
-#define CONFIG_USB_DWC3_PHY_OMAP
-
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0451
 #define CONFIG_G_DNL_PRODUCT_NUM 0xd022
index 57e20e7e3fca68ae15e0341f2c49da4f7c8da90d..76131cd901bfc47421f4ffab396420e385909391 100644 (file)
@@ -47,9 +47,6 @@
 #define CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_EXYNOS
 
-/* DWC3 */
-#define CONFIG_USB_DWC3_PHY_SAMSUNG
-
 /* Downloader */
 #define CONFIG_G_DNL_VENDOR_NUM                0x04E8
 #define CONFIG_G_DNL_PRODUCT_NUM       0x6601
index 533ac7b12068547cd4d03682ec98f559504d209c..bf922120a5d5ff39d6a68588b3077f6ed1a8b305 100644 (file)
 #define CONFIG_OMAP_EHCI_PHY3_RESET_GPIO 79
 
 /* USB GADGET */
-#define CONFIG_USB_DWC3_PHY_OMAP
-
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #define CONFIG_G_DNL_VENDOR_NUM 0x0403
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00