summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBjorn Andersson <andersson@kernel.org>2026-03-16 05:03:24 +0300
committerBjorn Andersson <andersson@kernel.org>2026-03-16 05:03:24 +0300
commit1d1c40d67480a755a0da0f0273db3fa905060079 (patch)
treee9b7daa12862105f5419b119a4b5efce4f71bcbb /include/linux
parent38dd6ccfdfbbe865569a52fe1ba9fa1478f672e6 (diff)
parente4ee7621d732162ea2ec714ae76dac2f70519417 (diff)
downloadlinux-1d1c40d67480a755a0da0f0273db3fa905060079.tar.xz
Merge branch '20260309230346.3584252-2-daniel.lezcano@oss.qualcomm.com' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into rproc-next
Merge the addition of centralized QMI constants from immutable branch, to allow using them in the upcoming sysmon patch.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/soc/qcom/qmi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/soc/qcom/qmi.h b/include/linux/soc/qcom/qmi.h
index 291cdc7ef49c..b9dcb437a0be 100644
--- a/include/linux/soc/qcom/qmi.h
+++ b/include/linux/soc/qcom/qmi.h
@@ -92,6 +92,18 @@ struct qmi_elem_info {
#define QMI_ERR_INCOMPATIBLE_STATE_V01 90
#define QMI_ERR_NOT_SUPPORTED_V01 94
+/*
+ * Enumerate the IDs of the QMI services
+ */
+#define QMI_SERVICE_ID_TEST 0x0f /* 15 */
+#define QMI_SERVICE_ID_SSCTL 0x2b /* 43 */
+#define QMI_SERVICE_ID_IPA 0x31 /* 49 */
+#define QMI_SERVICE_ID_SERVREG_LOC 0x40 /* 64 */
+#define QMI_SERVICE_ID_SERVREG_NOTIF 0x42 /* 66 */
+#define QMI_SERVICE_ID_WLFW 0x45 /* 69 */
+#define QMI_SERVICE_ID_SLIMBUS 0x301 /* 769 */
+#define QMI_SERVICE_ID_USB_AUDIO_STREAM 0x41d /* 1053 */
+
/**
* struct qmi_response_type_v01 - common response header (decoded)
* @result: result of the transaction