Re: [PATCH] hwmon: axiado-pwm-fan: Add missing documentation and MAINTAINERS entries

From: Petar Stepanovic

Date: Thu Sep 24 2026 - 04:20:33 EST



On 9/23/2026 4:46 PM, Guenter Roeck wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>
> On Wed, Sep 23, 2026 at 02:58:41AM -0700, Petar Stepanovic wrote:
>> The axiado-pwm-fan entry was added to the hwmon documentation index, but
>> the corresponding Documentation/hwmon/axiado-pwm-fan.rst file is missing.
>>
>> The MAINTAINERS entry also only lists the devicetree binding and is missing
>> entries for the hwmon documentation and driver.
>>
>> Add the missing documentation file and MAINTAINERS entries.
>>
>> Fixes: 2d52742f408f ("hwmon: add Axiado AX3000 and AX3005 PWM fan controller driver")
>> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>> Closes: https://lore.kernel.org/oe-kbuild-all/202609230904.aIWyLsSt-lkp@xxxxxxxxx/
>> Signed-off-by: Petar Stepanovic <pstepanovic@xxxxxxxxxx>
> Sorry for that. The patch did not apply due to conflicts, and I had to
> apply manually using patch. Doing so I forgot to include the missing
> entries.
>
> I'll fold this patch into the original patch introducing the driver.
>
> Thanks,
> Guenter
Thanks for confirming and fixing it.
>
>> ---
>> This patch adds the missing Axiado PWM fan documentation file and updates
>> the MAINTAINERS entry to include the documentation and driver source
>> files.
>> ---
>> Documentation/hwmon/axiado-pwm-fan.rst | 38 ++++++++++++++++++++++++++++++++++
>> MAINTAINERS | 2 ++
>> 2 files changed, 40 insertions(+)
>>
>>
>> ---
>> base-commit: bf92ea2a46120fd0809f24d39ad3482d0f20876b
>> change-id: 20260923-axiado-pwm-fan-doc-fix-new-d0e42bbb0cbc
>>
>> Best regards,
>> --
>> Petar Stepanovic <pstepanovic@xxxxxxxxxx>
>>
>> diff --git a/Documentation/hwmon/axiado-pwm-fan.rst b/Documentation/hwmon/axiado-pwm-fan.rst
>> new file mode 100644
>> index 000000000000..d110e170b0df
>> --- /dev/null
>> +++ b/Documentation/hwmon/axiado-pwm-fan.rst
>> @@ -0,0 +1,38 @@
>> +.. SPDX-License-Identifier: GPL-2.0
>> +
>> +Kernel driver axiado-pwm-fan
>> +============================
>> +
>> +Supported chips:
>> +
>> + * Axiado AX3000
>> + * Axiado AX3005
>> +
>> + Datasheet: Not publicly available
>> +
>> +Author:
>> +
>> + * Petar Stepanovic <pstepanovic@xxxxxxxxxx>
>> +
>> +Description
>> +-----------
>> +
>> +The Axiado AX3000 and AX3005 PWM fan controllers measure the rotational
>> +speed of one fan using a hardware tachometer block. Fan speed is controlled
>> +through a PWM signal supplied by an external PWM controller.
>> +
>> +The number of tachometer pulses generated per fan revolution is configured
>> +through the ``pulses-per-revolution`` devicetree property. If the property
>> +is not specified, the driver uses two pulses per revolution.
>> +
>> +Sysfs attributes
>> +----------------
>> +
>> +The driver provides the following standard hwmon attributes:
>> +
>> +=============== ====== =====================================================
>> +fan1_input RO Fan speed in revolutions per minute (RPM).
>> +
>> +pwm1 RW Relative PWM control value from 0 to 255. A value of
>> + 255 selects the maximum PWM duty cycle.
>> +=============== ====== =====================================================
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index eb3cc6c81bcf..5ad12c57ca5f 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -4504,6 +4504,8 @@ M: Prasad Bolisetty <pbolisetty@xxxxxxxxxx>
>> L: linux-hwmon@xxxxxxxxxxxxxxx
>> S: Supported
>> F: Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml
>> +F: Documentation/hwmon/axiado-pwm-fan.rst
>> +F: drivers/hwmon/axiado-pwm-fan.c
>>
>> AXIADO SPI DB DRIVER
>> M: Vladimir Moravcevic <vmoravcevic@xxxxxxxxxx>