Re: [PATCH] pwm: th1520: Fix missing Kconfig dependencies
From: Uwe Kleine-König
Date: Wed Dec 10 2025 - 02:23:56 EST
Hello,
On Tue, Dec 09, 2025 at 09:06:03PM +0100, Michal Wilczynski wrote:
> The driver fails to build on configurations lacking COMMON_CLK (missing
> clk::Clk) or HAS_IOMEM (incomplete `pwm_chip` struct on UML).
>
> Add dependencies on ARCH_THEAD and HAS_IOMEM, and add COMMON_CLK to
> ensure correct compilation and platform targeting.
>
> Reported-by: Markus Probst <markus.probst@xxxxxxxxx>
> Closes: https://lore.kernel.org/all/a66b337528d700ae92d7940a04c59206e06a8495.camel@xxxxxxxxx/
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202512020957.PqnHfe7C-lkp@xxxxxxxxx/
> Fixes: e03724aac758 ("pwm: Add Rust driver for T-HEAD TH1520 SoC")
> Signed-off-by: Michal Wilczynski <m.wilczynski@xxxxxxxxxxx>
Thanks for the patch. I applied it to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/fixes
and will send it to Linus in a few days. While this fixes a build time
issue it seems to be exotically enough to give us a few days in next.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature