summaryrefslogtreecommitdiff
path: root/include/uapi/linux/input-event-codes.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-12-22 22:41:23 +0300
committerMark Brown <broonie@kernel.org>2025-12-22 22:41:23 +0300
commite9af75df38cd7eb037feca29418d30f92fa4cf7f (patch)
treea56a5582fb015180589c09dc2a634fa4d1ca3e39 /include/uapi/linux/input-event-codes.h
parent0bd4b0f583e2a318441fa88ea71b3d7530ecb646 (diff)
parent99a3ef1e81cd1775bc1f8cc2ad188b1fc755d5cd (diff)
downloadlinux-e9af75df38cd7eb037feca29418d30f92fa4cf7f.tar.xz
SDCA Jack Fixups
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>: Some fixups to the jack handling, adding some necessary hooks to connect things with the machine driver. I have split these out from the system suspend chain as that has been generating a fair amount of discussion and getting these 3 merged is far more important to get basic functionality working smoothly. I will do a spin of the system suspend stuff soon, if either no new comments pop up, or we reach some consensus on how to proceed.
Diffstat (limited to 'include/uapi/linux/input-event-codes.h')
-rw-r--r--include/uapi/linux/input-event-codes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 30f3c9eaafaa..4bdb6a165987 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -891,6 +891,7 @@
#define ABS_VOLUME 0x20
#define ABS_PROFILE 0x21
+#define ABS_SND_PROFILE 0x22
#define ABS_MISC 0x28
@@ -1000,4 +1001,12 @@
#define SND_MAX 0x07
#define SND_CNT (SND_MAX+1)
+/*
+ * ABS_SND_PROFILE values
+ */
+
+#define SND_PROFILE_SILENT 0x00
+#define SND_PROFILE_VIBRATE 0x01
+#define SND_PROFILE_RING 0x02
+
#endif