€•/Œ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Œ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’”…””}”(hhø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:”…””}”(hjhž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”…””}”(hj6hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:eg@keba.com”uh1j4hj,ubhŒ> Petar Bojanic <”…””}”(hj,hžhhŸNh Nubj5)”}”(hŒ boja@keba.com”h]”hŒ boja@keba.com”…””}”(hjJhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:boja@keba.com”uh1j4hj,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”…””}”(hjmhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjjhž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.”…””}”(hj{hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjjhž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.”…””}”(hj‰hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjjhž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 Khjjhž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+hjjhž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 K4hjjhž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”…””}”(hjúhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K8hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjòubjö)”}”(hhh]”hÊ)”}”(hŒR/W”h]”hŒR/W”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K8hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjòubjö)”}”(hhh]”hÊ)”}”(hŒContents”h]”hŒContents”…””}”(hj(hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K8hj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjòubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíubah}”(h]”h ]”h"]”h$]”h&]”uh1jëhjÈubhŒtbody”“”)”}”(hhh]”jñ)”}”(hhh]”(jö)”}”(hhh]”hÊ)”}”(hŒ in0_min_alarm”h]”hŒ in0_min_alarm”…””}”(hjShžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K:hjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjMubjö)”}”(hhh]”hÊ)”}”(hŒR”h]”hŒR”…””}”(hjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K:hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjMubjö)”}”(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”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K:hj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jõhjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jHhjÈubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jÆhjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁhjjhž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»‰j³‰uh}”(j¸h¶j°jjuŒ 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.