summaryrefslogtreecommitdiffstats
path: root/drivers/platform/mips/Kconfig
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2015-03-29 10:54:09 +0800
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:22:17 +0200
commit64f09aa967e1a6effdffcbf14c912ec5f9e3715e (patch)
tree3c776ec46700b0de7bcbcb38dd2d3f2a0d3726c7 /drivers/platform/mips/Kconfig
parentf14ceff75545f9a1e62430fe9cc796208569b972 (diff)
downloadlinux-stable-64f09aa967e1a6effdffcbf14c912ec5f9e3715e.tar.gz
linux-stable-64f09aa967e1a6effdffcbf14c912ec5f9e3715e.tar.bz2
linux-stable-64f09aa967e1a6effdffcbf14c912ec5f9e3715e.zip
MIPS: Loongson-3: Add CPU Hwmon platform driver
This add CPU Hwmon (temperature sensor) platform driver for Loongson-3. Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/9617/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/platform/mips/Kconfig')
-rw-r--r--drivers/platform/mips/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig
new file mode 100644
index 000000000000..b3ae30a4c67b
--- /dev/null
+++ b/drivers/platform/mips/Kconfig
@@ -0,0 +1,26 @@
+#
+# MIPS Platform Specific Drivers
+#
+
+menuconfig MIPS_PLATFORM_DEVICES
+ bool "MIPS Platform Specific Device Drivers"
+ default y
+ help
+ Say Y here to get to see options for device drivers of various
+ MIPS platforms, including vendor-specific netbook/laptop/desktop
+ extension and hardware monitor drivers. This option itself does
+ not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.
+
+if MIPS_PLATFORM_DEVICES
+
+config CPU_HWMON
+ tristate "Loongson CPU HWMon Driver"
+ depends on LOONGSON_MACH3X
+ select HWMON
+ default y
+ help
+ Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
+
+endif # MIPS_PLATFORM_DEVICES