[PATCH 1/2] dt-bindings: hwmon: pwm-fan: Convert to DT schema
Guenter Roeck
linux at roeck-us.net
Tue Apr 4 07:22:11 PDT 2023
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 at collabora.com>
>> ---
>> .../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
More information about the Linux-rockchip
mailing list