[source] bcm53xx: enable Northstar thermal driver

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 20 13:46:31 PDT 2017


rmilecki pushed a commit to source.git, branch master:
https://git.lede-project.org/23d7c4d6324e553cd2e05e9b9751af380fd1ae56

commit 23d7c4d6324e553cd2e05e9b9751af380fd1ae56
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Thu Apr 20 22:27:19 2017 +0200

    bcm53xx: enable Northstar thermal driver
    
    It allows monitoring CPU temp and will shutdown system on critical
    value.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 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 a7675e4..21d6e1c 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 77492c8..3f6b7c3 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



More information about the lede-commits mailing list