diff mbox series

[3/3] dt-bindings: leds: Add "internet" and "rssi" function definitions

Message ID TYAP286MB0315E7370A5B2D7A3CC18929BCA0A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM
State Superseded
Headers show
Series [1/3] dt-bindings: leds: sort LED color definitions by alphabet | expand

Commit Message

Shiji Yang Oct. 31, 2023, 11:15 a.m. UTC
These two types of LEDs are widely used in routers and NICs. The
RSSI (Received Signal Strength Indicator) LED is used to display
the Wi-Fi signal strength, and the Internet LED can indicate
whether the device can access a specific server.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
 include/dt-bindings/leds/common.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index 33c9dd873..6d2a27bcb 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -89,11 +89,13 @@ 
 #define LED_FUNCTION_FLASH "flash"
 #define LED_FUNCTION_HEARTBEAT "heartbeat"
 #define LED_FUNCTION_INDICATOR "indicator"
+#define LED_FUNCTION_INTERNET "internet"
 #define LED_FUNCTION_LAN "lan"
 #define LED_FUNCTION_MAIL "mail"
 #define LED_FUNCTION_MTD "mtd"
 #define LED_FUNCTION_PANIC "panic"
 #define LED_FUNCTION_PROGRAMMING "programming"
+#define LED_FUNCTION_RSSI "rssi"
 #define LED_FUNCTION_RX "rx"
 #define LED_FUNCTION_SD "sd"
 #define LED_FUNCTION_STANDBY "standby"