[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240117151736.27440-1-zajec5@gmail.com>
Date: Wed, 17 Jan 2024 16:17:36 +0100
From: Rafał Miłecki <zajec5@...il.com>
To: Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-leds@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
openwrt-devel@...ts.openwrt.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs
From: Rafał Miłecki <rafal@...ecki.pl>
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@...ecki.pl>
---
include/dt-bindings/leds/common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index 9a0d33d027ff..c56785bb9c9c 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -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 */
--
2.35.3
Powered by blists - more mailing lists