€•Ÿ>Œ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/g762”Œ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/g762”Œ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/g762”Œ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/g762”Œ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/g762”Œ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/g762”Œ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/g762”Œ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 g762”h]”hŒKernel driver g762”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ8/var/lib/git/docbuild/linux/Documentation/hwmon/g762.rst”h´KubhŒ paragraph”“”)”}”(hŒ¹The GMT G762 Fan Speed PWM Controller is connected directly to a fan and performs closed-loop or open-loop control of the fan speed. Two modes - PWM or DC - are supported by the device.”h]”hŒ¹The GMT G762 Fan Speed PWM Controller is connected directly to a fan and performs closed-loop or open-loop control of the fan speed. Two modes - PWM or DC - are supported by the device.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒÅFor additional information, a detailed datasheet is available at http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs bindings are described in Documentation/hwmon/sysfs-interface.rst.”h]”(hŒAFor additional information, a detailed datasheet is available at ”…””}”(hhÛh²hh³Nh´NubhŒ reference”“”)”}”(hŒ:http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf”h]”hŒ:http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf”…””}”(hhåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”hçuh1hãhhÛubhŒJ. sysfs bindings are described in Documentation/hwmon/sysfs-interface.rst.”…””}”(hhÛh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒøThe following entries are available to the user in a subdirectory of /sys/bus/i2c/drivers/g762/ to control the operation of the device. This can be done manually using the following entries but is usually done via a userland daemon like fancontrol.”h]”hŒøThe following entries are available to the user in a subdirectory of /sys/bus/i2c/drivers/g762/ to control the operation of the device. This can be done manually using the following entries but is usually done via a userland daemon like fancontrol.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)”}”(hX€Note that those entries do not provide ways to setup the specific hardware characteristics of the system (reference clock, pulses per fan revolution, ...); Those can be modified via devicetree bindings documented in Documentation/devicetree/bindings/hwmon/gmt,g762.yaml or using a specific platform_data structure in board initialization file (see include/linux/platform_data/g762.h).”h]”hX€Note that those entries do not provide ways to setup the specific hardware characteristics of the system (reference clock, pulses per fan revolution, ...); Those can be modified via devicetree bindings documented in Documentation/devicetree/bindings/hwmon/gmt,g762.yaml or using a specific platform_data structure in board initialization file (see include/linux/platform_data/g762.h).”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)”}”(hXáfan1_target: set desired fan speed. This only makes sense in closed-loop fan speed control (i.e. when pwm1_enable is set to 2). fan1_input: provide current fan rotation value in RPM as reported by the fan to the device. fan1_div: fan clock divisor. Supported value are 1, 2, 4 and 8. fan1_pulses: number of pulses per fan revolution. Supported values are 2 and 4. fan1_fault: reports fan failure, i.e. no transition on fan gear pin for about 0.7s (if the fan is not voluntarily set off). fan1_alarm: in closed-loop control mode, if fan RPM value is 25% out of the programmed value for over 6 seconds 'fan1_alarm' is set to 1. pwm1_enable: set current fan speed control mode i.e. 1 for manual fan speed control (open-loop) via pwm1 described below, 2 for automatic fan speed control (closed-loop) via fan1_target above. pwm1_mode: set or get fan driving mode: 1 for PWM mode, 0 for DC mode. pwm1: get or set PWM fan control value in open-loop mode. This is an integer value between 0 and 255. 0 stops the fan, 255 makes it run at full speed. ”h]”hŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ€fan1_target: set desired fan speed. This only makes sense in closed-loop fan speed control (i.e. when pwm1_enable is set to 2). ”h]”(hŒterm”“”)”}”(hŒ fan1_target:”h]”hŒ fan1_target:”…””}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´Khj'ubhŒ definition”“”)”}”(hhh]”hÌ)”}”(hŒrset desired fan speed. This only makes sense in closed-loop fan speed control (i.e. when pwm1_enable is set to 2).”h]”hŒrset desired fan speed. This only makes sense in closed-loop fan speed control (i.e. when pwm1_enable is set to 2).”…””}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´Khj"ubj&)”}”(hŒ\fan1_input: provide current fan rotation value in RPM as reported by the fan to the device. ”h]”(j,)”}”(hŒ fan1_input:”h]”hŒ fan1_input:”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´KhjZubj<)”}”(hhh]”hÌ)”}”(hŒOprovide current fan rotation value in RPM as reported by the fan to the device.”h]”hŒOprovide current fan rotation value in RPM as reported by the fan to the device.”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjlubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjZubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´Khj"ubj&)”}”(hŒ@fan1_div: fan clock divisor. Supported value are 1, 2, 4 and 8. ”h]”(j,)”}”(hŒ fan1_div:”h]”hŒ fan1_div:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K!hj‰ubj<)”}”(hhh]”hÌ)”}”(hŒ5fan clock divisor. Supported value are 1, 2, 4 and 8.”h]”hŒ5fan clock divisor. Supported value are 1, 2, 4 and 8.”…””}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K!hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K!hj"ubj&)”}”(hŒPfan1_pulses: number of pulses per fan revolution. Supported values are 2 and 4. ”h]”(j,)”}”(hŒ fan1_pulses:”h]”hŒ fan1_pulses:”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K%hj¸ubj<)”}”(hhh]”hÌ)”}”(hŒBnumber of pulses per fan revolution. Supported values are 2 and 4.”h]”hŒBnumber of pulses per fan revolution. Supported values are 2 and 4.”…””}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K$hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K%hj"ubj&)”}”(hŒ|fan1_fault: reports fan failure, i.e. no transition on fan gear pin for about 0.7s (if the fan is not voluntarily set off). ”h]”(j,)”}”(hŒ fan1_fault:”h]”hŒ fan1_fault:”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K)hjçubj<)”}”(hhh]”hÌ)”}”(hŒoreports fan failure, i.e. no transition on fan gear pin for about 0.7s (if the fan is not voluntarily set off).”h]”hŒoreports fan failure, i.e. no transition on fan gear pin for about 0.7s (if the fan is not voluntarily set off).”…””}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K(hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjçubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K)hj"ubj&)”}”(hŒŠfan1_alarm: in closed-loop control mode, if fan RPM value is 25% out of the programmed value for over 6 seconds 'fan1_alarm' is set to 1. ”h]”(j,)”}”(hŒ fan1_alarm:”h]”hŒ fan1_alarm:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K.hjubj<)”}”(hhh]”hÌ)”}”(hŒ}in closed-loop control mode, if fan RPM value is 25% out of the programmed value for over 6 seconds 'fan1_alarm' is set to 1.”h]”hŒin closed-loop control mode, if fan RPM value is 25% out of the programmed value for over 6 seconds ‘fan1_alarm’ is set to 1.”…””}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K,hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K.hj"ubj&)”}”(hŒÁpwm1_enable: set current fan speed control mode i.e. 1 for manual fan speed control (open-loop) via pwm1 described below, 2 for automatic fan speed control (closed-loop) via fan1_target above. ”h]”(j,)”}”(hŒ pwm1_enable:”h]”hŒ pwm1_enable:”…””}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K4hjEubj<)”}”(hhh]”hÌ)”}”(hŒ³set current fan speed control mode i.e. 1 for manual fan speed control (open-loop) via pwm1 described below, 2 for automatic fan speed control (closed-loop) via fan1_target above.”h]”hŒ³set current fan speed control mode i.e. 1 for manual fan speed control (open-loop) via pwm1 described below, 2 for automatic fan speed control (closed-loop) via fan1_target above.”…””}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K1hjWubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K4hj"ubj&)”}”(hŒGpwm1_mode: set or get fan driving mode: 1 for PWM mode, 0 for DC mode. ”h]”(j,)”}”(hŒ pwm1_mode:”h]”hŒ pwm1_mode:”…””}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´K7hjtubj<)”}”(hhh]”hÌ)”}”(hŒ;set or get fan driving mode: 1 for PWM mode, 0 for DC mode.”h]”hŒ;set or get fan driving mode: 1 for PWM mode, 0 for DC mode.”…””}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K7hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjtubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´K7hj"ubj&)”}”(hŒ—pwm1: get or set PWM fan control value in open-loop mode. This is an integer value between 0 and 255. 0 stops the fan, 255 makes it run at full speed. ”h]”(j,)”}”(hŒpwm1:”h]”hŒpwm1:”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´Khh·h²hubhÌ)”}”(hŒDNote that the driver will update its values at most once per second.”h]”hŒDNote that the driver will update its values at most once per second.”…””}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KJhh·h²hubeh}”(h]”Œkernel-driver-g762”ah ]”h"]”Œkernel driver g762”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üsŒ nametypes”}”jÿ‰sh}”jüh·sŒ 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.