[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220913115712.GA3386400-robh@kernel.org>
Date: Tue, 13 Sep 2022 06:57:12 -0500
From: Rob Herring <robh@...nel.org>
To: Eliav Farber <farbere@...zon.com>
Cc: robh+dt@...nel.org, rtanwar@...linear.com, p.zabel@...gutronix.de,
hhhawa@...zon.com, linux@...ck-us.net, jdelvare@...e.com,
linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
jonnyc@...zon.com, linux-kernel@...r.kernel.org,
andriy.shevchenko@...el.com
Subject: Re: [PATCH v5 16/21] dt-bindings: hwmon: (mr75203) add
"moortec,ts-series" property
On Thu, 08 Sep 2022 15:24:44 +0000, Eliav Farber wrote:
> Add optional "moortec,ts-series" property to define the temperature
> equation and coefficients that shall be used to convert the digital
> output to value in milli-Celsius.
> Supported series: 5 (default) and 6.
>
> Series 5:
> T = G + H * (n / cal5 - 0.5) + J * F
> Where: G = 60, H = 200, cal5 = 4094, J = -0.1, F = frequency clock in MHz
>
> Series 6:
> T = G + H * (n / cal5 - 0.5)
> Where: G = 57.4, H = 249.4, cal5 = 4096
>
> Signed-off-by: Eliav Farber <farbere@...zon.com>
> ---
> V4 -> V3:
> - Remove constraints in free-form text descriptions.
>
> V3 -> V2:
> - New patch to introduce "moortec,ts-series" property.
>
> .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists