Re: [PATCH 1/2] dt-bindings: hwmon: pwm-fan: Convert to DT schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/4/23 07:17, Rob Herring wrote:
On Mon, Apr 03, 2023 at 01:50:51PM +0300, Cristian Ciocaltea wrote:
Convert the PWM fan bindings to DT schema format.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
---
  .../devicetree/bindings/hwmon/pwm-fan.txt     |  68 +----------
  .../devicetree/bindings/hwmon/pwm-fan.yaml    | 109 ++++++++++++++++++
  2 files changed, 110 insertions(+), 67 deletions(-)
  create mode 100644 Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
...
+
+  pulses-per-revolution:
+    description:
+      Define the number of pulses per fan revolution for each tachometer
+      input as an integer (default is 2 interrupts per revolution).

default: 2

+      The value must be greater than zero.

minimum: 1

maximum: ??? I assume there's some practical limit here much less than
2^32.


Should be 1 to 4.

Guenter




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux