thermal: enable broadcom menu for arm64 bcm2835
PATCH 1/2 thermal: enable broadcom menu for arm64 bcm2835
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 <[email protected]>
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -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
Signature · 1 line
2.14.1
PATCH 2/2 arm64: defconfig: enable BCM2835_THERMAL
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 <[email protected]>
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -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
Signature · 1 line
2.14.1