Skip to contentSkip to conversation

pwm: argon-fan-hat: Add hardware dependency

PATCH NAK Jean Delvare 3 participants 8 messages Nov 3, 2025 – Dec 25, 2025 PWM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pwm: argon-fan-hat: Add hardware dependency

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.

---
 drivers/pwm/Kconfig |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pwm/Kconfig +3 -1
@@ -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.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 13 lines · Jean Delvare

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.

---
  drivers/pwm/Kconfig |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

drivers/pwm/Kconfig config PWM_APPLE · line 71

Quoted 4 lines
drivers/pwm/Kconfig +1 -0
@@ -68,9 +68,11 @@ config PWM_APPLE
 
  config PWM_ARGON_FAN_HAT
  	tristate "Argon40 Fan HAT support"
+	depends on ARCH_BCM2835 || COMPILE_TEST

NAK, this is wrong.

This fan plugs into any arbitrary board with compatible 2x20 connector, not only RPi. That connector is present on all kinds of fruitboards with different non-BCM2835 SoCs.

#2 lore raw

Hi Marek,

Quoted 21 lines · Marek Vasut
Quoted 16 lines · Jean Delvare

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.

---
  drivers/pwm/Kconfig |    4 +++-

  1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pwm/Kconfig +0 -0
@@ -68,9 +68,11 @@ config PWM_APPLE


  config PWM_ARGON_FAN_HAT
   tristate "Argon40 Fan HAT support"

drivers/pwm/Kconfig config PWM_APPLE · line 71

Quoted 1 line
drivers/pwm/Kconfig +1 -0
+	depends on ARCH_BCM2835 || COMPILE_TEST

NAK, this is wrong.

Quoted 3 lines

This fan plugs into any arbitrary board with compatible 2x20 connector, not only RPi. That connector is present on all kinds of fruitboards with different non-BCM2835 SoCs.

Yet the company who builds and sells this fan device, markets it as compatible with Raspberry Pi 3 and Raspberry Pi 4 only:

https://argon40.com/products/argon-fan-hat

Which other "fruitboards" would be supported, and what SoCs are they using?

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#3 lore raw

On 11/3/25 5:21 PM, Jean Delvare wrote:

Hello Jean,

Quoted 22 lines · Marek Vasut
Quoted 21 lines · Jean Delvare
Quoted 13 lines

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.

---
   drivers/pwm/Kconfig |    4 +++-
   1 file changed, 3 insertions(+), 1 deletion(-)

drivers/pwm/Kconfig config PWM_APPLE · line 71

Quoted 4 lines
drivers/pwm/Kconfig +1 -0
@@ -68,9 +68,11 @@ config PWM_APPLE
 
   config PWM_ARGON_FAN_HAT
   	tristate "Argon40 Fan HAT support"
+	depends on ARCH_BCM2835 || COMPILE_TEST

NAK, this is wrong.

Quoted 8 lines
Quoted 3 lines

This fan plugs into any arbitrary board with compatible 2x20 connector, not only RPi. That connector is present on all kinds of fruitboards with different non-BCM2835 SoCs.

Yet the company who builds and sells this fan device, markets it as compatible with Raspberry Pi 3 and Raspberry Pi 4 only:

https://argon40.com/products/argon-fan-hat

I don't think 5V , GND , and 3V3 I2C signals are in any way special to RPi , so that statement seems to be only marketing .

Quoted 2 lines

Which other "fruitboards" would be supported, and what SoCs are they using?

I know of at least one Retronix R-Car Sparrow Hawk board (currently upstream including DTO for this fan, uses Renesas R-Car V4H SoC), ST STM32MP13xx DHCOM DHSBC board also works with this fan (tested locally).

The 2x20 RPi-like connector is increasingly present on those evaluation boards, with matching pinout, to be compatible with all those expansion modules, like this fan.

