2nsphinx.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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/pt_BR/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)}(hj h]hmlxcpld:fan1:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan1:redh]h)}(hj$h]hmlxcpld:fan1:red}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj"ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan2:greenh]h)}(hj;h]hmlxcpld:fan2:green}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan2:redh]h)}(hjRh]hmlxcpld:fan2:red}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjPubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan3:greenh]h)}(hjih]hmlxcpld:fan3:green}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjgubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan3:redh]h)}(hjh]hmlxcpld:fan3:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj~ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan4:greenh]h)}(hjh]hmlxcpld:fan4:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:fan4:redh]h)}(hjh]hmlxcpld:fan4:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:psu:greenh]h)}(hjh]hmlxcpld:psu:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:psu:redh]h)}(hjh]hmlxcpld:psu:red}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:status:greenh]h)}(hjh]hmlxcpld:status:green}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hmlxcpld:status:red h]h)}(hmlxcpld:status:redh]hmlxcpld:status:red}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhKhjubah}(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&]uh1j9hhhKhj5ubh definition)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x20h]h)}(hjSh]hCPLD reg offset: 0x20}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQubah}(h]h ]h"]h$]h&]uh1j hjNubj )}(h Bits [3:0] h]h)}(h Bits [3:0]h]h Bits [3:0]}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhubah}(h]h ]h"]h$]h&]uh1j hjNubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhKhjKubah}(h]h ]h"]h$]h&]uh1jIhj5ubeh}(h]h ]h"]h$]h&]uh1j3hhhKhj0ubj4)}(h+"psu" - CPLD reg offset: 0x20 - Bits [7:4] h](j:)}(h"psu"h]h “psu”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK!hjubjJ)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x20h]h)}(hjh]hCPLD reg offset: 0x20}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(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&]uh1j hjubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK hjubah}(h]h ]h"]h$]h&]uh1jIhjubeh}(h]h ]h"]h$]h&]uh1j3hhhK!hj0ubj4)}(h,"fan1" - CPLD reg offset: 0x21 - Bits [3:0] h](j:)}(h"fan1"h]h “fan1”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK%hjubjJ)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x21h]h)}(hjh]hCPLD reg offset: 0x21}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(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&]uh1j hjubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK$hjubah}(h]h ]h"]h$]h&]uh1jIhjubeh}(h]h ]h"]h$]h&]uh1j3hhhK%hj0ubj4)}(h,"fan2" - CPLD reg offset: 0x21 - Bits [7:4] h](j:)}(h"fan2"h]h “fan2”}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK)hjDubjJ)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x21h]h)}(hj^h]hCPLD reg offset: 0x21}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hj\ubah}(h]h ]h"]h$]h&]uh1j hjYubj )}(h Bits [7:4] h]h)}(h Bits [7:4]h]h Bits [7:4]}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjsubah}(h]h ]h"]h$]h&]uh1j hjYubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK(hjVubah}(h]h ]h"]h$]h&]uh1jIhjDubeh}(h]h ]h"]h$]h&]uh1j3hhhK)hj0ubj4)}(h,"fan3" - CPLD reg offset: 0x22 - Bits [3:0] h](j:)}(h"fan3"h]h “fan3”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK-hjubjJ)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x22h]h)}(hjh]hCPLD reg offset: 0x22}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(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&]uh1j hjubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK,hjubah}(h]h ]h"]h$]h&]uh1jIhjubeh}(h]h ]h"]h$]h&]uh1j3hhhK-hj0ubj4)}(h,"fan4" - CPLD reg offset: 0x22 - Bits [7:4] h](j:)}(h"fan4"h]h “fan4”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK1hjubjJ)}(hhh]j)}(hhh](j )}(hCPLD reg offset: 0x22h]h)}(hjh]hCPLD reg offset: 0x22}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hjubah}(h]h ]h"]h$]h&]uh1j hj ubj )}(h Bits [7:4] h]h)}(h Bits [7:4]h]h Bits [7:4]}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hj%ubah}(h]h ]h"]h$]h&]uh1j hj ubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK0hjubah}(h]h ]h"]h$]h&]uh1jIhjubeh}(h]h ]h"]h$]h&]uh1j3hhhK1hj0ubeh}(h]h ]h"]h$]h&]uh1j.hhubh)}(h"Color mask for all the above LEDs:h]h"Color mask for all the above LEDs:}(hjUhhhNhNubah}(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]:}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjcubh)}(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]j)}(hhh](j )}(h[0,0,0,0] = LED OFFh]h)}(hj~h]h[0,0,0,0] = LED OFF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj|ubah}(h]h ]h"]h$]h&]uh1j hjyubj )}(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&]uh1j hjyubj )}(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&]uh1j hjyubj )}(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&]uh1j hjyubj )}(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&]uh1j hjyubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhK8hjuubah}(h]h ]h"]h$]h&]uh1hhhhK8hjcubeh}(h]h ]h"]h$]h&]uh1hhhhK5hhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h ubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]j&j'uh1jhhhKphjubah}(h]h ]h"]h$]h&]uh1hhhhKphjubeh}(h]h ]h"]h$]h&]uh1jIhjubeh}(h]h ]h"]h$]h&]uh1j3hhhKshjubah}(h]h ]h"]h$]h&]uh1j.hjDubeh}(h]h ]h"]h$]h&]uh1hhhhKBhhhhubh)}(hDriver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle). For 3Hz duty cycle is about 167 msec, for 6Hz is about 83 msec.h]hDriver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle). For 3Hz duty cycle is about 167 msec, for 6Hz is about 83 msec.}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhhhhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubeh}(h]'kernel-driver-for-mellanox-systems-ledsah ]h"]'kernel driver for mellanox systems ledsah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehʌ _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j j j j u nametypes}(j j uh}(j hj hu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.