[PATCH v12 2/2] pwm: rp1: Add RP1 PWM controller driver

Gary Guo gary at garyguo.net
Tue Sep 29 11:56:03 PDT 2026


On Tue Sep 29, 2026 at 2:02 PM BST, Andrea della Porta wrote:
> From: Naushir Patuck <naush at raspberrypi.com>
>
> The Raspberry Pi RP1 southbridge features an embedded PWM
> controller with 4 output channels, alongside an RPM interface
> to read the fan speed on the Raspberry Pi 5.
>
> Add the supporting driver.
>
> Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
> Co-developed-by: Stanimir Varbanov <svarbanov at suse.de>
> Signed-off-by: Stanimir Varbanov <svarbanov at suse.de>
> Co-developed-by: Andrea della Porta <andrea.porta at suse.com>
> Signed-off-by: Andrea della Porta <andrea.porta at suse.com>

At a quick glance the code looks alright to me.

Tested-by: Gary Guo <gary at garyguo.net>

> ---
>  drivers/pwm/Kconfig   |   7 +
>  drivers/pwm/Makefile  |   1 +
>  drivers/pwm/pwm-rp1.c | 428 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 436 insertions(+)
>  create mode 100644 drivers/pwm/pwm-rp1.c
>




More information about the linux-arm-kernel mailing list