]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: dwc3-of-simple: Add support for RK3399
authorMark Kettenis <kettenis@openbsd.org>
Sun, 30 Jun 2019 16:01:54 +0000 (18:01 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
Add compatible string for RK3399 and enable it by default on
Rockchip platforms with USB3 support.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/usb/host/Kconfig
drivers/usb/host/dwc3-of-simple.c

index b1188bcbf527c035a3db0e968073110b47cd5bfb..ac68aa2d276414fa04c76fa14f12d5f9ad73d9ac 100644 (file)
@@ -24,6 +24,7 @@ config USB_XHCI_DWC3
 config USB_XHCI_DWC3_OF_SIMPLE
        bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
        depends on DM_USB
+       default y if ARCH_ROCKCHIP
        default y if DRA7XX
        help
          Support USB2/3 functionality in simple SoC integrations with
index b118997f6ee516c460faabe09d09b8dc4838d0a6..45df614b0949f9781033f4185c35b67db847a614 100644 (file)
@@ -92,6 +92,7 @@ static int dwc3_of_simple_remove(struct udevice *dev)
 
 static const struct udevice_id dwc3_of_simple_ids[] = {
        { .compatible = "amlogic,meson-gxl-dwc3" },
+       { .compatible = "rockchip,rk3399-dwc3" },
        { .compatible = "ti,dwc3" },
        { }
 };