[PATCH 6/6] riscv: defconfig: Enable PWM fan support

Frédéric Mahé frederic.mahe at cirad.fr
Tue Nov 17 12:59:51 PST 2026


Build pwm-fan as a module, used by the Banana Pi BPI-F3 fan.

Written with help from Claude (Anthropic); reviewed and tested on hardware.

Signed-off-by: Frédéric Mahé <frederic.mahe at cirad.fr>
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 04ae305d5..d244e806f 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -178,6 +178,7 @@ CONFIG_GPIO_SPACEMIT_K1=y
 CONFIG_GPIO_PCA953X=m
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
+CONFIG_SENSORS_PWM_FAN=m
 CONFIG_SENSORS_SFCTEMP=m
 CONFIG_CPU_THERMAL=y
 CONFIG_DEVFREQ_THERMAL=y
-- 
2.47.3




More information about the linux-riscv mailing list