Kernel driver max16065

Supported chips:

Author: Guenter Roeck <linux@roeck-us.net>

Description

[From datasheets] The MAX16065/MAX16066 flash-configurable system managersmonitor and sequence multiple system voltages. The MAX16065/MAX16066 can alsoaccurately monitor (+/-2.5%) one current channel using a dedicated high-sidecurrent-sense amplifier. The MAX16065 manages up to twelve system voltagessimultaneously, and the MAX16066 manages up to eight supply voltages.

The MAX16067 flash-configurable system manager monitors and sequences multiplesystem voltages. The MAX16067 manages up to six system voltages simultaneously.

The MAX16068 flash-configurable system manager monitors and manages up to sixsystem voltages simultaneously.

The MAX16070/MAX16071 flash-configurable system monitors supervise multiplesystem voltages. The MAX16070/MAX16071 can also accurately monitor (+/-2.5%)one current channel using a dedicated high-side current-sense amplifier. TheMAX16070 monitors up to twelve system voltages simultaneously, and the MAX16071monitors up to eight supply voltages.

Each monitored channel has its own low and high critical limits. MAX16065,MAX16066, MAX16070, and MAX16071 support an additional limit which isconfigurable as either low or high secondary limit. MAX16065, MAX16066,MAX16070, and MAX16071 also support supply current monitoring.

Usage Notes

This driver does not probe for devices, since there is no register whichcan be safely used to identify the chip. You will have to instantiatethe devices explicitly. Please see Documentation/i2c/instantiating-devices.rst fordetails.

WARNING: Do not access chip registers using the i2cdump command, and do not useany of the i2ctools commands on a command register (0xa5 to 0xac). The chipssupported by this driver interpret any access to a command register (includingread commands) as request to execute the command in question. This may result inpower loss, board resets, and/or Flash corruption. Worst case, your board mayturn into a brick.

Sysfs entries

in[0-11]_inputInput voltage measurements.
in12_inputVoltage on CSP (Current Sense Positive) pin.Only if the chip supports current sensing and ifcurrent sensing is enabled.
in[0-11]_minLow warning limit.Supported on MAX16065, MAX16066, MAX16070, and MAX16071only.
in[0-11]_max

High warning limit.Supported on MAX16065, MAX16066, MAX16070, and MAX16071only.

Either low or high warning limits are supported(depending on chip configuration), but not both.

in[0-11]_lcritLow critical limit.
in[0-11]_critHigh critical limit.
in[0-11]_alarmInput voltage alarm.
curr1_inputCurrent sense input; only if the chip supports currentsensing and if current sensing is enabled.Displayed current assumes 0.001 Ohm current senseresistor.
curr1_alarmOvercurrent alarm; only if the chip supports currentsensing and if current sensing is enabled.