800-v6.9-0001-dt-bindings-leds-Add-FUNCTION-defines-for-per-band-W.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. From ec18a2a83b8b9f7e39c80105ea148c769c46227b Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Wed, 17 Jan 2024 16:17:36 +0100
  4. Subject: [PATCH] dt-bindings: leds: Add FUNCTION defines for per-band WLANs
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Most wireless routers and access points can operate in multiple bands
  9. simultaneously. Vendors often equip their devices with per-band LEDs.
  10. Add defines for those very common functions to allow cleaner & clearer
  11. bindings.
  12. Signed-off-by: Rafał Miłecki <[email protected]>
  13. Acked-by: Rob Herring <[email protected]>
  14. Link: https://lore.kernel.org/r/[email protected]
  15. Signed-off-by: Lee Jones <[email protected]>
  16. ---
  17. include/dt-bindings/leds/common.h | 3 +++
  18. 1 file changed, 3 insertions(+)
  19. --- a/include/dt-bindings/leds/common.h
  20. +++ b/include/dt-bindings/leds/common.h
  21. @@ -101,6 +101,9 @@
  22. #define LED_FUNCTION_USB "usb"
  23. #define LED_FUNCTION_WAN "wan"
  24. #define LED_FUNCTION_WLAN "wlan"
  25. +#define LED_FUNCTION_WLAN_2GHZ "wlan-2ghz"
  26. +#define LED_FUNCTION_WLAN_5GHZ "wlan-5ghz"
  27. +#define LED_FUNCTION_WLAN_6GHZ "wlan-6ghz"
  28. #define LED_FUNCTION_WPS "wps"
  29. #endif /* __DT_BINDINGS_LEDS_H */