Re: [PATCH v12 1/3] dt-bindings: hwmon: fan: Add fan binding to schema

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

 



> > +  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





[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