Ssphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/hwmon/tsc1641modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/hwmon/tsc1641modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/hwmon/tsc1641modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/hwmon/tsc1641modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/hwmon/tsc1641modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/hwmon/tsc1641modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h%SPDX-License-Identifier: GPL-2.0-onlyh]h%SPDX-License-Identifier: GPL-2.0-only}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh;/var/lib/git/docbuild/linux/Documentation/hwmon/tsc1641.rsthKubhsection)}(hhh](htitle)}(hKernel driver tsc1641h]hKernel driver tsc1641}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hSupported chips:h]hSupported chips:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(h* ST TSC1641 Prefix: 'tsc1641' Addresses scanned: - Datasheet: https://www.st.com/resource/en/datasheet/tsc1641.pdf h]h bullet_list)}(hhh]h list_item)}(hyST TSC1641 Prefix: 'tsc1641' Addresses scanned: - Datasheet: https://www.st.com/resource/en/datasheet/tsc1641.pdf h](h)}(h ST TSC1641h]h ST TSC1641}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(hPrefix: 'tsc1641'h]hPrefix: ‘tsc1641’}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(hAddresses scanned: -h]hAddresses scanned: -}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubhdefinition_list)}(hhh]hdefinition_list_item)}(h@Datasheet: https://www.st.com/resource/en/datasheet/tsc1641.pdf h](hterm)}(h Datasheet:h]h Datasheet:}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h4https://www.st.com/resource/en/datasheet/tsc1641.pdfh]h reference)}(hj6h]h4https://www.st.com/resource/en/datasheet/tsc1641.pdf}(hj:hhhNhNubah}(h]h ]h"]h$]h&]refurij6uh1j8hj4ubah}(h]h ]h"]h$]h&]uh1hhhhKhj1ubah}(h]h ]h"]h$]h&]uh1j/hjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhubeh}(h]h ]h"]h$]h&]uh1hhhubah}(h]h ]h"]h$]h&]bullet*uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubj)}(hhh]j)}(h3Author: - Igor Reznichenko h](j )}(hAuthor:h]hAuthor:}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjwubj0)}(hhh]h)}(hhh]h)}(h)Igor Reznichenko h]h)}(h'Igor Reznichenko h](hIgor Reznichenko <}(hjhhhNhNubj9)}(higor@reznichenko.neth]higor@reznichenko.net}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:igor@reznichenko.netuh1j8hjubh>}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]jl-uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j/hjwubeh}(h]h ]h"]h$]h&]uh1jhhhKhjtubah}(h]h ]h"]h$]h&]uh1jhhhhhNhNubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXdThe TSC1641 is a high-precision current, voltage, power, and temperature monitoring analog front-end (AFE). It monitors bidirectional current into a shunt resistor and load voltage up to 60 V in a synchronized way. Digital bus interface is I2C/SMbus. The TSC1641 allows the assertion of several alerts regarding the voltage, current, power and temperature.h]hXdThe TSC1641 is a high-precision current, voltage, power, and temperature monitoring analog front-end (AFE). It monitors bidirectional current into a shunt resistor and load voltage up to 60 V in a synchronized way. Digital bus interface is I2C/SMbus. The TSC1641 allows the assertion of several alerts regarding the voltage, current, power and temperature.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Usage Notesh]h Usage Notes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXThe TSC1641 driver requires the value of the external shunt resistor to correctly compute current and power measurements. The resistor value, in micro-ohms, should be provided either through the device tree property "shunt-resistor-micro-ohms" or via writable sysfs attribute "shunt_resistor". Please refer to the Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml for bindings if the device tree is used.h]hXThe TSC1641 driver requires the value of the external shunt resistor to correctly compute current and power measurements. The resistor value, in micro-ohms, should be provided either through the device tree property “shunt-resistor-micro-ohms” or via writable sysfs attribute “shunt_resistor”. Please refer to the Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml for bindings if the device tree is used.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjhhubh)}(hSupported range of shunt resistor values is from 100 uOhm to 655.35 mOhm, in 10 uOhm steps. When selecting the value keep in mind device maximum DC power measurement is 1600W. See datasheet p.22 for ST recommendations on selecting shunt value.h]hSupported range of shunt resistor values is from 100 uOhm to 655.35 mOhm, in 10 uOhm steps. When selecting the value keep in mind device maximum DC power measurement is 1600W. See datasheet p.22 for ST recommendations on selecting shunt value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hjhhubh)}(hIf the shunt resistor value is not specified in the device tree, the driver initializes it to 1000 uOhm by default. Users may configure the correct shunt resistor value at runtime by writing to the "shunt_resistor" sysfs attribute.h]hIf the shunt resistor value is not specified in the device tree, the driver initializes it to 1000 uOhm by default. Users may configure the correct shunt resistor value at runtime by writing to the “shunt_resistor” sysfs attribute.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjhhubh)}(hGThe driver only supports continuous operating mode. Measurement ranges:h]hGThe driver only supports continuous operating mode. Measurement ranges:}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jNhjKubjO)}(hhh]h}(h]h ]h"]h$]h&]colwidthK?uh1jNhjKubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(hCurrenth]hCurrent}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjpubah}(h]h ]h"]h$]h&]uh1jnhjkubjo)}(hhh]h)}(h!Bidirectional, dependent on shunth]h!Bidirectional, dependent on shunt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjubah}(h]h ]h"]h$]h&]uh1jnhjkubeh}(h]h ]h"]h$]h&]uh1jihjfubjj)}(hhh](jo)}(hhh]h)}(h Bus voltageh]h Bus voltage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jnhjubjo)}(hhh]h)}(h0-60Vh]h0-60V}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jnhjubeh}(h]h ]h"]h$]h&]uh1jihjfubjj)}(hhh](jo)}(hhh]h)}(hMaximum DC powerh]hMaximum DC power}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hjubah}(h]h ]h"]h$]h&]uh1jnhjubjo)}(hhh]h)}(h1600Wh]h1600W}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hjubah}(h]h ]h"]h$]h&]uh1jnhjubeh}(h]h ]h"]h$]h&]uh1jihjfubjj)}(hhh](jo)}(hhh]h)}(h Temperatureh]h Temperature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubah}(h]h ]h"]h$]h&]uh1jnhjubjo)}(hhh]h)}(h -40C to +125Ch]h -40C to +125C}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj,ubah}(h]h ]h"]h$]h&]uh1jnhjubeh}(h]h ]h"]h$]h&]uh1jihjfubeh}(h]h ]h"]h$]h&]uh1jdhjKubeh}(h]h ]h"]h$]h&]colsKuh1jIhjFubah}(h]h ]h"]h$]h&]uh1jDhjhhhhhNubeh}(h] usage-notesah ]h"] usage notesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Sysfs entriesh]h Sysfs entries}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhhhhhK