diff options
author | Ira Snyder <iws@ovro.caltech.edu> | 2009-03-31 18:24:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:21 -0400 |
commit | 72f5de92e199f96cfcea125aefc76c138d8c553c (patch) | |
tree | ef24990f791801283f520b5f96a4ea1e592bf37b /drivers/hwmon/Kconfig | |
parent | 061603275814544842e7df77d1157eff18565997 (diff) |
hwmon: Add LTC4215 driver
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 <iws@ovro.caltech.edu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 8a91c9971558..bc6810c22dd7 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -571,6 +571,17 @@ config SENSORS_LM93 | |||
571 | This driver can also be built as a module. If so, the module | 571 | This driver can also be built as a module. If so, the module |
572 | will be called lm93. | 572 | will be called lm93. |
573 | 573 | ||
574 | config SENSORS_LTC4215 | ||
575 | tristate "Linear Technology LTC4215" | ||
576 | depends on I2C && EXPERIMENTAL | ||
577 | default n | ||
578 | help | ||
579 | If you say yes here you get support for Linear Technology LTC4215 | ||
580 | Hot Swap Controller I2C interface. | ||
581 | |||
582 | This driver can also be built as a module. If so, the module will | ||
583 | be called ltc4215. | ||
584 | |||
574 | config SENSORS_LTC4245 | 585 | config SENSORS_LTC4245 |
575 | tristate "Linear Technology LTC4245" | 586 | tristate "Linear Technology LTC4245" |
576 | depends on I2C && EXPERIMENTAL | 587 | depends on I2C && EXPERIMENTAL |