meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: "Ross Burton" <ross@burtonini.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 1/4] arm/linux-yocto: enable USB Type-C Port Controller Interface in generic-arm64
Date: Wed, 28 Jul 2021 19:10:53 +0100	[thread overview]
Message-ID: <20210728181056.287870-1-ross.burton@arm.com> (raw)

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


             reply	other threads:[~2021-07-28 18:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 18:10 Ross Burton [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210728181056.287870-1-ross.burton@arm.com \
    --to=ross@burtonini.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).