Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Petar Stepanovic" <pstepanovic@axiado.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org,
	linux-hwmon@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller
Date: Thu, 06 Aug 2026 09:13:34 +0000	[thread overview]
Message-ID: <20260806091334.C23541F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260806-axiado-ax3000-pwm-fan-v1-1-f6db4cf2166b@axiado.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The devicetree binding schema misses standard fan cooling properties (`#cooling-cells` and `cooling-levels`), breaking thermal zone integration.
--

--- Patch [1]: [PATCH 1/2] dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller ---
commit 34174063599786fae2685438f00eb273f5ba7c0b
Author: Petar Stepanovic <pstepanovic@axiado.com>

dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller

This commit adds a devicetree binding for the PWM fan controller on Axiado
AX3000 and AX3005 SoCs, which uses a hardware tachometer and external PWM
controller. It also updates the MAINTAINERS file.

> diff --git a/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/axiado,ax3000-pwm-fan.yaml

[ ... ]

> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +  - pwms
> +
> +additionalProperties: false

[Severity: Medium]
Does this strict property check prevent thermal zone integration? 

Setting additionalProperties to false without a reference to fan-common.yaml#
or explicitly allowing #cooling-cells and cooling-levels will cause schema
validation to fail if standard fan cooling properties are added. 

A devicetree node attempting to integrate this fan controller into a thermal
cooling-maps block will fail dtbs_check with a 'node has property not allowed
by schema' error.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260806-axiado-ax3000-pwm-fan-v1-0-f6db4cf2166b@axiado.com?part=1

  reply	other threads:[~2026-08-06  9:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06  9:01 [PATCH 0/2] hwmon: add Axiado AX3000 and AX3005 PWM fan support Petar Stepanovic
2026-08-06  9:01 ` [PATCH 1/2] dt-bindings: hwmon: add Axiado AX3000 and AX3005 PWM fan controller Petar Stepanovic
2026-08-06  9:13   ` sashiko-bot [this message]
2026-08-06 10:41   ` Rob Herring (Arm)
2026-08-06 13:16   ` Rob Herring
2026-08-06  9:01 ` [PATCH 2/2] hwmon: add Axiado AX3000 and AX3005 PWM fan controller driver Petar Stepanovic
2026-08-06  9:20   ` sashiko-bot
2026-08-06 10:04   ` Uwe Kleine-König
2026-08-06 15:34     ` Guenter Roeck

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=20260806091334.C23541F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=pstepanovic@axiado.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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