05 Oct, 2009

1 commit

  • 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
    Cc: Ira W. Snyder

    Jean Delvare
     

01 Apr, 2009

1 commit

  • 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: Ira W. Snyder
    Cc: Jean Delvare
    Cc: "Mark M. Hoffman"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ira Snyder