]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: edison: Use dwc3-generic driver for Intel Edison
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 Dec 2020 17:45:01 +0000 (19:45 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 16 Dec 2020 05:51:24 +0000 (13:51 +0800)
Use generic Synopsys DesignWare 3 driver on Intel Edison.
For now it's just a stub which allows future refactoring.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/tangier/Kconfig
arch/x86/dts/edison.dts
drivers/usb/dwc3/dwc3-generic.c

index d2b7edecd6041eee4e60c7cf9de1ee06f5b24245..94d9d74a325c84e9a02d83313932a645792d42a9 100644 (file)
@@ -10,8 +10,11 @@ config INTEL_TANGIER
        imply MMC_SDHCI
        imply MMC_SDHCI_SDMA
        imply MMC_SDHCI_TANGIER
+       imply MISC
        imply USB
+       imply USB_XHCI_HCD
        imply USB_DWC3
+       imply USB_DWC3_GENERIC
 
 if INTEL_TANGIER
 
index 97cc6ec386c2c2475f0d3a0851565d540c1b6b22..600d6d256246c86bbc3ad88756caf677d7ec13a9 100644 (file)
                reg = <0xff009000 0x1000>;
        };
 
+       usb: usb@f9100000 {
+               compatible = "intel,tangier-dwc3";
+       };
+
        watchdog: wdt@0 {
                compatible = "intel,tangier-wdt";
        };
index a936f71d2e5d116d9891b1cfb764a4cee2142a07..222358d3959363a756de53b0c7fc51c425073c0e 100644 (file)
@@ -449,6 +449,7 @@ static const struct udevice_id dwc3_glue_ids[] = {
        { .compatible = "rockchip,rk3328-dwc3" },
        { .compatible = "rockchip,rk3399-dwc3" },
        { .compatible = "qcom,dwc3" },
+       { .compatible = "intel,tangier-dwc3" },
        { }
 };