Hi Marek,

On 9/6/25 2:05 AM, Marek Vasut wrote:
Linux kernel .get_temp() callback reports values in millicelsius,
U-Boot currently reports them in celsius. Align the two and report
in millicelsius. Update drivers accordingly. Update callsites that
use thermal_get_temp() as well.

The 'temperature' command now reports temperature in millicelsius
as well, with additional accuracy. This changes command line ABI
slightly.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Alice Guo <[email protected]>
Cc: Andrew Goodbody <[email protected]>
Cc: David Zang <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Mathieu Othacehe <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ye Li <[email protected]>
Cc: [email protected]
---
  arch/arm/mach-imx/cpu.c             | 1 +
  arch/arm/mach-imx/imx8ulp/soc.c     | 2 +-
  cmd/temperature.c                   | 2 +-
  drivers/cpu/imx8_cpu.c              | 2 +-
  drivers/mmc/omap_hsmmc.c            | 1 +
  drivers/thermal/imx_scu_thermal.c   | 2 +-
  drivers/thermal/imx_thermal.c       | 2 +-
  drivers/thermal/imx_tmu.c           | 2 +-
  drivers/thermal/rcar_gen3_thermal.c | 6 +++---

I don't see this file in master or next branches, did I miss something?

Otherwise looks ok to me, so:

Reviewed-by: Quentin Schulz <[email protected]>

I'm wondering if we shouldn't keep the output of the cmd in °C instead of °mC?

Cheers,
Quentin

Reply via email to