From 1c65aac6d0121f6b6f635e03f49f580976a5e9a5 Mon Sep 17 00:00:00 2001 From: MilkyDeveloper <48262994+MilkyDeveloper@users.noreply.github.com> Date: Sat, 20 Aug 2022 12:34:37 -0500 Subject: [PATCH] Enable USB Type-C --- kernel.conf | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/kernel.conf b/kernel.conf index 47fee2f0..43c1c2f0 100644 --- a/kernel.conf +++ b/kernel.conf @@ -1875,6 +1875,7 @@ CONFIG_TIFM_7XX1=y # CONFIG_PCI_ENDPOINT_TEST is not set # CONFIG_XILINX_SDFEC is not set # CONFIG_UID_SYS_STATS is not set +# CONFIG_HISI_HIKEY_USB is not set # CONFIG_C2PORT is not set # @@ -5205,8 +5206,8 @@ CONFIG_INTEL_ISH_HID=m CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=y -# CONFIG_USB_LED_TRIG is not set -# CONFIG_USB_ULPI_BUS is not set +CONFIG_USB_LED_TRIG=y +CONFIG_USB_ULPI_BUS=y # CONFIG_USB_CONN_GPIO is not set CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=y @@ -5256,7 +5257,7 @@ CONFIG_USB_UHCI_HCD=y # USB Device Class drivers # CONFIG_USB_ACM=y -# CONFIG_USB_PRINTER is not set +CONFIG_USB_PRINTER=m CONFIG_USB_WDM=m # CONFIG_USB_TMC is not set @@ -5300,6 +5301,7 @@ CONFIG_USBIP_VHCI_NR_HCS=1 # CONFIG_USB_CDNS3 is not set # CONFIG_USB_MUSB_HDRC is not set CONFIG_USB_DWC3=m +# CONFIG_USB_DWC3_ULPI is not set # CONFIG_USB_DWC3_HOST is not set CONFIG_USB_DWC3_GADGET=y @@ -5381,7 +5383,7 @@ CONFIG_USB_SERIAL_OPTION=m # CONFIG_USB_SEVSEG is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set -# CONFIG_USB_CYPRESS_CY7C63 is not set +CONFIG_USB_CYPRESS_CY7C63=y # CONFIG_USB_CYTHERM is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set @@ -5489,8 +5491,34 @@ CONFIG_USB_CONFIGFS_F_FS=y # CONFIG_USB_RAW_GADGET is not set # end of USB Gadget precomposed configurations -# CONFIG_TYPEC is not set -# CONFIG_USB_ROLE_SWITCH is not set +CONFIG_TYPEC=m +CONFIG_TYPEC_TCPM=m +CONFIG_TYPEC_TCPCI=m +CONFIG_TYPEC_RT1711H=m +CONFIG_TYPEC_TCPCI_MAXIM=m +CONFIG_TYPEC_FUSB302=m +CONFIG_TYPEC_UCSI=m +CONFIG_UCSI_CCG=m +CONFIG_UCSI_ACPI=m +CONFIG_TYPEC_HD3SS3220=m +CONFIG_TYPEC_TPS6598X=m +CONFIG_TYPEC_STUSB160X=m + +# +# USB Type-C Multiplexer/DeMultiplexer Switch support +# +CONFIG_TYPEC_MUX_PI3USB30532=m +# end of USB Type-C Multiplexer/DeMultiplexer Switch support + +# +# USB Type-C Alternate Mode drivers +# +CONFIG_TYPEC_DP_ALTMODE=m +# CONFIG_TYPEC_NVIDIA_ALTMODE is not set +# end of USB Type-C Alternate Mode drivers + +CONFIG_USB_ROLE_SWITCH=m +CONFIG_USB_ROLES_INTEL_XHCI=m CONFIG_MMC=y CONFIG_PWRSEQ_EMMC=y # CONFIG_PWRSEQ_SD8787 is not set @@ -6007,6 +6035,7 @@ CONFIG_CROS_EC_DEBUGFS=y CONFIG_CROS_EC_SENSORHUB=m CONFIG_CROS_EC_SYSFS=y # CONFIG_CROS_EC_PD_UPDATE is not set +CONFIG_CROS_EC_TYPEC=m # CONFIG_CROS_HPS_I2C is not set CONFIG_CROS_USBPD_NOTIFY=y # CONFIG_CHROMEOS_PRIVACY_SCREEN is not set @@ -6625,6 +6654,9 @@ CONFIG_IRQCHIP=y # CONFIG_PHY_PXA_28NM_USB2 is not set # CONFIG_PHY_CPCAP_USB is not set # CONFIG_PHY_MAPPHONE_MDM6600 is not set +# CONFIG_PHY_QCOM_USB_HS is not set +# CONFIG_PHY_QCOM_USB_HSIC is not set +# CONFIG_PHY_TUSB1210 is not set # CONFIG_PHY_INTEL_LGM_COMBO is not set # CONFIG_PHY_INTEL_LGM_EMMC is not set # end of PHY Subsystem