~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/leds/leds-mlxcpld.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/leds/leds-mlxcpld.rst (Version linux-6.12-rc7) and /Documentation/leds/leds-mlxcpld.rst (Version linux-6.2.16)


  1 =======================================             1 =======================================
  2 Kernel driver for Mellanox systems LEDs             2 Kernel driver for Mellanox systems LEDs
  3 =======================================             3 =======================================
  4                                                     4 
  5 Provide system LED support for the nex Mellano      5 Provide system LED support for the nex Mellanox systems:
  6 "msx6710", "msx6720", "msb7700", "msn2700", "m      6 "msx6710", "msx6720", "msb7700", "msn2700", "msx1410",
  7 "msn2410", "msb7800", "msn2740", "msn2100".         7 "msn2410", "msb7800", "msn2740", "msn2100".
  8                                                     8 
  9 Description                                         9 Description
 10 -----------                                        10 -----------
 11 Driver provides the following LEDs for the sys     11 Driver provides the following LEDs for the systems "msx6710", "msx6720",
 12 "msb7700", "msn2700", "msx1410", "msn2410", "m     12 "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740":
 13                                                    13 
 14   - mlxcpld:fan1:green                             14   - mlxcpld:fan1:green
 15   - mlxcpld:fan1:red                               15   - mlxcpld:fan1:red
 16   - mlxcpld:fan2:green                             16   - mlxcpld:fan2:green
 17   - mlxcpld:fan2:red                               17   - mlxcpld:fan2:red
 18   - mlxcpld:fan3:green                             18   - mlxcpld:fan3:green
 19   - mlxcpld:fan3:red                               19   - mlxcpld:fan3:red
 20   - mlxcpld:fan4:green                             20   - mlxcpld:fan4:green
 21   - mlxcpld:fan4:red                               21   - mlxcpld:fan4:red
 22   - mlxcpld:psu:green                              22   - mlxcpld:psu:green
 23   - mlxcpld:psu:red                                23   - mlxcpld:psu:red
 24   - mlxcpld:status:green                           24   - mlxcpld:status:green
 25   - mlxcpld:status:red                             25   - mlxcpld:status:red
 26                                                    26 
 27  "status"                                          27  "status"
 28   - CPLD reg offset: 0x20                          28   - CPLD reg offset: 0x20
 29   - Bits [3:0]                                     29   - Bits [3:0]
 30                                                    30 
 31  "psu"                                             31  "psu"
 32   - CPLD reg offset: 0x20                          32   - CPLD reg offset: 0x20
 33   - Bits [7:4]                                     33   - Bits [7:4]
 34                                                    34 
 35  "fan1"                                            35  "fan1"
 36   - CPLD reg offset: 0x21                          36   - CPLD reg offset: 0x21
 37   - Bits [3:0]                                     37   - Bits [3:0]
 38                                                    38 
 39  "fan2"                                            39  "fan2"
 40   - CPLD reg offset: 0x21                          40   - CPLD reg offset: 0x21
 41   - Bits [7:4]                                     41   - Bits [7:4]
 42                                                    42 
 43  "fan3"                                            43  "fan3"
 44   - CPLD reg offset: 0x22                          44   - CPLD reg offset: 0x22
 45   - Bits [3:0]                                     45   - Bits [3:0]
 46                                                    46 
 47  "fan4"                                            47  "fan4"
 48   - CPLD reg offset: 0x22                          48   - CPLD reg offset: 0x22
 49   - Bits [7:4]                                     49   - Bits [7:4]
 50                                                    50 
 51  Color mask for all the above LEDs:                51  Color mask for all the above LEDs:
 52                                                    52 
 53   [bit3,bit2,bit1,bit0] or                         53   [bit3,bit2,bit1,bit0] or
 54   [bit7,bit6,bit5,bit4]:                           54   [bit7,bit6,bit5,bit4]:
 55                                                    55 
 56         - [0,0,0,0] = LED OFF                      56         - [0,0,0,0] = LED OFF
 57         - [0,1,0,1] = Red static ON                57         - [0,1,0,1] = Red static ON
 58         - [1,1,0,1] = Green static ON              58         - [1,1,0,1] = Green static ON
 59         - [0,1,1,0] = Red blink 3Hz                59         - [0,1,1,0] = Red blink 3Hz
 60         - [1,1,1,0] = Green blink 3Hz              60         - [1,1,1,0] = Green blink 3Hz
 61         - [0,1,1,1] = Red blink 6Hz                61         - [0,1,1,1] = Red blink 6Hz
 62         - [1,1,1,1] = Green blink 6Hz              62         - [1,1,1,1] = Green blink 6Hz
 63                                                    63 
 64 Driver provides the following LEDs for the sys     64 Driver provides the following LEDs for the system "msn2100":
 65                                                    65 
 66   - mlxcpld:fan:green                              66   - mlxcpld:fan:green
 67   - mlxcpld:fan:red                                67   - mlxcpld:fan:red
 68   - mlxcpld:psu1:green                             68   - mlxcpld:psu1:green
 69   - mlxcpld:psu1:red                               69   - mlxcpld:psu1:red
 70   - mlxcpld:psu2:green                             70   - mlxcpld:psu2:green
 71   - mlxcpld:psu2:red                               71   - mlxcpld:psu2:red
 72   - mlxcpld:status:green                           72   - mlxcpld:status:green
 73   - mlxcpld:status:red                             73   - mlxcpld:status:red
 74   - mlxcpld:uid:blue                               74   - mlxcpld:uid:blue
 75                                                    75 
 76  "status"                                          76  "status"
 77   - CPLD reg offset: 0x20                          77   - CPLD reg offset: 0x20
 78   - Bits [3:0]                                     78   - Bits [3:0]
 79                                                    79 
 80  "fan"                                             80  "fan"
 81   - CPLD reg offset: 0x21                          81   - CPLD reg offset: 0x21
 82   - Bits [3:0]                                     82   - Bits [3:0]
 83                                                    83 
 84  "psu1"                                            84  "psu1"
 85   - CPLD reg offset: 0x23                          85   - CPLD reg offset: 0x23
 86   - Bits [3:0]                                     86   - Bits [3:0]
 87                                                    87 
 88  "psu2"                                            88  "psu2"
 89   - CPLD reg offset: 0x23                          89   - CPLD reg offset: 0x23
 90   - Bits [7:4]                                     90   - Bits [7:4]
 91                                                    91 
 92  "uid"                                             92  "uid"
 93   - CPLD reg offset: 0x24                          93   - CPLD reg offset: 0x24
 94   - Bits [3:0]                                     94   - Bits [3:0]
 95                                                    95 
 96  Color mask for all the above LEDs, excepted u     96  Color mask for all the above LEDs, excepted uid:
 97                                                    97 
 98   [bit3,bit2,bit1,bit0] or                         98   [bit3,bit2,bit1,bit0] or
 99   [bit7,bit6,bit5,bit4]:                           99   [bit7,bit6,bit5,bit4]:
