• Ira Snyder's avatar
    hwmon: Add LTC4215 driver · 72f5de92
    Ira Snyder authored
    Add Linux support for the Linear Technology LTC4215 Hot Swap controller
    I2C monitoring interface.
    
    I have tested the driver with my board, and it appears to work fine.  With
    the power supplies disabled, it reads 11.93V input, 1.93V output, no
    current and no power.  With the supplies enabled, it reads 11.93V input,
    11.98V output, no current, no power.  I'm not drawing any current at the
    moment, so this is reasonable.  The value in the sense register never
    reads anything except 0, so I expect to get zero from the current and
    power calculations.
    
    I didn't attempt to support changing any of the chip's settings or
    enabling the FET.  I'm not sure even how to do that and still fit within
    the hwmon framework.  :)
    Signed-off-by: default avatarIra W. Snyder <iws@ovro.caltech.edu>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    72f5de92
Kconfig 30 KB