public inbox for linux-pwm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: "Uwe Kleine-König" <ukleinek@kernel.org>,
	"Marek Vasut" <marek.vasut+renesas@mailbox.org>
Cc: linux-pwm@vger.kernel.org
Subject: [PATCH] pwm: argon-fan-hat: Add hardware dependency
Date: Mon, 3 Nov 2025 16:47:52 +0100	[thread overview]
Message-ID: <20251103164752.533aee39@endymion> (raw)

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

             reply	other threads:[~2025-11-03 15:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 15:47 Jean Delvare [this message]
2025-11-03 15:55 ` [PATCH] pwm: argon-fan-hat: Add hardware dependency 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251103164752.533aee39@endymion \
    --to=jdelvare@suse.de \
    --cc=linux-pwm@vger.kernel.org \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=ukleinek@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox