[PATCH v2] arm64: dts: renesas: r8a779g3: Add Argon40 fan HAT DTO to Retronix R-Car V4H Sparrow Hawk

Marek Vasut marek.vasut at mailbox.org
Fri Sep 5 11:35:25 PDT 2025


On 9/5/25 2:30 PM, Wolfram Sang wrote:
> Hi Marek,

Hello Wolfram,

>> + * r8a779g3-sparrow-hawk$ grep -H . /sys/class/hwmon/hwmon?/name
>> + * /sys/class/hwmon/hwmon0/name:sensor1_thermal
>> + * /sys/class/hwmon/hwmon1/name:sensor2_thermal
>> + * /sys/class/hwmon/hwmon2/name:sensor3_thermal
>> + * /sys/class/hwmon/hwmon3/name:sensor4_thermal
>> + * /sys/class/hwmon/hwmon4/name:pwmfan
>> + *                       ^      ^^^^^^
> 
> For me, the output looks different, though:
> 
> /sys/class/hwmon/hwmon0/name:pwmfan
> /sys/class/hwmon/hwmon1/name:sensor1_thermal
> /sys/class/hwmon/hwmon2/name:sensor2_thermal
> /sys/class/hwmon/hwmon3/name:sensor3_thermal
> /sys/class/hwmon/hwmon4/name:sensor4_thermal
> /sys/class/hwmon/hwmon5/name:pwmfan
> 
> hwmon0 is the Argon, hwmon5 the (unpopulated) on board connector.
> 
> I hope the naming is stable, but in any case, the docs need to be
> reworked a little, I guess?

The hwmon devices are allocated first come first served, so the list can 
look different for you. You need to look up the fan you want to control, 
of course. Look up by name is simplest, if there are more fans, it might 
be a bit more involved to find the right one.

-- 
Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list