aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2021-11-05 12:13:58 +0100
committerJiri Kosina <jkosina@suse.cz>2021-11-05 12:13:58 +0100
commita6be4c6c4ead4742543bbd80303bbd6ffb544fef (patch)
tree61613a6e2015f5c605532323df615f7a0e630d04 /include
parentMerge branch 'for-5.16/core' into for-linus (diff)
parentHID: playstation: require multicolor LED functionality (diff)
downloadwireguard-linux-a6be4c6c4ead4742543bbd80303bbd6ffb544fef.tar.xz
wireguard-linux-a6be4c6c4ead4742543bbd80303bbd6ffb544fef.zip
Merge branch 'for-5.16/playstation' into for-linus
- LED handling improvements (Roderick Colenbrander)
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/leds/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index 52b619d44ba2..3be89a7c20a9 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -60,6 +60,13 @@
#define LED_FUNCTION_MICMUTE "micmute"
#define LED_FUNCTION_MUTE "mute"
+/* Used for player LEDs as found on game controllers from e.g. Nintendo, Sony. */
+#define LED_FUNCTION_PLAYER1 "player-1"
+#define LED_FUNCTION_PLAYER2 "player-2"
+#define LED_FUNCTION_PLAYER3 "player-3"
+#define LED_FUNCTION_PLAYER4 "player-4"
+#define LED_FUNCTION_PLAYER5 "player-5"
+
/* Miscelleaus functions. Use functions above if you can. */
#define LED_FUNCTION_ACTIVITY "activity"
#define LED_FUNCTION_ALARM "alarm"