From b9653b438b4767004f803c23c51206641c6afc3f Mon Sep 17 00:00:00 2001 From: WLLDD <1356028239@qq.com> Date: Tue, 18 Nov 2025 11:18:42 +0800 Subject: [PATCH] kylin: defconfig: enable CIX USB PHY and CDNSP SKY1 modules allow the kernel to load the corresponding PHY drivers Signed-off-by: "Dylan.Wu" Signed-off-by: WLLDD <1356028239@qq.com> --- arch/arm64/configs/openkylin_generic_defconfig | 8 ++------ drivers/phy/cix/Kconfig | 4 ++-- drivers/usb/typec/Kconfig | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/arch/arm64/configs/openkylin_generic_defconfig b/arch/arm64/configs/openkylin_generic_defconfig index fc575de114ce..7324bf247de7 100644 --- a/arch/arm64/configs/openkylin_generic_defconfig +++ b/arch/arm64/configs/openkylin_generic_defconfig @@ -1714,7 +1714,6 @@ CONFIG_USB_CDNS3_HOST=y # CONFIG_USB_CDNS3_PCI_WRAP is not set CONFIG_USB_CDNSP_PCI=y CONFIG_USB_CDNSP_GADGET=y -CONFIG_USB_CDNSP_SKY1=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_PCI is not set # CONFIG_USB_DWC3_HAPS is not set @@ -2008,8 +2007,8 @@ CONFIG_COMMON_RESET_HI6220=m CONFIG_PHY_XGENE=y CONFIG_PHY_HI6220_USB=m CONFIG_PHY_CIX_USBDP=y -CONFIG_PHY_CIX_USB2=y -CONFIG_PHY_CIX_USB3=y +CONFIG_PHY_CIX_USB2=m +CONFIG_PHY_CIX_USB3=m CONFIG_ARM_CCN=y CONFIG_ARM_CMN=m CONFIG_ARM_SMMU_V3_PMU=m @@ -2333,9 +2332,6 @@ CONFIG_TEST_VMALLOC=m CONFIG_TEST_BPF=m CONFIG_LINEAR_RANGES_TEST=m CONFIG_GPIO_CADENCE=y -CONFIG_PHY_CIX_USBDP=y -CONFIG_PHY_CIX_USB2=y -CONFIG_PHY_CIX_USB3=y CONFIG_PHY_CIX_PCIE=y CONFIG_USB_CDNS_SUPPORT=y CONFIG_USB_CDNS3=y diff --git a/drivers/phy/cix/Kconfig b/drivers/phy/cix/Kconfig index cad521756f30..f38ac0894a9e 100644 --- a/drivers/phy/cix/Kconfig +++ b/drivers/phy/cix/Kconfig @@ -11,14 +11,14 @@ config PHY_CIX_USBDP Enable this to support the CIX USBDP PHY for TYPEC Connection config PHY_CIX_USB2 - bool "Cix USB2 PHY Driver" + tristate "Cix USB2 PHY Driver" depends on ARM64 && OF select GENERIC_PHY help Enable this to support the CIX USB2 PHY config PHY_CIX_USB3 - bool "Cix USB3 PHY Driver" + tristate "Cix USB3 PHY Driver" depends on ARM64 && OF && HAS_IOMEM select GENERIC_PHY help diff --git a/drivers/usb/typec/Kconfig b/drivers/usb/typec/Kconfig index 2953924094f5..bc0298735cc5 100644 --- a/drivers/usb/typec/Kconfig +++ b/drivers/usb/typec/Kconfig @@ -111,7 +111,7 @@ config TYPEC_WUSB3801 module will be called wusb3801.ko. config TYPEC_RTS5453 - tristate "Realtek rts5453 Type-C port controller driver" + bool "Realtek rts5453 Type-C port controller driver" depends on I2C select REGMAP_I2C help -- Gitee