From 59d574a1e43ffce346001d0d1b3d19da74550ad5 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 28 Jul 2021 19:10:53 +0100 Subject: [PATCH] arm/linux-yocto: enable USB Type-C Port Controller Interface in generic-arm64 This is needed for hardware with USB Type C ports to work properly, so enable it in generic-arm64 kernels. Change-Id: I61e8dafde8ccdbacf35f58da8aef07d35a70193c Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-kernel/linux/linux-yocto/tcpci.cfg | 2 ++ meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend | 1 + 2 files changed, 3 insertions(+) create mode 100644 meta-arm/recipes-kernel/linux/linux-yocto/tcpci.cfg diff --git a/meta-arm/recipes-kernel/linux/linux-yocto/tcpci.cfg b/meta-arm/recipes-kernel/linux/linux-yocto/tcpci.cfg new file mode 100644 index 00000000..33205a9a --- /dev/null +++ b/meta-arm/recipes-kernel/linux/linux-yocto/tcpci.cfg @@ -0,0 +1,2 @@ +# The upstream defconfig has this in 5.12 onwards, but until then set it manually. +CONFIG_TYPEC_TCPCI=m diff --git a/meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend b/meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend index 3c3d36a9..a612cdb7 100644 --- a/meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend +++ b/meta-arm/recipes-kernel/linux/linux-yocto_5.10.bbappend @@ -4,6 +4,7 @@ COMPATIBLE_MACHINE_generic-arm64 = "generic-arm64" FILESEXTRAPATHS_prepend_generic-arm64 = "${ARMFILESPATHS}" SRC_URI_append_generic-arm64 = " \ file://defconfig.patch \ + file://tcpci.cfg \ " FILESEXTRAPATHS_prepend_qemuarm64-sbsa = "${ARMFILESPATHS}"