feat: enable PWM_RP1 drivers for Raspberry Pi 5 fan control#1500
Closed
blacksd wants to merge 1 commit intosiderolabs:mainfrom
Closed
feat: enable PWM_RP1 drivers for Raspberry Pi 5 fan control#1500blacksd wants to merge 1 commit intosiderolabs:mainfrom
blacksd wants to merge 1 commit intosiderolabs:mainfrom
Conversation
Enable CONFIG_PWM_RP1 and CONFIG_PWM_PIO_RP1 in the arm64 kernel config. These in-tree drivers are required for the Raspberry Pi 5 dedicated 4-pin PWM fan header to function. Without them, the cooling_fan device tree node cannot acquire a PWM channel and the fan probe is permanently deferred: platform cooling_fan: deferred probe pending: pwm-fan: Could not get PWM Fixes: siderolabs#1499 Signed-off-by: Marco Bulgarini <marco.bulgarini@gmail.com>
d6c23de to
3af7ee3
Compare
Member
|
These config options don't seem to exist in the upstream Linux kernel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CONFIG_PWM_RP1andCONFIG_PWM_PIO_RP1in the arm64 kernel configContext
With the
rpi_5overlay now available in the Image Factory (sbc-raspberrypi v0.2.0), Pi 5 boards can boot Talos natively. However, the dedicated fan header does not work because the RP1 PWM drivers are not enabled in the kernel config.The kernel logs show:
The
cooling_fandevice is defined in the Pi 5 device tree and requires the RP1 PWM driver to acquire a PWM channel. Without it, the fan never spins, leading to thermal throttling under load.PR #1375 previously enabled
CONFIG_SENSORS_GPIO_FANandCONFIG_PWM_GPIOfor GPIO-connected fans (RPi 4), but did not cover the Pi 5's native fan header.Fixes #1499