[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<OSQPR06MB72520F546A22DE55532A33E78B732@OSQPR06MB7252.apcprd06.prod.outlook.com>
Date: Tue, 16 Jan 2024 03:09:59 +0000
From: Billy Tsai <billy_tsai@...eedtech.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>, "jdelvare@...e.com"
<jdelvare@...e.com>, "linux@...ck-us.net" <linux@...ck-us.net>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org" <krzysztof.kozlowski+dt@...aro.org>,
"joel@....id.au" <joel@....id.au>, "andrew@...id.au" <andrew@...id.au>,
"corbet@....net" <corbet@....net>, "thierry.reding@...il.com"
<thierry.reding@...il.com>, "u.kleine-koenig@...gutronix.de"
<u.kleine-koenig@...gutronix.de>, "p.zabel@...gutronix.de"
<p.zabel@...gutronix.de>, "naresh.solanki@...ements.com"
<naresh.solanki@...ements.com>, "linux-hwmon@...r.kernel.org"
<linux-hwmon@...r.kernel.org>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-aspeed@...ts.ozlabs.org"
<linux-aspeed@...ts.ozlabs.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "linux-pwm@...r.kernel.org"
<linux-pwm@...r.kernel.org>, BMC-SW <BMC-SW@...eedtech.com>,
"patrick@...cx.xyz" <patrick@...cx.xyz>
Subject: Re: [PATCH v12 1/3] dt-bindings: hwmon: fan: Add fan binding to
schema
> > + 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
Powered by blists - more mailing lists