Skip to contentSkip to conversation

dt-bindings: leds: add FUNCTION defines for per-band WLANs

PATCH Applied Rafał Miłecki 3 participants 3 messages Jan 17, 2024 – Jan 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: leds: add FUNCTION defines for per-band WLANs

From: Rafał Miłecki <[email protected]>

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.

---
 include/dt-bindings/leds/common.h | 3 +++
 1 file changed, 3 insertions(+)
include/dt-bindings/leds/common.h +3 -0
index 9a0d33d027ff..c56785bb9c9c 100644
@@ -101,6 +101,9 @@
 #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 */
Signature · 1 line
2.35.3
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

Most wireless routers and access points can operate in multiple bands simultaneously. Vendors often equip their devices with per-band LEDs.

Quoted 8 lines

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

---
 include/dt-bindings/leds/common.h | 3 +++
 1 file changed, 3 insertions(+)
maintainer Applied
#2 lore raw

Re: (subset) [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs

In reply to Rafał Miłecki
Quoted 8 lines · Rafał Miłecki

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.

[...]

Applied, thanks!

[1/1] dt-bindings: leds: add FUNCTION defines for per-band WLANs

      commit: 89d9d3eedc8804e06a770e3cf1279f9131b785f1

--
Lee Jones [李琼斯]