€•[0Œ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/hwmon/kbatt”Œ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/hwmon/kbatt”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/it_IT/hwmon/kbatt”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ja_JP/hwmon/kbatt”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ko_KR/hwmon/kbatt”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/pt_BR/hwmon/kbatt”Œ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/hwmon/kbatt”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ9/var/lib/git/docbuild/linux/Documentation/hwmon/kbatt.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒKernel driver kbatt”h]”hŒKernel driver kbatt”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒSupported chips:”h]”hŒSupported chips:”…””}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhŒ block_quote”“”)”}”(hŒJ* KEBA battery monitoring controller (IP core in FPGA) Prefix: 'kbatt' ”h]”hŒ bullet_list”“”)”}”(hhh]”hŒ list_item”“”)”}”(hŒFKEBA battery monitoring controller (IP core in FPGA) Prefix: 'kbatt' ”h]”(hÞ)”}”(hŒ4KEBA battery monitoring controller (IP core in FPGA)”h]”hŒ4KEBA battery monitoring controller (IP core in FPGA)”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhúubhÞ)”}”(hŒPrefix: 'kbatt'”h]”hŒPrefix: ‘kbatt’”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhúubeh}”(h]”h ]”h"]”h$]”h&]”uh1høhhõubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1hóh³hÇh´Khhïubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÇh´KhhÊh²hubhÞ)”}”(hŒAuthors:”h]”hŒAuthors:”…””}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhî)”}”(hŒ=Gerhard Engleder Petar Bojanic ”h]”hÞ)”}”(hŒ Petar Bojanic ”h]”(hŒGerhard Engleder <”…””}”(hj@h²hh³Nh´NubhŒ reference”“”)”}”(hŒ eg@keba.com”h]”hŒ eg@keba.com”…””}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:eg@keba.com”uh1jHhj@ubhŒ> Petar Bojanic <”…””}”(hj@h²hh³Nh´NubjI)”}”(hŒ boja@keba.com”h]”hŒ boja@keba.com”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:boja@keba.com”uh1jHhj@ubhŒ>”…””}”(hj@h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÇh´KhhÊh²hubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Description”h]”hŒ Description”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj~h²hh³hÇh´KubhÞ)”}”(hXThe KEBA battery monitoring controller is an IP core for FPGAs, which monitors the health of a coin cell battery. The coin cell battery is typically used to supply the RTC during power off to keep the current time. E.g., the CP500 FPGA includes this IP core to monitor the coin cell battery of PLCs and the corresponding cp500 driver creates an auxiliary device for the kbatt driver.”h]”hXThe KEBA battery monitoring controller is an IP core for FPGAs, which monitors the health of a coin cell battery. The coin cell battery is typically used to supply the RTC during power off to keep the current time. E.g., the CP500 FPGA includes this IP core to monitor the coin cell battery of PLCs and the corresponding cp500 driver creates an auxiliary device for the kbatt driver.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj~h²hubhÞ)”}”(hŒÁThis driver provides information about the coin cell battery health to user space. Actually the user space shall be informed that the coin cell battery is nearly empty and needs to be replaced.”h]”hŒÁThis driver provides information about the coin cell battery health to user space. Actually the user space shall be informed that the coin cell battery is nearly empty and needs to be replaced.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj~h²hubhÞ)”}”(hXüThe coin cell battery must be tested actively to get to know if its nearly empty or not. Therefore, a load is put on the coin cell battery and the resulting voltage is evaluated. This evaluation is done by some hard wired analog logic, which compares the voltage to a defined limit. If the voltage is above the limit, then the coin cell battery is assumed to be ok. If the voltage is below the limit, then the coin cell battery is nearly empty (or broken, removed, ...) and shall be replaced by a new one. The KEBA battery monitoring controller allows to start the test of the coin cell battery and to get the result if the voltage is above or below the limit. The actual voltage is not available. Only the information if the voltage is below a limit is available.”h]”hXüThe coin cell battery must be tested actively to get to know if its nearly empty or not. Therefore, a load is put on the coin cell battery and the resulting voltage is evaluated. This evaluation is done by some hard wired analog logic, which compares the voltage to a defined limit. If the voltage is above the limit, then the coin cell battery is assumed to be ok. If the voltage is below the limit, then the coin cell battery is nearly empty (or broken, removed, ...) and shall be replaced by a new one. The KEBA battery monitoring controller allows to start the test of the coin cell battery and to get the result if the voltage is above or below the limit. The actual voltage is not available. Only the information if the voltage is below a limit is available.”…””}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj~h²hubhÞ)”}”(hX.The test load, which is put on the coin cell battery for the health check, is similar to the load during power off. Therefore, the lifetime of the coin cell battery is reduced directly by the duration of each test. To limit the negative impact to the lifetime the test is limited to at most once every 10 seconds. The test load is put on the coin cell battery for 100ms. Thus, in worst case the coin cell battery lifetime is reduced by 1% of the uptime or 3.65 days per year. As the coin cell battery lasts multiple years, this lifetime reduction negligible.”h]”hX.The test load, which is put on the coin cell battery for the health check, is similar to the load during power off. Therefore, the lifetime of the coin cell battery is reduced directly by the duration of each test. To limit the negative impact to the lifetime the test is limited to at most once every 10 seconds. The test load is put on the coin cell battery for 100ms. Thus, in worst case the coin cell battery lifetime is reduced by 1% of the uptime or 3.65 days per year. As the coin cell battery lasts multiple years, this lifetime reduction negligible.”…””}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K+hj~h²hubhÞ)”}”(hŒoThis driver only provides a single alarm attribute, which is raised when the coin cell battery is nearly empty.”h]”hŒoThis driver only provides a single alarm attribute, which is raised when the coin cell battery is nearly empty.”…””}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K4hj~h²hubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jßhjÜubjà)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jßhjÜubjà)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K3uh1jßhjÜubhŒthead”“”)”}”(hhh]”hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hÞ)”}”(hŒ Attribute”h]”hŒ Attribute”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K8hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjubj )”}”(hhh]”hÞ)”}”(hŒR/W”h]”hŒR/W”…””}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K8hj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjubj )”}”(hhh]”hÞ)”}”(hŒContents”h]”hŒContents”…””}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K8hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÿhjÜubhŒtbody”“”)”}”(hhh]”j)”}”(hhh]”(j )”}”(hhh]”hÞ)”}”(hŒ in0_min_alarm”h]”hŒ in0_min_alarm”…””}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K:hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjaubj )”}”(hhh]”hÞ)”}”(hŒR”h]”hŒR”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K:hj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjaubj )”}”(hhh]”hÞ)”}”(hŒ6voltage of coin cell battery under load is below limit”h]”hŒ6voltage of coin cell battery under load is below limit”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K:hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjaubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j\hjÜubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jÚhj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÕhj~h²hh³hÇh´Nubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´Kubeh}”(h]”Œkernel-driver-kbatt”ah ]”h"]”Œkernel driver kbatt”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”j Œ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ÌjÇjÄuŒ nametypes”}”(jωjljuh}”(jÌhÊjÄj~uŒ 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.