* [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs
@ 2024-01-17 15:17 Rafał Miłecki
2024-01-17 22:12 ` Rob Herring
2024-01-25 13:33 ` (subset) " Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Rafał Miłecki @ 2024-01-17 15:17 UTC (permalink / raw)
To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-leds, devicetree, linux-kernel, openwrt-devel,
Rafał Miłecki
From: Rafał Miłecki <rafal@milecki.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@milecki.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs
2024-01-17 15:17 [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs Rafał Miłecki
@ 2024-01-17 22:12 ` Rob Herring
2024-01-25 13:33 ` (subset) " Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2024-01-17 22:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: devicetree, Pavel Machek, linux-kernel, Conor Dooley, linux-leds,
Krzysztof Kozlowski, Rob Herring, Rafał Miłecki,
Lee Jones, openwrt-devel
On Wed, 17 Jan 2024 16:17:36 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.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@milecki.pl>
> ---
> include/dt-bindings/leds/common.h | 3 +++
> 1 file changed, 3 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: (subset) [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs
2024-01-17 15:17 [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs Rafał Miłecki
2024-01-17 22:12 ` Rob Herring
@ 2024-01-25 13:33 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2024-01-25 13:33 UTC (permalink / raw)
To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Rafał Miłecki
Cc: linux-leds, devicetree, linux-kernel, openwrt-devel,
Rafał Miłecki
On Wed, 17 Jan 2024 16:17:36 +0100, Rafał Miłecki wrote:
> 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 [李琼斯]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-25 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 15:17 [PATCH] dt-bindings: leds: add FUNCTION defines for per-band WLANs Rafał Miłecki
2024-01-17 22:12 ` Rob Herring
2024-01-25 13:33 ` (subset) " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®