Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: hwmon: pwm-fan: Document default-pwm property
@ 2024-04-24 20:24 Peter Korsgaard
  2024-04-24 20:24 ` [PATCH v2 2/2] hwmon: (pwm-fan): support default-pwm property to set default PWM value Peter Korsgaard
  2024-04-25 16:18 ` [PATCH v2 1/2] dt-bindings: hwmon: pwm-fan: Document default-pwm property Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Korsgaard @ 2024-04-24 20:24 UTC (permalink / raw)
  To: linux-hwmon, devicetree, Guenter Roeck
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Peter Korsgaard

Similar to target-rpm from fan-common.yaml but for the default PWM setting
(0..255).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
Changes since v1:
- Rename to default-pwm

 Documentation/devicetree/bindings/hwmon/pwm-fan.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
index 4e5abf7580cc..70f062b30985 100644
--- a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
@@ -46,6 +46,14 @@ properties:
 
   "#cooling-cells": true
 
+  default-pwm:
+    description:
+      The default fan PWM to use.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 255
+    default: 255
+
 required:
   - compatible
   - pwms
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-25 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 20:24 [PATCH v2 1/2] dt-bindings: hwmon: pwm-fan: Document default-pwm property Peter Korsgaard
2024-04-24 20:24 ` [PATCH v2 2/2] hwmon: (pwm-fan): support default-pwm property to set default PWM value Peter Korsgaard
2024-04-25 16:18 ` [PATCH v2 1/2] dt-bindings: hwmon: pwm-fan: Document default-pwm property Rob Herring
2024-04-25 20:21   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox