From 8b1d74371bcbe36479ff5958be483a0ac1ec16ca Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Sun, 26 May 2024 00:54:24 +0200 Subject: [PATCH] d1: refresh kernel config Refresh kernel config, and enable thermal features. Signed-off-by: Zoltan HERPAI --- target/linux/d1/config-6.6 | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/target/linux/d1/config-6.6 b/target/linux/d1/config-6.6 index ef2112f706..957c3fba4d 100644 --- a/target/linux/d1/config-6.6 +++ b/target/linux/d1/config-6.6 @@ -1,4 +1,5 @@ CONFIG_64BIT=y +# CONFIG_ACPI is not set # CONFIG_AHCI_SUNXI is not set CONFIG_ARCH_CLOCKSOURCE_INIT=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y @@ -13,9 +14,11 @@ CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_STACKWALK=y CONFIG_ARCH_SUNXI=y +# CONFIG_ARCH_THEAD is not set CONFIG_ARCH_WANTS_THP_SWAP=y CONFIG_ASN1=y CONFIG_ASSOCIATIVE_ARRAY=y +# CONFIG_AX45MP_L2_CACHE is not set CONFIG_BLK_DEV_SD=y CONFIG_BLK_MQ_PCI=y CONFIG_CC_HAVE_STACKPROTECTOR_TLS=y @@ -70,6 +73,7 @@ CONFIG_EFI_STUB=y # CONFIG_EFI_TEST is not set # CONFIG_EFI_ZBOOT is not set CONFIG_ELF_CORE=y +# CONFIG_ERRATA_ANDES is not set # CONFIG_ERRATA_SIFIVE is not set CONFIG_ERRATA_THEAD=y CONFIG_ERRATA_THEAD_CMO=y @@ -145,11 +149,13 @@ CONFIG_IOMMU_API=y CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_SUPPORT=y +# CONFIG_IOMMUFD is not set CONFIG_IO_URING=y CONFIG_IRQCHIP=y CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_DOMAIN_HIERARCHY=y CONFIG_IRQ_FORCED_THREADING=y +CONFIG_IRQ_STACKS=y CONFIG_IRQ_WORK=y CONFIG_JBD2=y CONFIG_KALLSYMS=y @@ -288,8 +294,14 @@ CONFIG_RISCV_BOOT_SPINWAIT=y CONFIG_RISCV_DMA_NONCOHERENT=y CONFIG_RISCV_INTC=y CONFIG_RISCV_ISA_C=y +CONFIG_RISCV_ISA_FALLBACK=y +CONFIG_RISCV_ISA_SVNAPOT=y CONFIG_RISCV_ISA_SVPBMT=y +CONFIG_RISCV_ISA_V=y +CONFIG_RISCV_ISA_V_DEFAULT_ENABLE=y +CONFIG_RISCV_ISA_ZBB=y CONFIG_RISCV_ISA_ZICBOM=y +CONFIG_RISCV_ISA_ZICBOZ=y CONFIG_RISCV_SBI=y CONFIG_RISCV_SBI_V01=y CONFIG_RISCV_TIMER=y @@ -315,6 +327,7 @@ CONFIG_SIFIVE_PLIC=y CONFIG_SLUB_DEBUG=y CONFIG_SMP=y # CONFIG_SND_SUN20I_CODEC is not set +# CONFIG_SND_SUN20I_D1_CODEC_ANALOG is not set # CONFIG_SND_SUN4I_I2S is not set # CONFIG_SND_SUN50I_DMIC is not set CONFIG_SOCK_RX_QUEUE_MAPPING=y @@ -337,6 +350,7 @@ CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y CONFIG_SUN20I_D1_CCU=y CONFIG_SUN20I_D1_R_CCU=y +CONFIG_SUN20I_GPADC=y # CONFIG_SUN4I_EMAC is not set CONFIG_SUN4I_TIMER=y CONFIG_SUN50I_IOMMU=y @@ -344,7 +358,7 @@ CONFIG_SUN6I_MSGBOX=y CONFIG_SUN6I_RTC_CCU=y CONFIG_SUN8I_DE2_CCU=y # CONFIG_SUN8I_R_CCU is not set -# CONFIG_SUN8I_THERMAL is not set +CONFIG_SUN8I_THERMAL=y CONFIG_SUNXI_CCU=y # CONFIG_SUNXI_RSB is not set CONFIG_SUNXI_SRAM=y @@ -354,7 +368,14 @@ CONFIG_SWPHY=y CONFIG_SYSCTL_EXCEPTION_TRACE=y # CONFIG_SYSFB_SIMPLEFB is not set CONFIG_SYSFS_SYSCALL=y +CONFIG_THERMAL=y +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y +CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 +CONFIG_THERMAL_GOV_STEP_WISE=y +CONFIG_THERMAL_HWMON=y +CONFIG_THERMAL_OF=y CONFIG_THREAD_INFO_IN_TASK=y +CONFIG_THREAD_SIZE_ORDER=2 CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y