~ [ 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 ] ~

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