€•KCŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ$/translations/zh_CN/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/zh_TW/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/it_IT/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/ja_JP/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/ko_KR/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/sp_SP/leds/leds-lm3556”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒKernel driver for lm3556”h]”hŒKernel driver for lm3556”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒ>/var/lib/git/docbuild/linux/Documentation/leds/leds-lm3556.rst”h KubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒVTexas Instrument: 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source”h]”hŒ paragraph”“”)”}”(hŒVTexas Instrument: 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source”h]”hŒVTexas Instrument: 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source”…””}”(hhÄhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h Khh¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1h¼hh¹hžhhŸh¶h Nubh½)”}”(hŒ4Datasheet: http://www.national.com/ds/LM/LM3556.pdf ”h]”hÃ)”}”(hŒ3Datasheet: http://www.national.com/ds/LM/LM3556.pdf”h]”(hŒ Datasheet: ”…””}”(hhÜhžhhŸNh NubhŒ reference”“”)”}”(hŒ(http://www.national.com/ds/LM/LM3556.pdf”h]”hŒ(http://www.national.com/ds/LM/LM3556.pdf”…””}”(hhæhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”hèuh1hähhÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KhhØubah}”(h]”h ]”h"]”h$]”h&]”uh1h¼hh¹hžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1h·hŸh¶h Khh£hžhubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒcAuthors: - Daniel Jeong Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) ”h]”(hŒterm”“”)”}”(hŒAuthors:”h]”hŒAuthors:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K hjubhŒ definition”“”)”}”(hhh]”h¸)”}”(hhh]”h½)”}”(hŒVDaniel Jeong Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) ”h]”(hÃ)”}”(hŒ Daniel Jeong”h]”hŒ Daniel Jeong”…””}”(hj0hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K hj,ubhÃ)”}”(hŒGContact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)”h]”hŒGContact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)”…””}”(hj>hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K hj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1h¼hj)ubah}”(h]”h ]”h"]”h$]”h&]”jŒ-”uh1h·hŸh¶h K hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hh£hžhhŸNh Nubh¢)”}”(hhh]”(h§)”}”(hŒ Description”h]”hŒ Description”…””}”(hjnhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjkhžhhŸh¶h KubhÃ)”}”(hŒ /sys/class/leds/flash/brightness”h]”hŒ*#echo 0 > /sys/class/leds/flash/brightness”…””}”hjösbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jôhŸh¶h K#hjŠhžhubhÃ)”}”(hŒ 93.75 mA::”h]”hŒ 93.75 mA:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K%hjŠhžhubjõ)”}”(hŒ*#echo 1 > /sys/class/leds/flash/brightness”h]”hŒ*#echo 1 > /sys/class/leds/flash/brightness”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h K'hjŠhžhubhÃ)”}”(hŒ...”h]”hŒ...”…””}”(hj"hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K)hjŠhžhubhÃ)”}”(hŒ 1500 mA::”h]”hŒ 1500 mA:”…””}”(hj0hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K+hjŠhžhubjõ)”}”(hŒ+#echo 16 > /sys/class/leds/flash/brightness”h]”hŒ+#echo 16 > /sys/class/leds/flash/brightness”…””}”hj>sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h K-hjŠhžhubeh}”(h]”Œ flash-mode”ah ]”h"]”Œ flash mode”ah$]”h&]”uh1h¡hjkhžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒ Torch Mode”h]”hŒ Torch Mode”…””}”(hjWhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjThžhhŸh¶h K0ubhÃ)”}”(hŒ°In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the hardware TORCH input.”h]”hŒ°In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the hardware TORCH input.”…””}”(hjehžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K2hjThžhubhÃ)”}”(hŒ½LM3556 torch can be controlled through /sys/class/leds/torch/brightness file. * if TORCH pin is enabled, below example control brightness only, and ON / OFF will be controlled by TORCH pin.”h]”hŒ½LM3556 torch can be controlled through /sys/class/leds/torch/brightness file. * if TORCH pin is enabled, below example control brightness only, and ON / OFF will be controlled by TORCH pin.”…””}”(hjshžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K6hjThžhubhÃ)”}”(hŒTorch Example:”h]”hŒTorch Example:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K:hjThžhubhÃ)”}”(hŒOFF::”h]”hŒOFF:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K /sys/class/leds/torch/brightness”h]”hŒ*#echo 0 > /sys/class/leds/torch/brightness”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h K>hjThžhubhÃ)”}”(hŒ 46.88 mA::”h]”hŒ 46.88 mA:”…””}”(hj«hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K@hjThžhubjõ)”}”(hŒ*#echo 1 > /sys/class/leds/torch/brightness”h]”hŒ*#echo 1 > /sys/class/leds/torch/brightness”…””}”hj¹sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h KBhjThžhubhÃ)”}”(hŒ...”h]”hŒ...”…””}”(hjÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KDhjThžhubhÃ)”}”(hŒ375 mA::”h]”hŒ375 mA:”…””}”(hjÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KFhjThžhubjõ)”}”(hŒ*#echo 8 > /sys/class/leds/torch/brightness”h]”hŒ*#echo 8 > /sys/class/leds/torch/brightness”…””}”hjãsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h KHhjThžhubeh}”(h]”Œ torch-mode”ah ]”h"]”Œ torch mode”ah$]”h&]”uh1h¡hjkhžhhŸh¶h K0ubh¢)”}”(hhh]”(h§)”}”(hŒIndicator Mode”h]”hŒIndicator Mode”…””}”(hjühžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjùhžhhŸh¶h KKubhÃ)”}”(hŒ‡Indicator pattern can be set through /sys/class/leds/indicator/pattern file, and 4 patterns are pre-defined in indicator_pattern array.”h]”hŒ‡Indicator pattern can be set through /sys/class/leds/indicator/pattern file, and 4 patterns are pre-defined in indicator_pattern array.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KMhjùhžhubhÃ)”}”(hŒÓAccording to N-lank, Pulse time and N Period values, different pattern wiill be generated.If you want new patterns for your own device, change indicator_pattern array with your own values and INDIC_PATTERN_SIZE.”h]”hŒÓAccording to N-lank, Pulse time and N Period values, different pattern wiill be generated.If you want new patterns for your own device, change indicator_pattern array with your own values and INDIC_PATTERN_SIZE.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KPhjùhžhubhÃ)”}”(hŒNPlease refer datasheet for more detail about N-Blank, Pulse time and N Period.”h]”hŒNPlease refer datasheet for more detail about N-Blank, Pulse time and N Period.”…””}”(hj&hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KThjùhžhubhÃ)”}”(hŒIndicator pattern example:”h]”hŒIndicator pattern example:”…””}”(hj4hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KVhjùhžhubhÃ)”}”(hŒ pattern 0::”h]”hŒ pattern 0:”…””}”(hjBhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KXhjùhžhubjõ)”}”(hŒ+#echo 0 > /sys/class/leds/indicator/pattern”h]”hŒ+#echo 0 > /sys/class/leds/indicator/pattern”…””}”hjPsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h KZhjùhžhubhÃ)”}”(hŒ...”h]”hŒ...”…””}”(hj^hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K\hjùhžhubhÃ)”}”(hŒ pattern 3::”h]”hŒ pattern 3:”…””}”(hjlhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K^hjùhžhubjõ)”}”(hŒ+#echo 3 > /sys/class/leds/indicator/pattern”h]”hŒ+#echo 3 > /sys/class/leds/indicator/pattern”…””}”hjzsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h K`hjùhžhubhÃ)”}”(hŒXIndicator brightness can be controlled through sys/class/leds/indicator/brightness file.”h]”hŒXIndicator brightness can be controlled through sys/class/leds/indicator/brightness file.”…””}”(hjˆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KbhjùhžhubhÃ)”}”(hŒExample:”h]”hŒExample:”…””}”(hj–hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KehjùhžhubhÃ)”}”(hŒOFF::”h]”hŒOFF:”…””}”(hj¤hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h Kghjùhžhubjõ)”}”(hŒ.#echo 0 > /sys/class/leds/indicator/brightness”h]”hŒ.#echo 0 > /sys/class/leds/indicator/brightness”…””}”hj²sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h KihjùhžhubhÃ)”}”(hŒ 5.86 mA::”h]”hŒ5.86 mA:”…””}”(hjÀhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h Kkhjùhžhubjõ)”}”(hŒ.#echo 1 > /sys/class/leds/indicator/brightness”h]”hŒ.#echo 1 > /sys/class/leds/indicator/brightness”…””}”hjÎsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h KmhjùhžhubhÃ)”}”(hŒ...”h]”hŒ...”…””}”(hjÜhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KohjùhžhubhÃ)”}”(hŒ 46.875mA::”h]”hŒ 46.875mA:”…””}”(hjêhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h Kqhjùhžhubjõ)”}”(hŒ.#echo 8 > /sys/class/leds/indicator/brightness”h]”hŒ.#echo 8 > /sys/class/leds/indicator/brightness”…””}”hjøsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h Kshjùhžhubeh}”(h]”Œindicator-mode”ah ]”h"]”Œindicator mode”ah$]”h&]”uh1h¡hjkhžhhŸh¶h KKubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒNotes”h]”hŒNotes”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjhžhhŸh¶h KvubhÃ)”}”(hŒâDriver expects it is registered using the i2c_board_info mechanism. To register the chip at address 0x63 on specific adapter, set the platform data according to include/linux/platform_data/leds-lm3556.h, set the i2c board info”h]”hŒâDriver expects it is registered using the i2c_board_info mechanism. To register the chip at address 0x63 on specific adapter, set the platform data according to include/linux/platform_data/leds-lm3556.h, set the i2c board info”…””}”(hj'hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h KwhjhžhubhÃ)”}”(hŒ Example::”h]”hŒExample:”…””}”(hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K{hjhžhubjõ)”}”(hŒ¹static struct i2c_board_info board_i2c_ch4[] __initdata = { { I2C_BOARD_INFO(LM3556_NAME, 0x63), .platform_data = &lm3556_pdata, }, };”h]”hŒ¹static struct i2c_board_info board_i2c_ch4[] __initdata = { { I2C_BOARD_INFO(LM3556_NAME, 0x63), .platform_data = &lm3556_pdata, }, };”…””}”hjCsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h K}hjhžhubhÃ)”}”(hŒ-and register it in the platform init function”h]”hŒ-and register it in the platform init function”…””}”(hjQhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K„hjhžhubhÃ)”}”(hŒ Example::”h]”hŒExample:”…””}”(hj_hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÂhŸh¶h K†hjhžhubjõ)”}”(hŒaboard_register_i2c_bus(4, 400, board_i2c_ch4, ARRAY_SIZE(board_i2c_ch4));”h]”hŒaboard_register_i2c_bus(4, 400, board_i2c_ch4, ARRAY_SIZE(board_i2c_ch4));”…””}”hjmsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jôhŸh¶h Kˆhjhžhubeh}”(h]”Œnotes”ah ]”h"]”Œnotes”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kvubeh}”(h]”Œkernel-driver-for-lm3556”ah ]”h"]”Œkernel driver for lm3556”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j®Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jˆj…jjjQjNjöjój jj€j}uŒ nametypes”}”(jˆ‰j‰jQ‰jö‰j ‰j€‰uh}”(j…h£jjkjNjŠjójTjjùj}juŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.