devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Marek Vasut <marek.vasut+renesas@mailbox.org>
Cc: linux-hwmon@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
	Guenter Roeck <linux@roeck-us.net>,
	Jean Delvare <jdelvare@suse.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: hwmon: pwm-fan: Document after shutdown fan settings
Date: Tue, 8 Jul 2025 10:50:58 -0500	[thread overview]
Message-ID: <20250708155058.GA477029-robh@kernel.org> (raw)
In-Reply-To: <20250629220301.935515-1-marek.vasut+renesas@mailbox.org>

On Mon, Jun 30, 2025 at 12:02:08AM +0200, Marek Vasut wrote:
> Document fan-shutdown-percent property, used to describe fan RPM in percent
> set during shutdown. This is used to keep the fan running at fixed RPM after
> the kernel shut down, which is useful on hardware that does keep heating
> itself even after the kernel did shut down, for example from some sort of
> management core.

This sounds more like "don't ever let the fan go below this RPM" or 
"don't ever turn off the fan". IOW, it is more than just shutdown.

> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Jean Delvare <jdelvare@suse.com>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-hwmon@vger.kernel.org
> Cc: linux-renesas-soc@vger.kernel.org
> ---
>  Documentation/devicetree/bindings/hwmon/pwm-fan.yaml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
> index 8b4ed5ee962f..a84cc3a4cfdc 100644
> --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
> @@ -31,6 +31,15 @@ properties:
>        it must be self resetting edge interrupts.
>      maxItems: 1
>  
> +  fan-shutdown-percent:
> +    description:
> +      Fan RPM in percent set during shutdown. This is used to keep the fan
> +      running at fixed RPM after the kernel shut down, which is useful on
> +      hardware that does keep heating itself even after the kernel did shut
> +      down, for example from some sort of management core.
> +    minimum: 0
> +    maximum: 100
> +
>    fan-stop-to-start-percent:
>      description:
>        Minimum fan RPM in percent to start when stopped.
> -- 
> 2.47.2
> 

  parent reply	other threads:[~2025-07-08 15:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-29 22:02 [PATCH 1/2] dt-bindings: hwmon: pwm-fan: Document after shutdown fan settings Marek Vasut
2025-06-29 22:02 ` [PATCH 2/2] hwmon: (pwm-fan) Implement " Marek Vasut
2025-07-08 15:50 ` Rob Herring [this message]
2025-07-20 20:07   ` [PATCH 1/2] dt-bindings: hwmon: pwm-fan: Document " Marek Vasut
2025-08-31 19:13     ` 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=20250708155058.GA477029-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=marek.vasut+renesas@mailbox.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;
as well as URLs for NNTP newsgroup(s).