[PATCH] pwm: Strengthen dependency for PWM_SIFIVE

Uwe Kleine-König u.kleine-koenig at baylibre.com
Sat Feb 15 06:48:43 PST 2025


Hello,

On Mon, Jan 27, 2025 at 11:50:01AM +0100, Uwe Kleine-König wrote:
> Back when the sifive pwm driver was added there was no symbol for sifive
> SoCs yet. Today there is ARCH_SIFIVE however. Let PWM_SIFIVE depend on
> that to ensure the driver is only build for platforms where there is a
> chance that the hardware is available.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> ---
> a quick grep suggests that the driver is only used on machines that include
> arch/riscv/boot/dts/sifive/fu540-c000.dtsi or
> arch/riscv/boot/dts/sifive/fu740-c000.dtsi and for these ARCH_SIFIVE is
> enabled. So I'd guess this patch is fine. Still an ack from someone who
> knows this arch better would be very welcome.

Applied now without further feedback to
	https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next

.

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20250215/33c64130/attachment.sig>


More information about the linux-riscv mailing list