[PATCH v12 1/3] dt-bindings: hwmon: fan: Add fan binding to schema
Billy Tsai
billy_tsai at aspeedtech.com
Tue Jan 16 14:09:59 AEDT 2024
> > + pwms:
> > + description:
> > + PWM provider.
> > + maxItems: 1
> > +
> > + "#cooling-cells":
> > + const: 2
> > +
> > + cooling-levels:
> > + description:
> > + The control value which correspond to thermal cooling states.
> > + $ref: /schemas/types.yaml#/definitions/uint32-array
> > +
> > + tach-ch:
> > + description:
> > + The tach channel used for the fan.
> > + $ref: /schemas/types.yaml#/definitions/uint8-array
> What is the tach-channel and why is it different from pwm specifier?
Hi Krzysztof,
Using the Aspeed SoC as an example, our SoC features 16 PWMs and 16 tachometer channels that can be employed to control and monitor fans.
The "tach-ch" parameter is utilized to specify which tachometer channel is being used to monitor a specific fan.
The "pwms" parameter is utilized to specify which pwm channel is being used to control a specific fan.
Thanks
Best regards,
Billy Tsai
More information about the Linux-aspeed
mailing list