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