From 5064134abf395b6c1d140fb0970f05988f59572d Mon Sep 17 00:00:00 2001 From: hlb194802 Date: Thu, 6 Jun 2024 10:56:56 +0000 Subject: [PATCH] th1520_defconfig: add usb config --- arch/riscv/configs/th1520_defconfig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/riscv/configs/th1520_defconfig b/arch/riscv/configs/th1520_defconfig index 06d3779710c0b..981d4d8e9a12b 100644 --- a/arch/riscv/configs/th1520_defconfig +++ b/arch/riscv/configs/th1520_defconfig @@ -288,11 +288,23 @@ CONFIG_SENSORS_MR75203=m CONFIG_SENSORS_PWM_FAN=m # TH1520 USB CONFIG_USB_DWC3=m -CONFIG_USB_DWC3_HOST=y +CONFIG_USB_DWC3_DUAL_ROLE=y +CONFIG_USB_DWC3_THEAD=m +CONFIG_USB_ROLE_SWITCH=m CONFIG_USB_ONBOARD_HUB=m CONFIG_USB_GADGET=m +CONFIG_USB_CONFIGFS=y +CONFIG_USB_CONFIGFS_F_FS=y +CONFIG_USB_CONFIGFS_F_ACC=y +CONFIG_USB_ZERO=m +CONFIG_USB_ETH=m +CONFIG_USB_ETH_EEM=y +CONFIG_USB_G_NCM=m +CONFIG_USB_MASS_STORAGE=m +CONFIG_USB_G_SERIAL=m +CONFIG_USB_G_MULTI=m +CONFIG_USB_G_MULTI_CDC=y CONFIG_TYPEC=m -CONFIG_USB_ROLE_SWITCH=m CONFIG_IIO=y CONFIG_THEAD_TH1520_ADC=m # TH1520 CLOCK