0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __DT_BINDINGS_LEDS_H
0013 #define __DT_BINDINGS_LEDS_H
0014
0015
0016 #define LEDS_TRIG_TYPE_EDGE 0
0017 #define LEDS_TRIG_TYPE_LEVEL 1
0018
0019
0020 #define LEDS_BOOST_OFF 0
0021 #define LEDS_BOOST_ADAPTIVE 1
0022 #define LEDS_BOOST_FIXED 2
0023
0024
0025 #define LED_COLOR_ID_WHITE 0
0026 #define LED_COLOR_ID_RED 1
0027 #define LED_COLOR_ID_GREEN 2
0028 #define LED_COLOR_ID_BLUE 3
0029 #define LED_COLOR_ID_AMBER 4
0030 #define LED_COLOR_ID_VIOLET 5
0031 #define LED_COLOR_ID_YELLOW 6
0032 #define LED_COLOR_ID_IR 7
0033 #define LED_COLOR_ID_MULTI 8
0034 #define LED_COLOR_ID_RGB 9
0035
0036 #define LED_COLOR_ID_MAX 10
0037
0038
0039
0040
0041 #define LED_FUNCTION_CAPSLOCK "capslock"
0042 #define LED_FUNCTION_SCROLLLOCK "scrolllock"
0043 #define LED_FUNCTION_NUMLOCK "numlock"
0044
0045
0046 #define LED_FUNCTION_KBD_BACKLIGHT "kbd_backlight"
0047
0048
0049
0050 #define LED_FUNCTION_POWER "power"
0051 #define LED_FUNCTION_DISK "disk"
0052
0053
0054 #define LED_FUNCTION_CHARGING "charging"
0055
0056
0057
0058 #define LED_FUNCTION_STATUS "status"
0059
0060 #define LED_FUNCTION_MICMUTE "micmute"
0061 #define LED_FUNCTION_MUTE "mute"
0062
0063
0064 #define LED_FUNCTION_PLAYER1 "player-1"
0065 #define LED_FUNCTION_PLAYER2 "player-2"
0066 #define LED_FUNCTION_PLAYER3 "player-3"
0067 #define LED_FUNCTION_PLAYER4 "player-4"
0068 #define LED_FUNCTION_PLAYER5 "player-5"
0069
0070
0071 #define LED_FUNCTION_ACTIVITY "activity"
0072 #define LED_FUNCTION_ALARM "alarm"
0073 #define LED_FUNCTION_BACKLIGHT "backlight"
0074 #define LED_FUNCTION_BLUETOOTH "bluetooth"
0075 #define LED_FUNCTION_BOOT "boot"
0076 #define LED_FUNCTION_CPU "cpu"
0077 #define LED_FUNCTION_DEBUG "debug"
0078 #define LED_FUNCTION_DISK_ACTIVITY "disk-activity"
0079 #define LED_FUNCTION_DISK_ERR "disk-err"
0080 #define LED_FUNCTION_DISK_READ "disk-read"
0081 #define LED_FUNCTION_DISK_WRITE "disk-write"
0082 #define LED_FUNCTION_FAULT "fault"
0083 #define LED_FUNCTION_FLASH "flash"
0084 #define LED_FUNCTION_HEARTBEAT "heartbeat"
0085 #define LED_FUNCTION_INDICATOR "indicator"
0086 #define LED_FUNCTION_LAN "lan"
0087 #define LED_FUNCTION_MAIL "mail"
0088 #define LED_FUNCTION_MTD "mtd"
0089 #define LED_FUNCTION_PANIC "panic"
0090 #define LED_FUNCTION_PROGRAMMING "programming"
0091 #define LED_FUNCTION_RX "rx"
0092 #define LED_FUNCTION_SD "sd"
0093 #define LED_FUNCTION_STANDBY "standby"
0094 #define LED_FUNCTION_TORCH "torch"
0095 #define LED_FUNCTION_TX "tx"
0096 #define LED_FUNCTION_USB "usb"
0097 #define LED_FUNCTION_WAN "wan"
0098 #define LED_FUNCTION_WLAN "wlan"
0099 #define LED_FUNCTION_WPS "wps"
0100
0101 #endif