aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2022-02-07 11:33:33 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2022-04-05 23:41:04 +0200
commit5014a79b21c55ccb3ccd20c9e873993baf40932b (patch)
treef1dd9651ace9a2510bdda5c0c2685e0a2da38a8f
parent8afac3a8ddf832c33b4a7acff5687bae657c8c38 (diff)
downloadbackports-5014a79b21c55ccb3ccd20c9e873993baf40932b.tar.gz
backports: Add mhi bus driver
Add it to copylist and wire up in Makefile and Kconfig. Also set minimal depdency to 4.19 as it requires ida_alloc and xarray which is too messy to be backported to earlier versions. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
-rw-r--r--backport/Kconfig.sources1
-rw-r--r--backport/Makefile.kernel1
-rw-r--r--copy-list3
-rw-r--r--dependencies3
4 files changed, 8 insertions, 0 deletions
diff --git a/backport/Kconfig.sources b/backport/Kconfig.sources
index 5fb44780..8f430965 100644
--- a/backport/Kconfig.sources
+++ b/backport/Kconfig.sources
@@ -4,6 +4,7 @@ source "$BACKPORT_DIR/compat/Kconfig"
# these are copied from the kernel
source "$BACKPORT_DIR/net/wireless/Kconfig"
source "$BACKPORT_DIR/net/mac80211/Kconfig"
+source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig"
source "$BACKPORT_DIR/drivers/net/wireless/Kconfig"
source "$BACKPORT_DIR/drivers/net/usb/Kconfig"
diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel
index 62baa945..e2a1a263 100644
--- a/backport/Makefile.kernel
+++ b/backport/Makefile.kernel
@@ -39,6 +39,7 @@ obj-y += compat/
obj-$(CPTCFG_CFG80211) += net/wireless/
obj-$(CPTCFG_MAC80211) += net/mac80211/
+obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/
obj-$(CPTCFG_WLAN) += drivers/net/wireless/
obj-$(CPTCFG_SSB) += drivers/ssb/
obj-$(CPTCFG_BCMA) += drivers/bcma/
diff --git a/copy-list b/copy-list
index be8539d4..1be2285e 100644
--- a/copy-list
+++ b/copy-list
@@ -91,6 +91,9 @@ net/mac80211/
include/linux/mpls.h
include/uapi/linux/mpls.h
+drivers/bus/mhi/
+include/linux/mhi.h
+
drivers/net/wireless/ath/
drivers/ssb/
include/linux/ssb/
diff --git a/dependencies b/dependencies
index d8c3f106..623763a2 100644
--- a/dependencies
+++ b/dependencies
@@ -37,3 +37,6 @@ NL80211_TESTMODE 4.18
# Needs aes_expandkey() and aes_encrypt()
RTL8723BS 5.4
+
+# ida_alloc(), xarray
+MHI_BUS 4.19