ina2xx.rst (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) ina2xx.rst (5a56a39be7ffb416dd5ec5e1489d5a3a8b6a63f2)
1Kernel driver ina2xx
2====================
3
4Supported chips:
5
6 * Texas Instruments INA219
7
8

--- 85 unchanged lines hidden (view full) ---

94power1_input Power(uW) measurement channel
95shunt_resistor Shunt resistance(uOhm) channel
96======================= ===============================
97
98Sysfs entries for ina226, ina230 and ina231 only
99------------------------------------------------
100
101======================= ====================================================
1Kernel driver ina2xx
2====================
3
4Supported chips:
5
6 * Texas Instruments INA219
7
8

--- 85 unchanged lines hidden (view full) ---

94power1_input Power(uW) measurement channel
95shunt_resistor Shunt resistance(uOhm) channel
96======================= ===============================
97
98Sysfs entries for ina226, ina230 and ina231 only
99------------------------------------------------
100
101======================= ====================================================
102in0_lcrit Critical low shunt voltage
103in0_crit Critical high shunt voltage
104in0_lcrit_alarm Shunt voltage critical low alarm
105in0_crit_alarm Shunt voltage critical high alarm
106in1_lcrit Critical low bus voltage
107in1_crit Critical high bus voltage
108in1_lcrit_alarm Bus voltage critical low alarm
109in1_crit_alarm Bus voltage critical high alarm
110power1_crit Critical high power
111power1_crit_alarm Power critical high alarm
102update_interval data conversion time; affects number of samples used
103 to average results for shunt and bus voltages.
104======================= ====================================================
112update_interval data conversion time; affects number of samples used
113 to average results for shunt and bus voltages.
114======================= ====================================================
115
116.. note::
117
118 - Configure `shunt_resistor` before configure `power1_crit`, because power
119 value is calculated based on `shunt_resistor` set.
120 - Because of the underlying register implementation, only one `*crit` setting
121 and its `alarm` can be active. Writing to one `*crit` setting clears other
122 `*crit` settings and alarms. Writing 0 to any `*crit` setting clears all
123 `*crit` settings and alarms.