[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-backports
Subject:    [PATCH] backports: add QMI helpers
From:       Robert Marko <robimarko () gmail ! com>
Date:       2022-05-30 17:47:00
Message-ID: 20220530174700.1669944-1-robimarko () gmail ! com
[Download RAW message or body]

QMI helpers are used by ath11k for both AHB and PCI support.
They are also not user selectable but rather are meant to be selected
by ath11k, so backport them as well to avoid patching the kernel to
provide these from OpenWrt for example.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 backport/Kconfig.sources | 1 +
 backport/Makefile.kernel | 1 +
 copy-list                | 5 +++++
 dependencies             | 2 ++
 4 files changed, 9 insertions(+)

diff --git a/backport/Kconfig.sources b/backport/Kconfig.sources
index 87ffca94..2ea4d8a6 100644
--- a/backport/Kconfig.sources
+++ b/backport/Kconfig.sources
@@ -6,6 +6,7 @@ source "$BACKPORT_DIR/net/wireless/Kconfig"
 source "$BACKPORT_DIR/net/mac80211/Kconfig"
 source "$BACKPORT_DIR/net/qrtr/Kconfig"
 source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig"
+source "$BACKPORT_DIR/drivers/soc/qcom/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 373fed96..11ce4177 100644
--- a/backport/Makefile.kernel
+++ b/backport/Makefile.kernel
@@ -40,6 +40,7 @@ obj-y += compat/
 obj-$(CPTCFG_CFG80211) += net/wireless/
 obj-$(CPTCFG_MAC80211) += net/mac80211/
 obj-$(CPTCFG_QRTR) += net/qrtr/
+obj-$(CPTCFG_QCOM_QMI_HELPERS) += drivers/soc/qcom/
 obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/
 obj-$(CPTCFG_WLAN) += drivers/net/wireless/
 obj-$(CPTCFG_SSB) += drivers/ssb/
diff --git a/copy-list b/copy-list
index 480a9fb3..21bf6c58 100644
--- a/copy-list
+++ b/copy-list
@@ -102,6 +102,11 @@ drivers/ssb/
 include/linux/ssb/
 drivers/bcma/
 include/linux/bcma/
+drivers/soc/qcom/Makefile
+drivers/soc/qcom/Kconfig
+drivers/soc/qcom/qmi_encdec.c
+drivers/soc/qcom/qmi_interface.c
+include/linux/soc/qcom/qmi.h
 drivers/net/wireless/atmel/
 drivers/net/wireless/broadcom/
 drivers/net/wireless/st/
diff --git a/dependencies b/dependencies
index 5bb9c563..3f88c446 100644
--- a/dependencies
+++ b/dependencies
@@ -44,5 +44,7 @@ MHI_BUS 4.19
 # sock_gettstamp()
 QRTR 5.2
 
+QCOM_QMI_HELPERS 4.16
+
 # QRTR
 ATH11K 5.2
-- 
2.36.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic