public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic@denx.de
To: Fabio Estevam <festevam@gmail.com>,u-boot@lists.denx.de
Subject: [PATCH v2 2/5] thermal: imx_tmu: Fix the polling default
Date: Tue,  5 Sep 2023 09:39:00 +0200 (CEST)	[thread overview]
Message-ID: <20230905073903.101BD86915@phobos.denx.de> (raw)
In-Reply-To: <20230823175911.319414-2-festevam@gmail.com>

> From: Fabio Estevam <festevam@denx.de>
> When the 'polling-delay' property is not passed via devicetree,
> pdata->polling_delay keeps at 0. This causes the imx_tmu driver to get
> stuck inside the busy while() loop when the CPU temperature is above
> the alert point.
> Fix this problem by passing a one second polling interval, which provides
> a proper delay to let the system to cool down and exit the while() loop
> when the temperature is below the alert point.
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

  reply	other threads:[~2023-09-05  7:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-23 17:59 [PATCH v2 1/5] imx8mm_evk_defconfig: Select CONFIG_IMX_TMU Fabio Estevam
2023-08-23 17:59 ` [PATCH v2 2/5] thermal: imx_tmu: Fix the polling default Fabio Estevam
2023-09-05  7:39   ` sbabic [this message]
2023-08-23 17:59 ` [PATCH v2 3/5] thermal: imx_tmu: Increase the log level for high temperatures Fabio Estevam
2023-08-23 17:59   ` Tom Rini
2023-09-05  7:39   ` sbabic
2023-08-23 17:59 ` [PATCH v2 4/5] thermal: imx_tmu: Fix the temperature unit Fabio Estevam
2023-09-05  7:39   ` sbabic
2023-08-23 17:59 ` [PATCH v2 5/5] thermal: imx_tmu: Increase the polling interval Fabio Estevam
2023-09-05  7:39   ` sbabic
2023-09-05  7:39 ` [PATCH v2 1/5] imx8mm_evk_defconfig: Select CONFIG_IMX_TMU sbabic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230905073903.101BD86915@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox