This is v2 set for fastboot support on rk3399, tested on rock960 and rebased on u-boot-rockchip/master Changes for v2: - collect Levin Du Tested-by - fix rk3399 product number (Thanks to Levin Du) - add patch to fix fastboot flash device num for rk3328 - add patch to enable gadget on rock960 - rebased on u-boot-rockchip/master [1] https://patchwork.ozlabs.org/cover/1181569/ Any inputs? Jagan. Jagan Teki (10): gadget: Select USB_GADGET_MANUFACTURER for rockchip gadget: Select USB_GADGET_VENDOR_NUM for rockchip gadget: rockchip: USB_GADGET_PRODUCT_NUM gadget: rockchip: Add rk3128 USB_GADGET_PRODUCT_NUM fastboot: rockchip: Select FASTBOOT_FLASH[_MMC_DEV] fastboot: rockchip: Fix rk3328 default mmc device usb: dwc3: Add phy interface for dwc3_uboot gadget: rockchip: Add rk3399 USB_GADGET_PRODUCT_NUM rockchip: Setup dwc3_device (for non-dm gadgets) rock960: Enable USB Gadget arch/arm/mach-rockchip/board.c | 32 +++++++++++++++++++++++++++++-- configs/elgin-rv1108_defconfig | 2 -- configs/evb-rk3036_defconfig | 5 ----- configs/evb-rk3128_defconfig | 2 -- configs/evb-rk3229_defconfig | 5 ----- configs/evb-rk3288_defconfig | 5 ----- configs/evb-rk3328_defconfig | 5 ----- configs/evb-rv1108_defconfig | 2 -- configs/firefly-rk3288_defconfig | 5 ----- configs/kylin-rk3036_defconfig | 5 ----- configs/miqi-rk3288_defconfig | 5 ----- configs/phycore-rk3288_defconfig | 5 ----- configs/popmetal-rk3288_defconfig | 5 ----- configs/rock2_defconfig | 2 -- configs/rock64-rk3328_defconfig | 5 ----- configs/rock960-rk3399_defconfig | 2 ++ configs/tinker-rk3288_defconfig | 5 ----- configs/tinker-s-rk3288_defconfig | 5 ----- configs/vyasa-rk3288_defconfig | 3 --- drivers/fastboot/Kconfig | 3 ++- drivers/usb/dwc3/core.c | 27 ++++++++++++++++++++++++++ drivers/usb/dwc3/core.h | 12 ++++++++++++ drivers/usb/gadget/Kconfig | 7 +++++++ include/dwc3-uboot.h | 2 ++ include/linux/usb/phy.h | 19 ++++++++++++++++++ 25 files changed, 101 insertions(+), 74 deletions(-) create mode 100644 include/linux/usb/phy.h -- 2.18.0.321.gffc6fa0e3 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rockchip