dt-bindings: leds: Add FUNCTION defines for per-band WLANs
authorRafał Miłecki <rafal@milecki.pl>
Wed, 17 Jan 2024 15:17:36 +0000 (16:17 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:48:00 +0000 (08:48 +0000)
Most wireless routers and access points can operate in multiple bands
simultaneously. Vendors often equip their devices with per-band LEDs.

Add defines for those very common functions to allow cleaner & clearer
bindings.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240117151736.27440-1-zajec5@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
include/dt-bindings/leds/common.h

index 9a0d33d027fff4ee696d917bb0a8d59b98b2080f..c56785bb9c9c4901e81e9775abee4cd26273a137 100644 (file)
 #define LED_FUNCTION_USB "usb"
 #define LED_FUNCTION_WAN "wan"
 #define LED_FUNCTION_WLAN "wlan"
+#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"
+#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"
+#define LED_FUNCTION_WLAN_6GHZ "wlan-6ghz"
 #define LED_FUNCTION_WPS "wps"
 
 #endif /* __DT_BINDINGS_LEDS_H */