From a35e19dbda8efeed8f76bfacd15e4e7b0e8622d5 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Wed, 20 Nov 2019 12:02:13 +0530 Subject: [PATCH] linux-postmarketos-allwinner: enable thermal driver and wakelocks (!757) They can be used for power management [ci:skip-build]: won't finish in time --- main/linux-postmarketos-allwinner/APKBUILD | 4 ++-- .../config-postmarketos-allwinner.aarch64 | 20 ++++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/main/linux-postmarketos-allwinner/APKBUILD b/main/linux-postmarketos-allwinner/APKBUILD index 26a9215c9..22ccb8a12 100644 --- a/main/linux-postmarketos-allwinner/APKBUILD +++ b/main/linux-postmarketos-allwinner/APKBUILD @@ -4,7 +4,7 @@ _config="config-${_flavor}.${CARCH}" pkgname=linux-${_flavor} pkgver=5.3.0_git20191002 -pkgrel=1 +pkgrel=2 arch="aarch64" pkgdesc="Kernel fork with PinePhone Don't be evil patches" @@ -100,6 +100,6 @@ dev() { sha512sums="1aea52077f352aae4ef5ac83c0656a7eef387347635deaa1760336453ccd21fd51404c778cb8098f59a276ba9c55e5ecee78a3ae93bf2ee105d4ec6939a7aa5f linux-postmarketos-allwinner-f45877952070a0339c38839519558510f00ddb59.tar.gz e4e585ce787301eeee07ff8e45a97343456808a47ed237053f0c83a49b4958a75514def4c5263f4507a282ea90bd2bb3f8f468839f7e5fd05ae947a796c8c6b9 rtl8723cs-1c9c0cb9d335626a66d8063399c6e16751ecc1a8.tar.gz -42642cec92fb890ba681c709455df0af3c2fd07e4717bf0c97405b2302dce920227b4c9e9d6bbd2c2595af7764f906a5e3ebc74a46ebaa11ec62dacd1110ce1a config-postmarketos-allwinner.aarch64 +517783310859a07a19d228b21db64f6ff580a05f3de16d0e30ce16dfaa494728d2bd549fc3fb390ee410ff90f255a907c1dc1821867bef2182b040caf4d59fb6 config-postmarketos-allwinner.aarch64 6c12f3badc7239ab62116daa4a19977632b6c157a4d10cb083776998b4481f61e0186a3623acd3026e9ff2a68842b4cdd434ca825fbb546a723bb1f01e5bd5e4 touch-dts.patch bf06f931fb543f4bf2f0567902c3021de237fc9684f92af2ed3e956f869d907c9cff1cf3e11a72eb97bda47c8f8b28aff226634f641bdffa04b08d434f419faa rtl8723cs.patch" diff --git a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 index e7c0832fc..ef44e3917 100644 --- a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 +++ b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 @@ -1,13 +1,13 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.3.0-rc4 Kernel Configuration +# Linux/arm64 5.3.0 Kernel Configuration # # -# Compiler: gcc (Alpine 8.3.0) 8.3.0 +# Compiler: gcc (Alpine 9.2.0) 9.2.0 # CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=80300 +CONFIG_GCC_VERSION=90200 CONFIG_CLANG_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_HAS_ASM_GOTO=y @@ -434,7 +434,9 @@ CONFIG_PM_STD_PARTITION="" CONFIG_PM_SLEEP=y CONFIG_PM_SLEEP_SMP=y # CONFIG_PM_AUTOSLEEP is not set -# CONFIG_PM_WAKELOCKS is not set +CONFIG_PM_WAKELOCKS=y +CONFIG_PM_WAKELOCKS_LIMIT=100 +CONFIG_PM_WAKELOCKS_GC=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_CLK=y @@ -1355,6 +1357,7 @@ CONFIG_OF_MDIO=y CONFIG_OF_RESERVED_MEM=y CONFIG_OF_RESOLVE=y CONFIG_OF_OVERLAY=y +# CONFIG_OF_CONFIGFS is not set CONFIG_OF_NUMA=y # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y @@ -2637,7 +2640,7 @@ CONFIG_THERMAL_EMULATION=y # CONFIG_THERMAL_MMIO is not set # CONFIG_MAX77620_THERMAL is not set # CONFIG_QORIQ_THERMAL is not set -# CONFIG_SUN8I_THERMAL is not set +CONFIG_SUN8I_THERMAL=y # CONFIG_GENERIC_ADC_THERMAL is not set CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y @@ -4565,13 +4568,6 @@ CONFIG_SOC_BRCMSTB=y # # end of i.MX SoC drivers -# -# IXP4xx SoC drivers -# -# CONFIG_IXP4XX_QMGR is not set -# CONFIG_IXP4XX_NPE is not set -# end of IXP4xx SoC drivers - # # Qualcomm SoC drivers #