mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 20:24:29 +07:00
2d2a7cff1b
There is no point in implementing a detect callback for the LTC4215 and LTC4245, as these devices can't be detected. It was there solely to handle "force" module parameters to instantiate devices, but now we have a better sysfs interface that can do the same. So we can get rid of the ugly module parameters and the detect callbacks. This shrinks the binary module sizes by 36% and 46%, respectively. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Ira W. Snyder <iws@ovro.caltech.edu>
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
Kernel driver ltc4215
|
|
=====================
|
|
|
|
Supported chips:
|
|
* Linear Technology LTC4215
|
|
Prefix: 'ltc4215'
|
|
Addresses scanned: 0x44
|
|
Datasheet:
|
|
http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1163,P17572,D12697
|
|
|
|
Author: Ira W. Snyder <iws@ovro.caltech.edu>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
The LTC4215 controller allows a board to be safely inserted and removed
|
|
from a live backplane.
|
|
|
|
|
|
Usage Notes
|
|
-----------
|
|
|
|
This driver does not probe for LTC4215 devices, due to the fact that some
|
|
of the possible addresses are unfriendly to probing. You will have to
|
|
instantiate the devices explicitly.
|
|
|
|
Example: the following will load the driver for an LTC4215 at address 0x44
|
|
on I2C bus #0:
|
|
$ modprobe ltc4215
|
|
$ echo ltc4215 0x44 > /sys/bus/i2c/devices/i2c-0/new_device
|
|
|
|
|
|
Sysfs entries
|
|
-------------
|
|
|
|
The LTC4215 has built-in limits for overvoltage, undervoltage, and
|
|
undercurrent warnings. This makes it very likely that the reference
|
|
circuit will be used.
|
|
|
|
in1_input input voltage
|
|
in2_input output voltage
|
|
|
|
in1_min_alarm input undervoltage alarm
|
|
in1_max_alarm input overvoltage alarm
|
|
|
|
curr1_input current
|
|
curr1_max_alarm overcurrent alarm
|
|
|
|
power1_input power usage
|
|
power1_alarm power bad alarm
|