summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>2014-03-07 06:33:39 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-03-23 23:48:22 +0100
commit0de7f8a917b5202014430e0055c0e1db0348bd62 (patch)
treed869834afb6fa7c776e6e68030330bbe5c3c345d /drivers/hwmon/Kconfig
parentpowerpc/powernv: Enable fetching of platform sensor data (diff)
downloadlinux-0de7f8a917b5202014430e0055c0e1db0348bd62.tar.xz
linux-0de7f8a917b5202014430e0055c0e1db0348bd62.zip
powerpc/powernv: hwmon driver for power values, fan rpm and temperature
This patch adds basic kernel enablement for reading power values, fan speed rpm and temperature values on powernv platforms which will be exported to user space through sysfs interface. Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com> Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 5ce43d8dfa98..ad4cdcbc618b 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -557,6 +557,14 @@ config SENSORS_IBMPEX
This driver can also be built as a module. If so, the module
will be called ibmpex.
+config SENSORS_IBMPOWERNV
+ tristate "IBM PowerNv Platform temperature/power/fan sensor"
+ depends on PPC_POWERNV
+ default y
+ help
+ If you say yes here you get support for the temperature/fan/power
+ sensors on your platform.
+
config SENSORS_IIO_HWMON
tristate "Hwmon driver that uses channels specified via iio maps"
depends on IIO