public inbox for linux-pwm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pwm: argon-fan-hat: Add hardware dependency
@ 2025-11-03 15:47 Jean Delvare
  2025-11-03 15:55 ` Marek Vasut
  0 siblings, 1 reply; 8+ messages in thread
From: Jean Delvare @ 2025-11-03 15:47 UTC (permalink / raw)
  To: Uwe Kleine-König, Marek Vasut; +Cc: linux-pwm

The Argon fan hat is designed to be connected to Raspberry Pi 3+
systems, so only offer this option when building a kernel which
supports this architecture (unless build-testing). Also extend the
description to reflect that.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 drivers/pwm/Kconfig |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- linux-6.17.orig/drivers/pwm/Kconfig
+++ linux-6.17/drivers/pwm/Kconfig
@@ -68,9 +68,11 @@ config PWM_APPLE
 
 config PWM_ARGON_FAN_HAT
 	tristate "Argon40 Fan HAT support"
+	depends on ARCH_BCM2835 || COMPILE_TEST
 	depends on I2C && OF
 	help
-	  Generic PWM framework driver for Argon40 Fan HAT.
+	  Generic PWM framework driver for Argon40 Fan HAT, found in
+	  some Raspberry Pi 3+ cases.
 
 	  To compile this driver as a module, choose M here: the module
 	  will be called pwm-argon-fan-hat.


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-25 21:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 15:47 [PATCH] pwm: argon-fan-hat: Add hardware dependency Jean Delvare
2025-11-03 15:55 ` Marek Vasut
2025-11-03 16:21   ` Jean Delvare
2025-11-03 17:05     ` Marek Vasut
2025-11-03 21:06       ` Jean Delvare
2025-11-03 21:16         ` Marek Vasut
2025-12-24  5:57           ` Uwe Kleine-König
2025-12-25 21:01             ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox