All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] thermal: enable broadcom menu for arm64 bcm2835
@ 2017-08-31  3:43 Allen Wild
  2017-08-31  3:43 ` [PATCH 2/2] arm64: defconfig: enable BCM2835_THERMAL Allen Wild
  0 siblings, 1 reply; 2+ messages in thread
From: Allen Wild @ 2017-08-31  3:43 UTC (permalink / raw)
  To: linux-pm; +Cc: Allen Wild

The bcm2835 thermal driver works for arm64 (Raspberry Pi 3), but the
Broadcom thermal Kconfig menu depends on the 32-bit ARCH_BCM config so the
driver can't be enabled.

Fix this by enabling the Broadcom thermal menu for ARCH_BCM2835 or ARCH_BCM

Signed-off-by: Allen Wild <allenwild93@gmail.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b5b5facb8747..962620925878 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -408,7 +408,7 @@ config MTK_THERMAL
 	  controller present in Mediatek SoCs
 
 menu "Broadcom thermal drivers"
-depends on ARCH_BCM || COMPILE_TEST
+depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
 source "drivers/thermal/broadcom/Kconfig"
 endmenu
 
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] arm64: defconfig: enable BCM2835_THERMAL
  2017-08-31  3:43 [PATCH 1/2] thermal: enable broadcom menu for arm64 bcm2835 Allen Wild
@ 2017-08-31  3:43 ` Allen Wild
  0 siblings, 0 replies; 2+ messages in thread
From: Allen Wild @ 2017-08-31  3:43 UTC (permalink / raw)
  To: linux-pm; +Cc: Allen Wild

After fixing the thermal Kconfig to allow enabling the bcm2835 thermal
driver for arm64, turn it back on in the defconfig.

Signed-off-by: Allen Wild <allenwild93@gmail.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index b4ca115b3be1..d3d3f427755d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -304,6 +304,7 @@ CONFIG_SENSORS_INA2XX=m
 CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
 CONFIG_CPU_THERMAL=y
 CONFIG_THERMAL_EMULATION=y
+CONFIG_BCM2835_THERMAL=y
 CONFIG_EXYNOS_THERMAL=y
 CONFIG_ROCKCHIP_THERMAL=m
 CONFIG_WATCHDOG=y
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-31  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31  3:43 [PATCH 1/2] thermal: enable broadcom menu for arm64 bcm2835 Allen Wild
2017-08-31  3:43 ` [PATCH 2/2] arm64: defconfig: enable BCM2835_THERMAL Allen Wild

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.