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@xxxxxxxxxxx> > --- > Cc: Conor Dooley <conor+dt@xxxxxxxxxx> > Cc: Guenter Roeck <linux@xxxxxxxxxxxx> > Cc: Jean Delvare <jdelvare@xxxxxxxx> > Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx> > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Cc: linux-hwmon@xxxxxxxxxxxxxxx > Cc: linux-renesas-soc@xxxxxxxxxxxxxxx > --- > 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 >