€•È=Œ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Œ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/g762.txt 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/g762.txt or using a specific platform_data structure in board initialization file (see include/linux/platform_data/g762.h).”…””}”(hhø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:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h KhjubhŒ 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'hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khjubj)”}”(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:”…””}”(hjJhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h KhjFubj()”}”(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.”…””}”(hj[hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khjubj)”}”(hŒ@fan1_div: fan clock divisor. Supported value are 1, 2, 4 and 8. ”h]”(j)”}”(hŒ fan1_div:”h]”hŒ fan1_div:”…””}”(hjyhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K!hjuubj()”}”(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'hjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K!hjubj)”}”(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&]”uh1jhŸ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&]”uh1jhŸh¶h K%hjubj)”}”(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&]”uh1jhŸ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&]”uh1jhŸh¶h K)hjubj)”}”(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&]”uh1jhŸ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.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K,hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K.hjubj)”}”(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:”…””}”(hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K4hj1ubj()”}”(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.”…””}”(hjFhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K1hjCubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hj1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K4hjubj)”}”(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:”…””}”(hjdhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K7hj`ubj()”}”(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.”…””}”(hjuhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K7hjrubah}”(h]”h ]”h"]”h$]”h&]”uh1j'hj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K7hjubj)”}”(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&]”uh1jhŸ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.