100                                                   100 
101         - [0,0,0,0] = LED OFF                     101         - [0,0,0,0] = LED OFF
102         - [0,1,0,1] = Red static ON               102         - [0,1,0,1] = Red static ON
103         - [1,1,0,1] = Green static ON             103         - [1,1,0,1] = Green static ON
104         - [0,1,1,0] = Red blink 3Hz               104         - [0,1,1,0] = Red blink 3Hz
105         - [1,1,1,0] = Green blink 3Hz             105         - [1,1,1,0] = Green blink 3Hz
106         - [0,1,1,1] = Red blink 6Hz               106         - [0,1,1,1] = Red blink 6Hz
107         - [1,1,1,1] = Green blink 6Hz             107         - [1,1,1,1] = Green blink 6Hz
108                                                   108 
109  Color mask for uid LED:                          109  Color mask for uid LED:
110   [bit3,bit2,bit1,bit0]:                          110   [bit3,bit2,bit1,bit0]:
111                                                   111 
112         - [0,0,0,0] = LED OFF                     112         - [0,0,0,0] = LED OFF
113         - [1,1,0,1] = Blue static ON              113         - [1,1,0,1] = Blue static ON
114         - [1,1,1,0] = Blue blink 3Hz              114         - [1,1,1,0] = Blue blink 3Hz
115         - [1,1,1,1] = Blue blink 6Hz              115         - [1,1,1,1] = Blue blink 6Hz
116                                                   116 
117 Driver supports HW blinking at 3Hz and 6Hz fre    117 Driver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle).
118 For 3Hz duty cycle is about 167 msec, for 6Hz  !! 118 For 3Hz duty cylce is about 167 msec, for 6Hz is about 83 msec.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php