iksphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget%/translations/zh_CN/leds/leds-mlxcpldmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/zh_TW/leds/leds-mlxcpldmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/it_IT/leds/leds-mlxcpldmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/ja_JP/leds/leds-mlxcpldmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/ko_KR/leds/leds-mlxcpldmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/sp_SP/leds/leds-mlxcpldmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h'Kernel driver for Mellanox systems LEDsh]h'Kernel driver for Mellanox systems LEDs}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh?/var/lib/git/docbuild/linux/Documentation/leds/leds-mlxcpld.rsthKubh paragraph)}(hProvide system LED support for the nex Mellanox systems: "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740", "msn2100".h]hProvide system LED support for the nex Mellanox systems: “msx6710”, “msx6720”, “msb7700”, “msn2700”, “msx1410”, “msn2410”, “msb7800”, “msn2740”, “msn2100”.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h Descriptionh]h Description}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hDriver provides the following LEDs for the systems "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740":h]hDriver provides the following LEDs for the systems “msx6710”, “msx6720”, “msb7700”, “msn2700”, “msx1410”, “msn2410”, “msb7800”, “msn2740”:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh block_quote)}(hXf - mlxcpld:fan1:green - mlxcpld:fan1:red - mlxcpld:fan2:green - mlxcpld:fan2:red - mlxcpld:fan3:green - mlxcpld:fan3:red - mlxcpld:fan4:green - mlxcpld:fan4:red - mlxcpld:psu:green - mlxcpld:psu:red - mlxcpld:status:green - mlxcpld:status:red "status" - CPLD reg offset: 0x20 - Bits [3:0] "psu" - CPLD reg offset: 0x20 - Bits [7:4] "fan1" - CPLD reg offset: 0x21 - Bits [3:0] "fan2" - CPLD reg offset: 0x21 - Bits [7:4] "fan3" - CPLD reg offset: 0x22 - Bits [3:0] "fan4" - CPLD reg offset: 0x22 - Bits [7:4] Color mask for all the above LEDs: [bit3,bit2,bit1,bit0] or [bit7,bit6,bit5,bit4]: - [0,0,0,0] = LED OFF - [0,1,0,1] = Red static ON - [1,1,0,1] = Green static ON - [0,1,1,0] = Red blink 3Hz - [1,1,1,0] = Green blink 3Hz - [0,1,1,1] = Red blink 6Hz - [1,1,1,1] = Green blink 6Hz h](h)}(h- mlxcpld:fan1:green - mlxcpld:fan1:red - mlxcpld:fan2:green - mlxcpld:fan2:red - mlxcpld:fan3:green - mlxcpld:fan3:red - mlxcpld:fan4:green - mlxcpld:fan4:red - mlxcpld:psu:green - mlxcpld:psu:red - mlxcpld:status:green - mlxcpld:status:red h]h bullet_list)}(hhh](h list_item)}(hmlxcpld:fan1:greenh]h)}(hhh]hmlxcpld:fan1:green}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan1:redh]h)}(hjh]hmlxcpld:fan1:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan2:greenh]h)}(hj'h]hmlxcpld:fan2:green}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj%ubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan2:redh]h)}(hj>h]hmlxcpld:fan2:red}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj<ubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan3:greenh]h)}(hjUh]hmlxcpld:fan3:green}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjSubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan3:redh]h)}(hjlh]hmlxcpld:fan3:red}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan4:greenh]h)}(hjh]hmlxcpld:fan4:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:fan4:redh]h)}(hjh]hmlxcpld:fan4:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:psu:greenh]h)}(hjh]hmlxcpld:psu:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:psu:redh]h)}(hjh]hmlxcpld:psu:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:status:greenh]h)}(hjh]hmlxcpld:status:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubh)}(hmlxcpld:status:red h]h)}(hmlxcpld:status:redh]hmlxcpld:status:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]bullet-uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhubhdefinition_list)}(hhh](hdefinition_list_item)}(h."status" - CPLD reg offset: 0x20 - Bits [3:0] h](hterm)}(h"status"h]h “status”}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKhj!ubh definition)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x20h]h)}(hj?h]hCPLD reg offset: 0x20}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj=ubah}(h]h ]h"]h$]h&]uh1hhj:ubh)}(h Bits [3:0] h]h)}(h Bits [3:0]h]h Bits [3:0]}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjTubah}(h]h ]h"]h$]h&]uh1hhj:ubeh}(h]h ]h"]h$]h&]jjuh1hhhhKhj7ubah}(h]h ]h"]h$]h&]uh1j5hj!ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj )}(h+"psu" - CPLD reg offset: 0x20 - Bits [7:4] h](j&)}(h"psu"h]h “psu”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK!hj~ubj6)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x20h]h)}(hjh]hCPLD reg offset: 0x20}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h Bits [7:4] h]h)}(h Bits [7:4]h]h Bits [7:4]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjuh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1j5hj~ubeh}(h]h ]h"]h$]h&]uh1jhhhK!hjubj )}(h,"fan1" - CPLD reg offset: 0x21 - Bits [3:0] h](j&)}(h"fan1"h]h “fan1”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK%hjubj6)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x21h]h)}(hjh]hCPLD reg offset: 0x21}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h Bits [3:0] h]h)}(h Bits [3:0]h]h Bits [3:0]}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjuh1hhhhK$hjubah}(h]h ]h"]h$]h&]uh1j5hjubeh}(h]h ]h"]h$]h&]uh1jhhhK%hjubj )}(h,"fan2" - CPLD reg offset: 0x21 - Bits [7:4] h](j&)}(h"fan2"h]h “fan2”}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK)hj0ubj6)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x21h]h)}(hjJh]hCPLD reg offset: 0x21}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hjHubah}(h]h ]h"]h$]h&]uh1hhjEubh)}(h Bits [7:4] h]h)}(h Bits [7:4]h]h Bits [7:4]}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hj_ubah}(h]h ]h"]h$]h&]uh1hhjEubeh}(h]h ]h"]h$]h&]jjuh1hhhhK(hjBubah}(h]h ]h"]h$]h&]uh1j5hj0ubeh}(h]h ]h"]h$]h&]uh1jhhhK)hjubj )}(h,"fan3" - CPLD reg offset: 0x22 - Bits [3:0] h](j&)}(h"fan3"h]h “fan3”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK-hjubj6)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x22h]h)}(hjh]hCPLD reg offset: 0x22}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h Bits [3:0] h]h)}(h Bits [3:0]h]h Bits [3:0]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjuh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1j5hjubeh}(h]h ]h"]h$]h&]uh1jhhhK-hjubj )}(h,"fan4" - CPLD reg offset: 0x22 - Bits [7:4] h](j&)}(h"fan4"h]h “fan4”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK1hjubj6)}(hhh]h)}(hhh](h)}(hCPLD reg offset: 0x22h]h)}(hjh]hCPLD reg offset: 0x22}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hjubah}(h]h ]h"]h$]h&]uh1hhjubh)}(h Bits [7:4] h]h)}(h Bits [7:4]h]h Bits [7:4]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]jjuh1hhhhK0hjubah}(h]h ]h"]h$]h&]uh1j5hjubeh}(h]h ]h"]h$]h&]uh1jhhhK1hjubeh}(h]h ]h"]h$]h&]uh1jhhubh)}(h"Color mask for all the above LEDs:h]h"Color mask for all the above LEDs:}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hhubh)}(hX[bit3,bit2,bit1,bit0] or [bit7,bit6,bit5,bit4]: - [0,0,0,0] = LED OFF - [0,1,0,1] = Red static ON - [1,1,0,1] = Green static ON - [0,1,1,0] = Red blink 3Hz - [1,1,1,0] = Green blink 3Hz - [0,1,1,1] = Red blink 6Hz - [1,1,1,1] = Green blink 6Hz h](h)}(h/[bit3,bit2,bit1,bit0] or [bit7,bit6,bit5,bit4]:h]h/[bit3,bit2,bit1,bit0] or [bit7,bit6,bit5,bit4]:}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjOubh)}(h- [0,0,0,0] = LED OFF - [0,1,0,1] = Red static ON - [1,1,0,1] = Green static ON - [0,1,1,0] = Red blink 3Hz - [1,1,1,0] = Green blink 3Hz - [0,1,1,1] = Red blink 6Hz - [1,1,1,1] = Green blink 6Hz h]h)}(hhh](h)}(h[0,0,0,0] = LED OFFh]h)}(hjjh]h[0,0,0,0] = LED OFF}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjhubah}(h]h ]h"]h$]h&]uh1hhjeubh)}(h[0,1,0,1] = Red static ONh]h)}(hjh]h[0,1,0,1] = Red static ON}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK9hjubah}(h]h ]h"]h$]h&]uh1hhjeubh)}(h[1,1,0,1] = Green static ONh]h)}(hjh]h[1,1,0,1] = Green static ON}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubah}(h]h ]h"]h$]h&]uh1hhjeubh)}(h[0,1,1,0] = Red blink 3Hzh]h)}(hjh]h[0,1,1,0] = Red blink 3Hz}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hjubah}(h]h ]h"]h$]h&]uh1hhjeubh)}(h[1,1,1,0] = Green blink 3Hzh]h)}(hjh]h[1,1,1,0] = Green blink 3Hz}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjeubeh}(h]h ]h"]h$]h&]jjuh1hhhhK8hjaubah}(h]h ]h"]h$]h&]uh1hhhhK8hjOubeh}(h]h ]h"]h$]h&]uh1hhhhK5hhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h