mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
phy: spacemit: enable K1 USB 2.0 PHY by default on ARCH_SPACEMIT
PHY_SPACEMIT_K1_PCIE has "default ARCH_SPACEMIT", but PHY_SPACEMIT_K1_USB2, directly below it in the same file, does not. Since the symbol is also absent from arch/riscv/configs/defconfig, a plain "make defconfig" build for a SpacemiT K1 board ends up with the USB 2.0 PHY driver disabled. dwc3-generic-plat needs that PHY, so the result is a kernel with no working USB at all on boards such as the Milk-V Jupiter, where all four USB 3.0 type-A ports hang off the single dwc3 controller. Give it the same default as its sibling. Signed-off-by: Bruno Banelli <bbanelli@gmail.com> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260825065007.69353-3-bbanelli@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
882af55e42
commit
392101240b
|
|
@ -22,6 +22,7 @@ config PHY_SPACEMIT_K1_USB2
|
|||
depends on USB_COMMON
|
||||
select GENERIC_PHY
|
||||
select REGMAP_MMIO
|
||||
default ARCH_SPACEMIT
|
||||
help
|
||||
Enable this to support K1 USB 2.0 PHY driver. This driver takes care of
|
||||
enabling and clock setup and will be used by K1 udc/ehci/otg/xhci driver.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user