Signature · 2 lines
Best regards,
Marek Vasut
#4 lore raw
Quoted 6 lines · Marek Vasut
Quoted 5 lines · Jean Delvare
Quoted 3 lines · Marek Vasut

This fan plugs into any arbitrary board with compatible 2x20 connector, not only RPi. That connector is present on all kinds of fruitboards with different non-BCM2835 SoCs.

Quoted 7 lines
Quoted 4 lines

Yet the company who builds and sells this fan device, markets it as compatible with Raspberry Pi 3 and Raspberry Pi 4 only:

https://argon40.com/products/argon-fan-hat

I don't think 5V , GND , and 3V3 I2C signals are in any way special to RPi , so that statement seems to be only marketing .

Might be because they also sell compatible casings for Raspberry Pi 3+ where this fan fits nicely.

Quoted 10 lines
Quoted 2 lines

Which other "fruitboards" would be supported, and what SoCs are they using?

I know of at least one Retronix R-Car Sparrow Hawk board (currently upstream including DTO for this fan, uses Renesas R-Car V4H SoC), ST STM32MP13xx DHCOM DHSBC board also works with this fan (tested locally).

The 2x20 RPi-like connector is increasingly present on those evaluation boards, with matching pinout, to be compatible with all those expansion modules, like this fan.

Does this connector have a name? If so, it could be included in the description. And even if not, maybe we can extend the description to make it clear that more boards might use this fan hat?

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#5 lore raw
Quoted 10 lines · Jean Delvare
Quoted 9 lines · Marek Vasut
Quoted 8 lines · Jean Delvare
Quoted 3 lines · Marek Vasut

This fan plugs into any arbitrary board with compatible 2x20 connector, not only RPi. That connector is present on all kinds of fruitboards with different non-BCM2835 SoCs.

Yet the company who builds and sells this fan device, markets it as compatible with Raspberry Pi 3 and Raspberry Pi 4 only:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

https://argon40.com/products/argon-fan-hat

I don't think 5V , GND , and 3V3 I2C signals are in any way special to RPi , so that statement seems to be only marketing .

Might be because they also sell compatible casings for Raspberry Pi 3+ where this fan fits nicely.

I _think_ that the Argon fan/case combo has different firmware than the fan, and different I2C commands are used to control the case. It does not seem to be very consistent:

https://github.com/Argon40Tech/Argon-ONE-i2c-Codes/issues/1

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

Which other "fruitboards" would be supported, and what SoCs are they using?

I know of at least one Retronix R-Car Sparrow Hawk board (currently upstream including DTO for this fan, uses Renesas R-Car V4H SoC), ST STM32MP13xx DHCOM DHSBC board also works with this fan (tested locally).

Quoted 7 lines
Quoted 3 lines

The 2x20 RPi-like connector is increasingly present on those evaluation boards, with matching pinout, to be compatible with all those expansion modules, like this fan.

Does this connector have a name? If so, it could be included in the description. And even if not, maybe we can extend the description to make it clear that more boards might use this fan hat?

I don't know, various pages call it differently, Raspberry Pi 2x20 pin header or some such. I don't think it is in any way "industry standard" , but various fruitboard vendors implement it to be compatible with the various "hat"s that are on the market, and in the process avoid calling it Raspberry anything, because that is I think a trademark or some such thing.

#6 lore raw

Hello,

it seems we all agree that this patch isn't suitable to go in as is. So I mark it as "Changes-Requested" in patchwork and discard this thread from my inbox.

Thanks and happy holidays,
Uwe

#7 lore raw
Quoted 1 line · Uwe Kleine-König

Hello,

Hello Uwe,

Quoted 3 lines

it seems we all agree that this patch isn't suitable to go in as is. So I mark it as "Changes-Requested" in patchwork and discard this thread from my inbox.

Indeed, the fan can be used on any arbitrary hardware with the right "rpi" connector.

Please drop this patch.

Quoted 1 line

Thanks and happy holidays,

Likewise. Thanks