From: Rafał Miłecki Date: Thu, 20 Apr 2017 20:27:19 +0000 (+0200) Subject: bcm53xx: enable Northstar thermal driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=23d7c4d6324e553cd2e05e9b9751af380fd1ae56;p=openwrt%2Fstaging%2Fblocktrron.git bcm53xx: enable Northstar thermal driver It allows monitoring CPU temp and will shutdown system on critical value. Signed-off-by: Rafał Miłecki --- diff --git a/target/linux/bcm53xx/config-4.4 b/target/linux/bcm53xx/config-4.4 index a7675e44ce..21d6e1c309 100644 --- a/target/linux/bcm53xx/config-4.4 +++ b/target/linux/bcm53xx/config-4.4 @@ -71,6 +71,7 @@ CONFIG_BCMA_HOST_PCI_POSSIBLE=y CONFIG_BCMA_HOST_SOC=y CONFIG_BCMA_SFLASH=y CONFIG_BCM_NET_PHYLIB=y +CONFIG_BCM_NS_THERMAL=y CONFIG_BGMAC=y CONFIG_BGMAC_BCMA=y # CONFIG_BGMAC_PLATFORM is not set @@ -312,6 +313,10 @@ CONFIG_SWCONFIG_B53_SRAB_DRIVER=y CONFIG_SWIOTLB=y CONFIG_SWP_EMULATE=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_THERMAL=y +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y +CONFIG_THERMAL_GOV_STEP_WISE=y +CONFIG_THERMAL_OF=y # CONFIG_THUMB2_KERNEL is not set CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TREE_RCU=y diff --git a/target/linux/bcm53xx/config-4.9 b/target/linux/bcm53xx/config-4.9 index 77492c88c6..3f6b7c32db 100644 --- a/target/linux/bcm53xx/config-4.9 +++ b/target/linux/bcm53xx/config-4.9 @@ -64,6 +64,7 @@ CONFIG_BCMA_HOST_PCI_POSSIBLE=y CONFIG_BCMA_HOST_SOC=y CONFIG_BCMA_SFLASH=y CONFIG_BCM_NET_PHYLIB=y +CONFIG_BCM_NS_THERMAL=y CONFIG_BGMAC=y CONFIG_BGMAC_BCMA=y # CONFIG_BGMAC_PLATFORM is not set @@ -313,6 +314,10 @@ CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SWP_EMULATE=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_THERMAL=y +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y +CONFIG_THERMAL_GOV_STEP_WISE=y +CONFIG_THERMAL_OF=y # CONFIG_THUMB2_KERNEL is not set CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TREE_RCU=y