From 23d7c4d6324e553cd2e05e9b9751af380fd1ae56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 20 Apr 2017 22:27:19 +0200 Subject: [PATCH] bcm53xx: enable Northstar thermal driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It allows monitoring CPU temp and will shutdown system on critical value. Signed-off-by: Rafał Miłecki --- target/linux/bcm53xx/config-4.4 | 5 +++++ target/linux/bcm53xx/config-4.9 | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.34.1