All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] arm/linux-yocto: enable USB Type-C Port Controller Interface in generic-arm64
@ 2021-07-28 18:10 Ross Burton
  2021-07-28 18:10 ` [PATCH 2/4] arm/generic-arm64: recommend kernel modules and firmware Ross Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ross Burton @ 2021-07-28 18:10 UTC (permalink / raw)
  To: meta-arm

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 <ross.burton@arm.com>
---
 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 0000000..33205a9
--- /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 3c3d36a..a612cdb 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}"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-28 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 18:10 [PATCH 1/4] arm/linux-yocto: enable USB Type-C Port Controller Interface in generic-arm64 Ross Burton
2021-07-28 18:10 ` [PATCH 2/4] arm/generic-arm64: recommend kernel modules and firmware Ross Burton
2021-07-28 18:10 ` [PATCH 3/4] arm/linux-yocto: remove SRCREV pin Ross Burton
2021-07-28 18:10 ` [PATCH 4/4] arm/linux-yocto: re-generate defconfig.patch for qemuarm64-sbsa and generic-arm64 Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.