[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220209063735.552mz6q5cqymv5gx@vireshk-i7>
Date: Wed, 9 Feb 2022 12:07:35 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Francesco Dolcini <francesco.dolcini@...adex.com>
Cc: Rob Herring <robh+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
Denys Drozdov <denys.drozdov@...adex.com>,
Stefan Agner <stefan@...er.ch>
Subject: Re: [PATCH v2 0/2] Enable i.MX7 SOLO temperature sensor
On 24-01-22, 09:28, Francesco Dolcini wrote:
> To be able to read the T junction on i.MX CPU the imx-cpufreq-dt needs to be
> loaded, however this is currently not the case for i.MX7S given that it does
> have only one operating frequency.
>
> Add "fsl,imx7s" to cpufreq-dt-platdev blocklist and a single frequency
> operating point to the CPU.
>
> With that it is now possible to correctly read the CPU T junction.
>
> Tested on Toradex Colibri iMX7S
>
> [ 6.232577] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 0 mkt segment 1 supported-hw 0x1 0x2
> ...
> [ 6.880624] imx_thermal 30360000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
>
> root@...ibri-imx7-02983025:~# cat /sys/class/thermal/thermal_zone0/temp
> 38000
>
> v2:
> - removed empty new line
> - rebased and tested on v5.17-rc1
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists