summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-03-31 22:03:06 +0200
committerEduardo Valentin <edubezval@gmail.com>2017-04-01 18:30:28 +0200
commitbcb7dd9ef206f7d646ed8dac6fe7772083714253 (patch)
tree493f0a1c022c8e7d97b798713fbbc9ba291e8684 /drivers/thermal/Kconfig
parentdt-bindings: Add thermal zone to bcm2835-thermal example (diff)
downloadlinux-bcb7dd9ef206f7d646ed8dac6fe7772083714253.tar.xz
linux-bcb7dd9ef206f7d646ed8dac6fe7772083714253.zip
thermal: bcm2835: add thermal driver for bcm2835 SoC
Add basic thermal driver for bcm2835 SoC. This driver currently make sure that tsense HW block is set up correctly. Tested-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 776b34396144..3bd24063375e 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -453,4 +453,12 @@ config ZX2967_THERMAL
the primitive temperature sensor embedded in zx2967 SoCs.
This sensor generates the real time die temperature.
+config BCM2835_THERMAL
+ tristate "Thermal sensors on bcm2835 SoC"
+ depends on ARCH_BCM2835 || COMPILE_TEST
+ depends on HAS_IOMEM
+ depends on THERMAL_OF
+ help
+ Support for thermal sensors on Broadcom bcm2835 SoCs.
+
endif