Mainline support for RP1_PWM / Pi 5 Cooling Fan

Open
#7,264 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux

Research direction

Start by inspecting the mainline kernel for the missing pwm-rp1.c source and the Raspberry Pi 5 device-tree entries mentioned in the issue. Compare those areas with existing RP1 support, then verify that the cooling fan operates on a 6.18 or later mainline kernel.

Written by the indexing model from the issue text.

Description

Describe the bug

A few weeks ago, it came to my attention (here) that, although there is now mainline support for parts of the RP1 chip; some of the functionality is missing.
Specifically, the support for the PWM functions, which drive the cooling fan.

Steps to reproduce the behaviour

Either inspect the mainline kernel for the missing "pwm-rp1.c" source, and missing entries in the device trees.

Or, try the mainline kernel (6.18 or later), and observe no cooling fan operation.

Device (s)

Raspberry Pi 5

System

OS Version: Debian Forky / Testing / 14
Kernel Version: Linux rpi5-20260109 6.18.3+deb14-arm64 #1 SMP PREEMPT Debian 6.18.3-1 (2026-01-02) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.