Re: [PATCH v2 9/9] riscv: defconfig: enable ChipIdea USB controller support

From: Junzhong Pan

Date: Wed Sep 09 2026 - 09:33:03 EST


On 9/9/2026 6:07 AM, Yixun Lan wrote:
> Hi Junzhong,
>
> On 17:48 Tue 08 Sep , Junzhong Pan wrote:
>> Enable the ChipIdea USB2 controller and SpacemiT K1 USB2 PHY to support
>> USB2.0 controllers on the SpacemiT K1 SoC.
>>
>> Tested-by: Ze Huang <huang.ze@xxxxxxxxx>
>> Signed-off-by: Junzhong Pan <panjunzhong@xxxxxxxxxxxxxxxxxx>
>> ---
>> arch/riscv/configs/defconfig | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
>> index 04ae305d5511..5b556488de66 100644
>> --- a/arch/riscv/configs/defconfig
>> +++ b/arch/riscv/configs/defconfig
>> @@ -222,6 +222,9 @@ CONFIG_USB_CDNS3_HOST=y
>> CONFIG_USB_CDNS3_STARFIVE=m
>> CONFIG_USB_MUSB_HDRC=m
>> CONFIG_USB_MUSB_SUNXI=m
>> +CONFIG_USB_CHIPIDEA=y
>> +CONFIG_USB_CHIPIDEA_UDC=y
>> +CONFIG_USB_CHIPIDEA_HOST=y
> I know some prefer to enable as loadable module for non major drivers
> so, can you check if it works as module? and alter the config
>

Okay, if it works, I will alter those to =m in v3. Thanks

>> CONFIG_NOP_USB_XCEIV=m
>> CONFIG_USB_GADGET=y
>> CONFIG_USB_CONFIGFS=m
>> @@ -272,6 +275,7 @@ CONFIG_PWM=y
>> CONFIG_PWM_PXA=m
>> CONFIG_THEAD_C900_ACLINT_SSWI=y
>> CONFIG_PHY_SUN4I_USB=m
>> +CONFIG_PHY_SPACEMIT_K1_USB2=y
>> CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m
>> CONFIG_PHY_STARFIVE_JH7110_PCIE=m
>> CONFIG_PHY_STARFIVE_JH7110_USB=m
>>
>> --
>> 2.34.1
>>
>