diff mbox series

backports: add QMI helpers

Message ID 20220530174700.1669944-1-robimarko@gmail.com (mailing list archive)
State New, archived
Headers show
Series backports: add QMI helpers | expand

Commit Message

Robert Marko May 30, 2022, 5:47 p.m. UTC
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(+)

Comments

Hauke Mehrtens July 31, 2022, 3:56 p.m. UTC | #1
On 5/30/22 19:47, Robert Marko wrote:
> 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(+)
> 
Thank you for your patch I applied it to master.

Hauke

--
To unsubscribe from this list: send the line "unsubscribe backports" in
diff mbox series

Patch

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